stable-rc/linux-5.10.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-5.10.y:
---
variable ‘cbnl’ has initializer but incomplete type in fs/nfs/nfs4proc.o (fs/nfs/nfs4proc.c) [logspec:kbuild,kbuild.compiler.error]
---
Log excerpt:
=====================================================/tmp/kci/linux/fs/nfs/nfs4proc.c:6941:24: error: variable ‘cbnl’ has initializer but incomplete type
6941 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~~~~~~~~~~/tmp/kci/linux/fs/nfs/nfs4proc.c:6941:54: error: ‘struct cb_notify_lock_args’ has no member named ‘cbnl_valid’
6941 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~/tmp/kci/linux/fs/nfs/nfs4proc.c:6941:67: warning: excess elements in struct initializer
6941 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~/tmp/kci/linux/fs/nfs/nfs4proc.c:6941:67: note: (near initialization for ‘cbnl’) /tmp/kci/linux/fs/nfs/nfs4proc.c:6941:44: error: storage size of ‘cbnl’ isn’t known
6941 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~/tmp/kci/linux/fs/nfs/nfs4proc.c:6945:33: error: ‘struct nfs_client’ has no member named ‘cl_lock_waitq’; did you mean ‘cl_rpcwaitq’?
6945 | __wake_up(&clp->cl_lock_waitq, TASK_NORMAL, 0, &cbnl);
| ^~~~~~~~~~~~~
| cl_rpcwaitq/tmp/kci/linux/fs/nfs/nfs4proc.c:6941:44: warning: unused variable ‘cbnl’ [-Wunused-variable]
6941 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~
=====================================================
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:e9fa331f149da8c86ff89158e4022079093db90e
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD: 8e2fb60ab96e45de1da9779df42907b2dd01b85f
# Builds where the incident occurred:
## i386_defconfig+kselftest on (i386):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-i386-kselftest-6b06eecb286e1965ecb35a0f/.config
- dashboard: https://d.kernelci.org/build/maestro:6b06eecb286e1965ecb35a0f
## x86_64_defconfig+kselftest+x86-board on (x86_64):
- compiler: gcc-14
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06eef1286e1965ecb35aee
## x86_64_defconfig+lab-setup+x86-board+kselftest on (x86_64):
- compiler: gcc-15
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06eee9286e1965ecb35ada
#kernelci issue maestro:e9fa331f149da8c86ff89158e4022079093db90e
--
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