========== 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/net/ethernet/huawei/hinic3/hinic3_tx.c: In function ‘get_pkt_stats’: ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:401:24: warning: variable ‘pkts’ set but not used [-Wunused-but-set-variable] 401 | unsigned short pkts; | ^~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:400:22: warning: variable ‘tx_bytes’ set but not used [-Wunused-but-set-variable] 400 | u32 hdr_len, tx_bytes; | ^~~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:326:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] 326 | struct hinic3_nic_dev *nic_dev; | ^~~~~~~ ../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/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../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/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘rq_associate_cqes’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:105:13: warning: variable ‘cqe_len’ set but not used [-Wunused-but-set-variable] 105 | int cqe_len; | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:422:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] 422 | struct hinic3_nic_dev *nic_dev; | ^~~~~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c: In function ‘get_pkt_stats’: ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:414:24: warning: variable ‘pkts’ set but not used [-Wunused-but-set-variable] 414 | unsigned short pkts; | ^~~~ ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:413:22: warning: variable ‘tx_bytes’ set but not used [-Wunused-but-set-variable] 413 | u32 hdr_len, tx_bytes; | ^~~~~~~~ ../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/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.0CkjQqOai9 2024-12-12 04:45:32.801134794 -0800 +++ /tmp/tmp.iQxgjE0S1j 2024-12-12 04:48:22.104372843 -0800 @@ -5,0 +6,8 @@ +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘rq_associate_cqes’: +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:105:13: warning: variable ‘cqe_len’ set but not used [-Wunused-but-set-variable] + 105 | int cqe_len; + | ^~~~~~~ +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: +../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:422:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] + 422 | struct hinic3_nic_dev *nic_dev; + | ^~~~~~~ @@ -7,2 +15,2 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:401:24: warning: variable ‘pkts’ set but not used [-Wunused-but-set-variable] - 401 | unsigned short pkts; +../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:414:24: warning: variable ‘pkts’ set but not used [-Wunused-but-set-variable] + 414 | unsigned short pkts; @@ -10,2 +18,2 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:400:22: warning: variable ‘tx_bytes’ set but not used [-Wunused-but-set-variable] - 400 | u32 hdr_len, tx_bytes; +../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:413:22: warning: variable ‘tx_bytes’ set but not used [-Wunused-but-set-variable] + 413 | u32 hdr_len, tx_bytes; @@ -13,4 +20,0 @@ -../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c: In function ‘recv_one_pkt’: -../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:326:32: warning: variable ‘nic_dev’ set but not used [-Wunused-but-set-variable] - 326 | struct hinic3_nic_dev *nic_dev; - | ^~~~~~~ Per-file breakdown --- /tmp/tmp.3GY1JRjQo5 2024-12-12 04:48:22.112372760 -0800 +++ /tmp/tmp.0s0tcaQ9bw 2024-12-12 04:48:22.115372728 -0800 @@ -3 +3 @@ - 1 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c + 2 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c