Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850763 - sys-kernel/gentoo-sources-5.17.14 fs/cifs/connect.c:3422:14: error: unused variable ‘nodfs’ [-Werror=unused-variable]
Summary: sys-kernel/gentoo-sources-5.17.14 fs/cifs/connect.c:3422:14: error: unused va...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard: 5.17.15,5.18.4
Keywords: InVCS
: 851117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-09 15:52 UTC by xdev52
Modified: 2022-06-14 18:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xdev52 2022-06-09 15:52:30 UTC
/usr/src/linux # make
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz
  CC [M]  fs/cifs/connect.o
fs/cifs/connect.c: In function ‘is_path_remote’:
fs/cifs/connect.c:3422:14: error: unused variable ‘nodfs’ [-Werror=unused-variable]
 3422 |         bool nodfs = cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS;
      |              ^~~~~
cc1: all warnings being treated as errors


For sys-kernel/gentoo-sources-5.17.14
with
sys-kernel/linux-headers-5.17-r1
sys-kernel/linux-headers-5.18-r1
Comment 1 xdev52 2022-06-09 15:56:00 UTC
sys-devel/gcc:             11.3.0::gentoo
Comment 2 Mike Pagano gentoo-dev 2022-06-09 16:40:02 UTC
Hello.

Can you attach your .config and output of emerge --info, please
Comment 3 Mike Pagano gentoo-dev 2022-06-09 16:59:52 UTC
Nevermind, I can backport the fix for 5.17.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-11 02:38:38 UTC
*** Bug 851117 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2022-06-14 18:00:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c26982e741bae74051e7b5532efd1ae5e816075

commit 8c26982e741bae74051e7b5532efd1ae5e816075
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-06-14 17:58:38 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-06-14 18:00:08 +0000

    sys-kernel/gentoo-sources: add 5.17.15 and genpatches
    
    Closes: https://bugs.gentoo.org/850763
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-5.17.15.ebuild   | 28 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d183cb6cf315af10a85fee6e9bff0db943880fd3

commit d183cb6cf315af10a85fee6e9bff0db943880fd3
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-06-14 17:59:52 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-06-14 18:00:08 +0000

    sys-kernel/gentoo-sources: add 5.18.4 and genpatches
    
    Bug: https://bugs.gentoo.org/850763
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-5.18.4.ebuild    | 28 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)