========== build_allmodconfig_warn - FAILED ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c: In function ‘eswin_qos_probe’: ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:210:13: warning: unused variable ‘err’ [-Wunused-variable] 210 | int err; | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c: At top level: ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:153:12: warning: ‘dwc_qos_probe’ defined but not used [-Wunused-function] 153 | static int dwc_qos_probe(struct platform_device *pdev, | ^~~~~~~~~~~~~ ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864: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:428: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? ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c: In function ‘eswin_qos_probe’: ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:210:13: warning: unused variable ‘err’ [-Wunused-variable] 210 | int err; | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c: At top level: ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:153:12: warning: ‘dwc_qos_probe’ defined but not used [-Wunused-function] 153 | static int dwc_qos_probe(struct platform_device *pdev, | ^~~~~~~~~~~~~ ../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:428: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.eS3ukfyU5k 2025-05-27 22:16:47.138731155 -0700 +++ /tmp/tmp.humMl95nMv 2025-05-27 22:22:43.024566761 -0700 @@ -0,0 +1 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -5 +6,8 @@ -../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c: In function ‘eswin_qos_probe’: +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:210:13: warning: unused variable ‘err’ [-Wunused-variable] + 210 | int err; + | ^~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c: At top level: +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:153:12: warning: ‘dwc_qos_probe’ defined but not used [-Wunused-function] + 153 | static int dwc_qos_probe(struct platform_device *pdev, + | ^~~~~~~~~~~~~ Per-file breakdown --- /tmp/tmp.wqF1D8Budk 2025-05-27 22:22:43.042566601 -0700 +++ /tmp/tmp.F00KCseNg4 2025-05-27 22:22:43.049566539 -0700 @@ -2,0 +3 @@ + 2 ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c