========== build_allmodconfig_warn - FAILED ../drivers/infiniband/hw/bng_re/bng_dev.c: In function ‘bng_re_add_device’: ../drivers/infiniband/hw/bng_re/bng_dev.c:54:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘dev’ will never be NULL [-Waddress] 54 | if (!rdev || !rdev_to_dev(rdev)) { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:8: ../include/rdma/ib_verbs.h:2812:41: note: ‘dev’ declared here 2812 | struct device dev; | ^~~ ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894: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/msm/msm.o: warning: objtool: submit_lock_objects+0x44d: sibling call from callable instruction with modified stack frame ../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:434: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:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894: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/infiniband/hw/bng_re/bng_dev.c: In function ‘bng_re_add_device’: ../drivers/infiniband/hw/bng_re/bng_dev.c:54:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘dev’ will never be NULL [-Waddress] 54 | if (!rdev || !rdev_to_dev(rdev)) { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:8: ../include/rdma/ib_verbs.h:2812:41: note: ‘dev’ declared here 2812 | struct device dev; | ^~~ drivers/gpu/drm/msm/msm.o: warning: objtool: submit_lock_objects+0x44d: sibling call from callable instruction with modified stack frame ../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:434: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.MJjUp1Jhhv 2025-08-29 07:32:24.047266635 -0700 +++ /tmp/tmp.xRexQCNAEo 2025-08-29 07:35:31.186210213 -0700 @@ -5,0 +6,8 @@ +../drivers/infiniband/hw/bng_re/bng_dev.c: In function ‘bng_re_add_device’: +../drivers/infiniband/hw/bng_re/bng_dev.c:54:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘dev’ will never be NULL [-Waddress] + 54 | if (!rdev || !rdev_to_dev(rdev)) { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:8: +../include/rdma/ib_verbs.h:2812:41: note: ‘dev’ declared here + 2812 | struct device dev; + | ^~~ Per-file breakdown --- /tmp/tmp.x0vIiLbMFk 2025-08-29 07:35:31.192757123 -0700 +++ /tmp/tmp.eHN8K7nBay 2025-08-29 07:35:31.194757107 -0700 @@ -2,0 +3 @@ + 1 ../drivers/infiniband/hw/bng_re/bng_dev.c