stable-rc/linux-6.1.y: (build)variable ‘cbnl’ has initializer but incomplete type in fs/nfs/nfs4p...
KernelCI bot
CICc from: regression/stable-rc.yaml
New build issue found on stable-rc/linux-6.1.y:
---
variable ‘cbnl’ has initializer but incomplete type in fs/nfs/nfs4proc.o (fs/nfs/nfs4proc.c) [logspec:kbuild,kbuild.compiler.error]
---
Log excerpt:
=====================================================fs/nfs/nfs4proc.c:7113:24: error: variable ‘cbnl’ has initializer but incomplete type
7113 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~~~~~~~~~~fs/nfs/nfs4proc.c:7113:54: error: ‘struct cb_notify_lock_args’ has no member named ‘cbnl_valid’
7113 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~fs/nfs/nfs4proc.c:7113:67: error: excess elements in struct initializer [-Werror]
7113 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~fs/nfs/nfs4proc.c:7113:67: note: (near initialization for ‘cbnl’)fs/nfs/nfs4proc.c:7113:44: error: storage size of ‘cbnl’ isn’t known
7113 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~
AR drivers/dma/hsu/built-in.afs/nfs/nfs4proc.c:7117:33: error: ‘struct nfs_client’ has no member named ‘cl_lock_waitq’; did you mean ‘cl_rpcwaitq’?
7117 | __wake_up(&clp->cl_lock_waitq, TASK_NORMAL, 0, &cbnl);
| ^~~~~~~~~~~~~
| cl_rpcwaitq
fs/nfs/nfs4proc.c:7113:44: error: unused variable ‘cbnl’ [-Werror=unused-variable]
7113 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~
AR drivers/dma/idxd/built-in.a
CC drivers/dma/dw/dw.o
AR drivers/dma/mediatek/built-in.a
AR drivers/dma/qcom/built-in.a
CC drivers/dma/dw/idma32.o
CC arch/x86/pci/early.occ1: all warnings being treated as errors
=====================================================
When fixing this issue, please attribute this report according to the patch submission rules:
For complete logs and details about the environment used, see the issue on the KernelCI dashboard:
- dashboard: https://d.kernelci.org/i/maestro:50dce87c26fc4ce16821e62f44c7b91c8ea2bba4
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD: 1c9c007d0246db7a5d04105e86069fe5ba06e01a
# Builds where the incident occurred:
## i386_defconfig on (i386):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-i386-6b06f032286e1965ecb36495/.config
- dashboard: https://d.kernelci.org/build/maestro:6b06f032286e1965ecb36495
## i386_defconfig+kselftest on (i386):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-i386-kselftest-6b06f043286e1965ecb36549/.config
- dashboard: https://d.kernelci.org/build/maestro:6b06f043286e1965ecb36549
## x86_64_defconfig+lab-setup+x86-board+kselftest on (x86_64):
- compiler: gcc-14
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06f05d286e1965ecb36602
#kernelci issue maestro:50dce87c26fc4ce16821e62f44c7b91c8ea2bba4
--
This is an experimental report format. Please send feedback in! Talk to us at [email protected]
Made with love by the KernelCI team - https://kernelci.org