WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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/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: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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 WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] 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/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; | ^~ New errors added --- /tmp/tmp.81T0s6H0LK 2024-10-03 11:22:07.187922012 -0700 +++ /tmp/tmp.mWJXzKwNNA 2024-10-03 11:30:22.404397601 -0700 @@ -17,0 +18,10 @@ +../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.8G48TC7I74 2024-10-03 11:30:22.449398553 -0700 +++ /tmp/tmp.kwCgWye58A 2024-10-03 11:30:22.465398892 -0700 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c