========== build_allmodconfig_warn - FAILED ../kernel/sys.c:1113:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1113:32: expected struct task_struct *p1 ../kernel/sys.c:1113:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1860:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/base/firmware_loader/main.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/target/target_core_configfs.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/sys.c:1113:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1113:32: expected struct task_struct *p1 ../kernel/sys.c:1113:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1860:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/base/firmware_loader/main.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../drivers/target/target_core_configfs.c: note: in included file (through ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ../include/linux/percpu-rwsem.h, ../include/linux/fs.h, ../include/linux/compat.h, ...): ../include/linux/cred.h:175:41: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:175:41: expected struct cred const *old ../include/linux/cred.h:175:41: got struct cred const [noderef] __rcu *cred ../include/linux/cred.h:183:51: warning: incorrect type in initializer (different address spaces) ../include/linux/cred.h:183:51: expected struct cred const *override_cred ../include/linux/cred.h:183:51: got struct cred const [noderef] __rcu *cred ../kernel/locking/qspinlock.c:285:41: warning: incorrect type in argument 2 (different address spaces) ../kernel/locking/qspinlock.c:285:41: expected struct qnode *qnodes ../kernel/locking/qspinlock.c:285:41: got struct qnode [noderef] __percpu * ../kernel/locking/qspinlock.c: note: in included file: ../kernel/locking/qspinlock.c:285:41: warning: incorrect type in argument 2 (different address spaces) ../kernel/locking/qspinlock.c:285:41: expected struct qnode *qnodes ../kernel/locking/qspinlock.c:285:41: got struct qnode [noderef] __percpu * ../kernel/locking/qspinlock.c: note: in included file: ../kernel/locking/qspinlock.h:67:16: warning: incorrect type in initializer (different address spaces) ../kernel/locking/qspinlock.h:67:16: expected void const [noderef] __percpu *__vpp_verify ../kernel/locking/qspinlock.h:67:16: got struct mcs_spinlock * ../kernel/locking/qspinlock.h:67:16: warning: incorrect type in initializer (different address spaces) ../kernel/locking/qspinlock.h:67:16: expected void const [noderef] __percpu *__vpp_verify ../kernel/locking/qspinlock.h:67:16: got struct mcs_spinlock * ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.ilxDrom1AA 2025-03-16 01:56:42.583989702 -0700 +++ /tmp/tmp.UoLErtrKJF 2025-03-16 01:59:28.515587775 -0700 @@ -19,0 +20,14 @@ +../kernel/locking/qspinlock.c:285:41: warning: incorrect type in argument 2 (different address spaces) +../kernel/locking/qspinlock.c:285:41: expected struct qnode *qnodes +../kernel/locking/qspinlock.c:285:41: got struct qnode [noderef] __percpu * +../kernel/locking/qspinlock.c: note: in included file: +../kernel/locking/qspinlock.c:285:41: warning: incorrect type in argument 2 (different address spaces) +../kernel/locking/qspinlock.c:285:41: expected struct qnode *qnodes +../kernel/locking/qspinlock.c:285:41: got struct qnode [noderef] __percpu * +../kernel/locking/qspinlock.c: note: in included file: +../kernel/locking/qspinlock.h:67:16: warning: incorrect type in initializer (different address spaces) +../kernel/locking/qspinlock.h:67:16: expected void const [noderef] __percpu *__vpp_verify +../kernel/locking/qspinlock.h:67:16: got struct mcs_spinlock * +../kernel/locking/qspinlock.h:67:16: warning: incorrect type in initializer (different address spaces) +../kernel/locking/qspinlock.h:67:16: expected void const [noderef] __percpu *__vpp_verify +../kernel/locking/qspinlock.h:67:16: got struct mcs_spinlock * Per-file breakdown --- /tmp/tmp.Xh0iFlbBMP 2025-03-16 01:59:28.524587699 -0700 +++ /tmp/tmp.nya0I9nyZj 2025-03-16 01:59:28.527587673 -0700 @@ -3,0 +4,2 @@ + 2 ../kernel/locking/qspinlock.c + 2 ../kernel/locking/qspinlock.h