tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/socket.c:1700:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:9:12: warning: ‘fbnic_hwmon_sensor_id’ defined but not used [-Wunused-function] 9 | static int fbnic_hwmon_sensor_id(enum hwmon_sensor_types type) | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c: In function ‘fbnic_hwmon_read’: ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:38:28: warning: ‘id’ is used uninitialized [-Wuninitialized] 38 | return id < 0 ? id : mac->get_sensor(fbd, id, val); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:36:13: note: ‘id’ was declared here 36 | int id; | ^~ 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? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../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:321: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? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../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/meta/fbnic/fbnic_hwmon.c:9:12: warning: ‘fbnic_hwmon_sensor_id’ defined but not used [-Wunused-function] 9 | static int fbnic_hwmon_sensor_id(enum hwmon_sensor_types type) | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c: In function ‘fbnic_hwmon_read’: ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:38:28: warning: ‘id’ is used uninitialized [-Wuninitialized] 38 | return id < 0 ? id : mac->get_sensor(fbd, id, val); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:36:13: note: ‘id’ was declared here 36 | int id; | ^~ ../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:321: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.eeiRJevoqU 2024-10-03 11:54:09.185244591 -0700 +++ /tmp/tmp.ZKDyh6nIjz 2024-10-03 12:00:15.904125559 -0700 @@ -7,0 +8 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -12 +13,10 @@ -../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit +../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:9:12: warning: ‘fbnic_hwmon_sensor_id’ defined but not used [-Wunused-function] + 9 | static int fbnic_hwmon_sensor_id(enum hwmon_sensor_types type) + | ^~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c: In function ‘fbnic_hwmon_read’: +../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:38:28: warning: ‘id’ is used uninitialized [-Wuninitialized] + 38 | return id < 0 ? id : mac->get_sensor(fbd, id, val); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c:36:13: note: ‘id’ was declared here + 36 | int id; + | ^~ Per-file breakdown --- /tmp/tmp.y4wJ3Rro8Q 2024-10-03 12:00:15.911125710 -0700 +++ /tmp/tmp.Vicdth9Zww 2024-10-03 12:00:15.914125774 -0700 @@ -2,0 +3 @@ + 2 ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c