forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Wunused-but-set-variable in fs/btrfs/delayed-inode.c #1391
Labels
-Wunused-but-set-variable
[BUG] linux
A bug that should be fixed in the mainline kernel.
[FIXED][LINUX] 5.14
This bug was fixed in Linux 5.14
Comments
fengguang
pushed a commit
to 0day-ci/linux
that referenced
this issue
Jun 3, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 4, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
accepted: kdave@3f3a096 |
nathanchance
added a commit
to nathanchance/WSL2-Linux-Kernel
that referenced
this issue
Jun 5, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux/linux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
nathanchance
added a commit
to nathanchance/WSL2-Linux-Kernel
that referenced
this issue
Jun 5, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux/linux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 7, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 7, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 7, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
nathanchance
added a commit
to nathanchance/WSL2-Linux-Kernel
that referenced
this issue
Jun 8, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux/linux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 9, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
nathanchance
added a commit
to nathanchance/WSL2-Linux-Kernel
that referenced
this issue
Jun 9, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux/linux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 11, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
nathanchance
added a commit
to nathanchance/WSL2-Linux-Kernel
that referenced
this issue
Jun 11, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux/linux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
nathanchance
added a commit
to nathanchance/WSL2-Linux-Kernel
that referenced
this issue
Jun 11, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Fixes: fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert") Link: ClangBuiltLinux/linux#1391 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 14, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 16, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 17, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 17, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
kdave
pushed a commit
to kdave/btrfs-devel
that referenced
this issue
Jun 21, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
intersectRaven
pushed a commit
to intersectRaven/linux
that referenced
this issue
Jun 29, 2021
clang warns: fs/btrfs/delayed-inode.c:684:6: warning: variable 'total_data_size' set but not used [-Wunused-but-set-variable] int total_data_size = 0, total_size = 0; ^ 1 warning generated. This variable's value has been unused since commit fc0d82e ("btrfs: sink total_data parameter in setup_items_for_insert"). Eliminate it. Link: ClangBuiltLinux#1391 Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
-Wunused-but-set-variable
[BUG] linux
A bug that should be fixed in the mainline kernel.
[FIXED][LINUX] 5.14
This bug was fixed in Linux 5.14
Patch submitted: https://lore.kernel.org/r/20210603174311.1008645-1-nathan@kernel.org/
The text was updated successfully, but these errors were encountered: