Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/ptp/ptp_vmclock.c:608:1: error: bad constant expression ../drivers/ptp/ptp_vmclock.c:609:1: error: bad constant expression ../drivers/ptp/ptp_vmclock.c:610:1: error: bad constant expression ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277: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=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229: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=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229: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=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/kheaders.c:51:1: error: bad constant expression ../kernel/kheaders.c:52:1: error: bad constant expression ../kernel/kheaders.c:53:1: error: bad constant expression Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~