========== build_allmodconfig_warn - FAILED ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858: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/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" WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ERROR: modpost: "rqspinlock_held_locks" [kernel/locking/locktorture.ko] undefined! ERROR: modpost: "resilient_queued_spin_lock_slowpath" [kernel/locking/locktorture.ko] undefined! make[3]: *** [../scripts/Makefile.modpost:145: Module.symvers] Error 1 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1939: modpost] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858: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 ../kernel/locking/rqspinlock.c:195:13: warning: ‘rqspinlock_report_violation’ defined but not used [-Wunused-function] 195 | static void rqspinlock_report_violation(const char *s, void *lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/locking/rqspinlock.c:97:39: warning: incorrect type in initializer (different address spaces) ../kernel/locking/rqspinlock.c:97:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/locking/rqspinlock.c:97:39: got struct rqspinlock_held * ../kernel/locking/rqspinlock.c:114:39: warning: incorrect type in initializer (different address spaces) ../kernel/locking/rqspinlock.c:114:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/locking/rqspinlock.c:114:39: got struct rqspinlock_held * ../kernel/locking/rqspinlock.c:127:51: warning: incorrect type in initializer (different address spaces) ../kernel/locking/rqspinlock.c:127:51: expected void const [noderef] __percpu *__vpp_verify ../kernel/locking/rqspinlock.c:127:51: got struct rqspinlock_held * ../kernel/locking/rqspinlock.c:197:39: warning: incorrect type in initializer (different address spaces) ../kernel/locking/rqspinlock.c:197:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/locking/rqspinlock.c:197:39: got struct rqspinlock_held * ../kernel/locking/rqspinlock.c:532:41: warning: incorrect type in argument 2 (different address spaces) ../kernel/locking/rqspinlock.c:532:41: expected struct qnode *qnodes ../kernel/locking/rqspinlock.c:532:41: got struct qnode [noderef] __percpu * ../kernel/locking/rqspinlock.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/rqspinlock.c:345: warning: Function parameter or struct member 'timeout' not described in 'resilient_queued_spin_lock_slowpath' ../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" ld: kernel/locking/rqspinlock.o: in function `lockevent_read': rqspinlock.c:(.text+0xa40): multiple definition of `lockevent_read'; kernel/locking/qspinlock.o:qspinlock.c:(.text+0x640): first defined here ld: kernel/locking/rqspinlock.o:(.discard+0x0): multiple definition of `__pcpu_unique_qnodes'; kernel/locking/qspinlock.o:(.discard+0x0): first defined here ld: kernel/locking/rqspinlock.o:(.discard+0x7): multiple definition of `__pcpu_unique_pv_kick_time'; kernel/locking/qspinlock.o:(.discard+0x4): first defined here make[3]: *** [../scripts/Makefile.vmlinux_o:65: vmlinux.o] Error 1 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1206: vmlinux_o] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.JwbDzaGCSj 2025-01-07 10:19:16.628465048 -0800 +++ /tmp/tmp.nGCUepB843 2025-01-07 10:19:43.108191373 -0800 @@ -5,0 +6,23 @@ +../kernel/locking/rqspinlock.c:195:13: warning: ‘rqspinlock_report_violation’ defined but not used [-Wunused-function] + 195 | static void rqspinlock_report_violation(const char *s, void *lock) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/locking/rqspinlock.c:97:39: warning: incorrect type in initializer (different address spaces) +../kernel/locking/rqspinlock.c:97:39: expected void const [noderef] __percpu *__vpp_verify +../kernel/locking/rqspinlock.c:97:39: got struct rqspinlock_held * +../kernel/locking/rqspinlock.c:114:39: warning: incorrect type in initializer (different address spaces) +../kernel/locking/rqspinlock.c:114:39: expected void const [noderef] __percpu *__vpp_verify +../kernel/locking/rqspinlock.c:114:39: got struct rqspinlock_held * +../kernel/locking/rqspinlock.c:127:51: warning: incorrect type in initializer (different address spaces) +../kernel/locking/rqspinlock.c:127:51: expected void const [noderef] __percpu *__vpp_verify +../kernel/locking/rqspinlock.c:127:51: got struct rqspinlock_held * +../kernel/locking/rqspinlock.c:197:39: warning: incorrect type in initializer (different address spaces) +../kernel/locking/rqspinlock.c:197:39: expected void const [noderef] __percpu *__vpp_verify +../kernel/locking/rqspinlock.c:197:39: got struct rqspinlock_held * +../kernel/locking/rqspinlock.c:532:41: warning: incorrect type in argument 2 (different address spaces) +../kernel/locking/rqspinlock.c:532:41: expected struct qnode *qnodes +../kernel/locking/rqspinlock.c:532:41: got struct qnode [noderef] __percpu * +../kernel/locking/rqspinlock.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/rqspinlock.c:345: warning: Function parameter or struct member 'timeout' not described in 'resilient_queued_spin_lock_slowpath' @@ -8,5 +31,6 @@ -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o -ERROR: modpost: "rqspinlock_held_locks" [kernel/locking/locktorture.ko] undefined! -ERROR: modpost: "resilient_queued_spin_lock_slowpath" [kernel/locking/locktorture.ko] undefined! -make[3]: *** [../scripts/Makefile.modpost:145: Module.symvers] Error 1 -make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1939: modpost] Error 2 +ld: kernel/locking/rqspinlock.o: in function `lockevent_read': +rqspinlock.c:(.text+0xa40): multiple definition of `lockevent_read'; kernel/locking/qspinlock.o:qspinlock.c:(.text+0x640): first defined here +ld: kernel/locking/rqspinlock.o:(.discard+0x0): multiple definition of `__pcpu_unique_qnodes'; kernel/locking/qspinlock.o:(.discard+0x0): first defined here +ld: kernel/locking/rqspinlock.o:(.discard+0x7): multiple definition of `__pcpu_unique_pv_kick_time'; kernel/locking/qspinlock.o:(.discard+0x4): first defined here +make[3]: *** [../scripts/Makefile.vmlinux_o:65: vmlinux.o] Error 1 +make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1206: vmlinux_o] Error 2 Per-file breakdown --- /tmp/tmp.kQ1Db8ZBVG 2025-01-07 10:19:43.116191290 -0800 +++ /tmp/tmp.7N6eoau0FG 2025-01-07 10:19:43.118191269 -0800 @@ -2,0 +3,2 @@ + 1 ../kernel/locking/qspinlock.h + 7 ../kernel/locking/rqspinlock.c