stable-rc/linux-6.18.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.18.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:7331:24: error: variable ‘cbnl’ has initializer but incomplete type
7331 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~~~~~~~~~~fs/nfs/nfs4proc.c:7331:54: error: ‘struct cb_notify_lock_args’ has no member named ‘cbnl_valid’
7331 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~fs/nfs/nfs4proc.c:7331:67: error: excess elements in struct initializer [-Werror]
7331 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~fs/nfs/nfs4proc.c:7331:67: note: (near initialization for ‘cbnl’)fs/nfs/nfs4proc.c:7331:44: error: storage size of ‘cbnl’ isn’t known
7331 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~fs/nfs/nfs4proc.c:7335:33: error: ‘struct nfs_client’ has no member named ‘cl_lock_waitq’; did you mean ‘cl_rpcwaitq’?
7335 | __wake_up(&clp->cl_lock_waitq, TASK_NORMAL, 0, &cbnl);
| ^~~~~~~~~~~~~
| cl_rpcwaitqfs/nfs/nfs4proc.c:7331:44: error: unused variable ‘cbnl’ [-Werror=unused-variable]
7331 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~
cc1: 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:4ea9099c04756562789a42faa282e9f79086510c
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD: 2a9f2c755feca19315a7f06d3ca477059f4c16af
# Builds where the incident occurred:
## i386_defconfig on (i386):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-i386-6b06f2a7286e1965ecb3a0a5/.config
- dashboard: https://d.kernelci.org/build/maestro:6b06f2a7286e1965ecb3a0a5
## x86_64_defconfig+aws-ec2+aws-ec2-arch-x86_64 on (x86_64):
- compiler: gcc-14
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06f2e3286e1965ecb3a4c2
#kernelci issue maestro:4ea9099c04756562789a42faa282e9f79086510c
--
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