Skip to contentSkip to conversation

stable-rc/linux-6.12.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.12.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:7281:24: error: variable ‘cbnl’ has initializer but incomplete type

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

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

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

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

# Builds where the incident occurred:

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

## 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:6b06f207286e1965ecb39c4c

## 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:6b06f20b286e1965ecb39d3e

## x86_64_defconfig+kselftest+x86-board on (x86_64):
- compiler: gcc-14
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06f214286e1965ecb39df5

#kernelci issue maestro:3582bd2856f290dd8308c71449d0f1f0b53e9c2d

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