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 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.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 ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c: In function ‘hbg_ethtool_get_regs’: ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:322:20: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 31 [-Wformat-truncation=] 322 | "[%s] %s", type_info->name, reg_map->name); | ^~ In function ‘hbg_get_reg_info’, inlined from ‘hbg_ethtool_get_regs’ at ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:338:14: ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:321:9: note: ‘snprintf’ output between 4 and 154 bytes into a destination of size 32 321 | snprintf(info->name, sizeof(info->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 322 | "[%s] %s", type_info->name, reg_map->name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:157:38: warning: symbol 'hbg_dev_spec_reg_map' was not declared. Should it be static? ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:172:38: warning: symbol 'hbg_mdio_reg_map' was not declared. Should it be static? ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:180:38: warning: symbol 'hbg_gmac_reg_map' was not declared. Should it be static? ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:211:38: warning: symbol 'hbg_pcu_reg_map' was not declared. Should it be static? ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:249:32: warning: symbol 'hbg_type_infos' was not declared. Should it be static? WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o New errors added --- /tmp/tmp.C6NNhYWxRm 2024-10-23 10:32:44.312261131 -0700 +++ /tmp/tmp.BgSjbn5UeM 2024-10-23 10:33:50.900767768 -0700 @@ -3,0 +4,16 @@ +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c: In function ‘hbg_ethtool_get_regs’: +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:322:20: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 31 [-Wformat-truncation=] + 322 | "[%s] %s", type_info->name, reg_map->name); + | ^~ +In function ‘hbg_get_reg_info’, + inlined from ‘hbg_ethtool_get_regs’ at ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:338:14: +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:321:9: note: ‘snprintf’ output between 4 and 154 bytes into a destination of size 32 + 321 | snprintf(info->name, sizeof(info->name), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 322 | "[%s] %s", type_info->name, reg_map->name); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:157:38: warning: symbol 'hbg_dev_spec_reg_map' was not declared. Should it be static? +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:172:38: warning: symbol 'hbg_mdio_reg_map' was not declared. Should it be static? +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:180:38: warning: symbol 'hbg_gmac_reg_map' was not declared. Should it be static? +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:211:38: warning: symbol 'hbg_pcu_reg_map' was not declared. Should it be static? +../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c:249:32: warning: symbol 'hbg_type_infos' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.gIprU2Mbf1 2024-10-23 10:33:50.906767724 -0700 +++ /tmp/tmp.k1TjGLQJJ1 2024-10-23 10:33:50.910767694 -0700 @@ -0,0 +1 @@ + 6 ../drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c