Skip to contentSkip to conversation

stable-rc/linux-6.6.y: (build)variable ‘cbnl’ has initializer but incomplete type in fs/nfs/nfs4p...

REGRESSION KernelCI bot 1 participant 1 message Nov 25 Stable branch

lore
Share & tools
lore

KernelCI bot

author CI
#0 lore raw

Cc from: regression/stable-rc.yaml

New build issue found on stable-rc/linux-6.6.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:7108:24: error: variable ‘cbnl’ has initializer but incomplete type

 7108 |                 struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
      |                        ^~~~~~~~~~~~~~~~~~~

/tmp/kci/linux/fs/nfs/nfs4proc.c:7108:54: error: ‘struct cb_notify_lock_args’ has no member named ‘cbnl_valid’
7108 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~~~~~~
/tmp/kci/linux/fs/nfs/nfs4proc.c:7108:67: error: excess elements in struct initializer [-Werror]
7108 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~~
/tmp/kci/linux/fs/nfs/nfs4proc.c:7108:67: note: (near initialization for ‘cbnl’) /tmp/kci/linux/fs/nfs/nfs4proc.c:7108:44: error: storage size of ‘cbnl’ isn’t known
7108 | struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
| ^~~~
/tmp/kci/linux/fs/nfs/nfs4proc.c:7112:33: error: ‘struct nfs_client’ has no member named ‘cl_lock_waitq’; did you mean ‘cl_rpcwaitq’?

 7112 |                 __wake_up(&clp->cl_lock_waitq, TASK_NORMAL, 0, &cbnl);
      |                                 ^~~~~~~~~~~~~
      |                                 cl_rpcwaitq

/tmp/kci/linux/fs/nfs/nfs4proc.c:7108:44: error: unused variable ‘cbnl’ [-Werror=unused-variable]
7108 | 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:20281a672da98ffc027fd493c9b3c4151dc58b0f
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD: 85b40f175cb821478d26f4304e9ae2f574441f49

# Builds where the incident occurred:

## i386_defconfig on (i386):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-i386-6b06f0f6286e1965ecb39288/.config
- dashboard: https://d.kernelci.org/build/maestro:6b06f0f6286e1965ecb39288

## i386_defconfig+kselftest on (i386):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-i386-kselftest-6b06f107286e1965ecb3929d/.config
- dashboard: https://d.kernelci.org/build/maestro:6b06f107286e1965ecb3929d

## x86_64_defconfig+aws-ec2+aws-ec2-arch-x86_64 on (x86_64):
- compiler: gcc-15
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06f133286e1965ecb39453

#kernelci issue maestro:20281a672da98ffc027fd493c9b3c4151dc58b0f

--
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