========== 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/bpf/rqspinlock.c:203:13: warning: ‘rqspinlock_report_violation’ defined but not used [-Wunused-function] 203 | static void rqspinlock_report_violation(const char *s, void *lock) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/rqspinlock.c:100:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:100:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:100:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:122:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:122:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:122:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:135:51: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:135:51: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:135:51: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:205:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:205:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:205:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:563:41: warning: incorrect type in argument 2 (different address spaces) ../kernel/bpf/rqspinlock.c:563:41: expected struct qnode *qnodes ../kernel/bpf/rqspinlock.c:563:41: got struct qnode [noderef] __percpu * ../kernel/bpf/rqspinlock.c: note: in included file: ../kernel/bpf/../locking/qspinlock.h:67:16: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/../locking/qspinlock.h:67:16: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/../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.gO8tfncZDU 2025-03-16 02:49:41.519448059 -0700 +++ /tmp/tmp.mVpPTNGWx4 2025-03-16 02:52:30.975959715 -0700 @@ -19,0 +20,22 @@ +../kernel/bpf/rqspinlock.c:203:13: warning: ‘rqspinlock_report_violation’ defined but not used [-Wunused-function] + 203 | static void rqspinlock_report_violation(const char *s, void *lock) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +../kernel/bpf/rqspinlock.c:100:39: warning: incorrect type in initializer (different address spaces) +../kernel/bpf/rqspinlock.c:100:39: expected void const [noderef] __percpu *__vpp_verify +../kernel/bpf/rqspinlock.c:100:39: got struct rqspinlock_held * +../kernel/bpf/rqspinlock.c:122:39: warning: incorrect type in initializer (different address spaces) +../kernel/bpf/rqspinlock.c:122:39: expected void const [noderef] __percpu *__vpp_verify +../kernel/bpf/rqspinlock.c:122:39: got struct rqspinlock_held * +../kernel/bpf/rqspinlock.c:135:51: warning: incorrect type in initializer (different address spaces) +../kernel/bpf/rqspinlock.c:135:51: expected void const [noderef] __percpu *__vpp_verify +../kernel/bpf/rqspinlock.c:135:51: got struct rqspinlock_held * +../kernel/bpf/rqspinlock.c:205:39: warning: incorrect type in initializer (different address spaces) +../kernel/bpf/rqspinlock.c:205:39: expected void const [noderef] __percpu *__vpp_verify +../kernel/bpf/rqspinlock.c:205:39: got struct rqspinlock_held * +../kernel/bpf/rqspinlock.c:563:41: warning: incorrect type in argument 2 (different address spaces) +../kernel/bpf/rqspinlock.c:563:41: expected struct qnode *qnodes +../kernel/bpf/rqspinlock.c:563:41: got struct qnode [noderef] __percpu * +../kernel/bpf/rqspinlock.c: note: in included file: +../kernel/bpf/../locking/qspinlock.h:67:16: warning: incorrect type in initializer (different address spaces) +../kernel/bpf/../locking/qspinlock.h:67:16: expected void const [noderef] __percpu *__vpp_verify +../kernel/bpf/../locking/qspinlock.h:67:16: got struct mcs_spinlock * Per-file breakdown --- /tmp/tmp.AVQ6M6ii9r 2025-03-16 02:52:30.984959636 -0700 +++ /tmp/tmp.bNSUpKMCHa 2025-03-16 02:52:30.987959610 -0700 @@ -3,0 +4,2 @@ + 1 ../kernel/bpf/../locking/qspinlock.h + 6 ../kernel/bpf/rqspinlock.c