Skip to contentSkip to conversation

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

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

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

 7062 |                 __wake_up(&clp->cl_lock_waitq, TASK_NORMAL, 0, &cbnl);
      |                                 ^~~~~~~~~~~~~
      |                                 cl_rpcwaitq
fs/nfs/nfs4proc.c:7058:44: warning: unused variable ‘cbnl’ [-Wunused-variable]
 7058 |                 struct cb_notify_lock_args cbnl = { .cbnl_valid = false };
      |                                            ^~~~
  CC      drivers/char/agp/backend.o
  CC      drivers/acpi/acpica/nsinit.o
  CC      drivers/tty/vt/vt.o

=====================================================

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:044a1bfa5349651d841a609fb3ee80373667f8ce
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD: dff336abbc2b3923b31da85cfe6cd094c4bc0d48

# Builds where the incident occurred:

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

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

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

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

#kernelci issue maestro:044a1bfa5349651d841a609fb3ee80373667f8ce

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