========== build_allmodconfig_warn - FAILED ../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/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; | ^~~~~~~~ WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../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/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../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/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? New errors added --- /tmp/tmp.VCD7mBF0D8 2024-12-12 04:34:21.925601869 -0800 +++ /tmp/tmp.HyI8TokR93 2024-12-12 04:37:12.798679241 -0800 @@ -0,0 +1 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -5 +6,11 @@ -../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; + | ^~~~~~~ Per-file breakdown --- /tmp/tmp.RK8G4MHCCH 2024-12-12 04:37:12.806679152 -0800 +++ /tmp/tmp.6w76js9ESo 2024-12-12 04:37:12.809679118 -0800 @@ -2,0 +3,2 @@ + 1 ../drivers/net/ethernet/huawei/hinic3/hinic3_rx.c + 2 ../drivers/net/ethernet/huawei/hinic3/hinic3_tx.c