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/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o 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/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ef10.c:184:44: warning: invalid access past the end of 'outbuf' (148 80) WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o New errors added --- /tmp/tmp.yxmtvBgLI3 2024-09-07 04:06:40.181830371 -0700 +++ /tmp/tmp.8EC0WdOkV9 2024-09-07 04:07:46.574106394 -0700 @@ -8,11 +7,0 @@ -../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: -../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] - 278 | "%-6s %-24s", unit_str, test_str); - | ^~~~~ ~~~~~~~~ -../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 - 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 277 | ETH_GSTRING_LEN, - | ~~~~~~~~~~~~~~~~ - 278 | "%-6s %-24s", unit_str, test_str); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -44 +32,0 @@ -../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block @@ -45,0 +34,13 @@ +../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: +../drivers/net/ethernet/sfc/ethtool_common.c:278:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] + 278 | "%-6s %-24s", unit_str, test_str); + | ^~~~~ ~~~~~~~~ +../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 + 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 277 | ETH_GSTRING_LEN, + | ~~~~~~~~~~~~~~~~ + 278 | "%-6s %-24s", unit_str, test_str); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block +../drivers/net/ethernet/sfc/ef10.c:184:44: warning: invalid access past the end of 'outbuf' (148 80) Per-file breakdown --- /tmp/tmp.oYOPWgy1Vr 2024-09-07 04:07:46.583106567 -0700 +++ /tmp/tmp.myP8Skr1Ov 2024-09-07 04:07:46.587106644 -0700 @@ -0,0 +1 @@ + 1 ../drivers/net/ethernet/sfc/ef10.c