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/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2746:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/dev.c:3382:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3382:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3382:23: got unsigned int ../net/core/dev.c:3382:23: warning: cast from restricted __wsum ../net/core/dev.c:5338:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3823:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5296:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: got unsigned int [usertype] ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask 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 ../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 ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/core/dev.c:3382:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3382:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3382:23: got unsigned int ../net/core/dev.c:3382:23: warning: cast from restricted __wsum ../net/core/dev.c:5338:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3823:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5296:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2746:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: got unsigned int [usertype] In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask 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 ../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 ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../net/core/dev.c:3382:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3382:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3382:23: got unsigned int ../net/core/dev.c:3382:23: warning: cast from restricted __wsum ../net/core/dev.c:5338:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3823:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5296:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2746:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1194:43: got unsigned int [usertype] In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask 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 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?