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/run_tags_test.sh: 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/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11326:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11326 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11326:34: note: using the range [-2147483648, 2147483647] for directive argument 11326 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11325:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11325 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11326 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:34: note: using the range [-2147483648, 2147483647] for directive argument 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11322:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11322 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:34: note: using the range [-2147483648, 2147483647] for directive argument 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11319:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11319 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:34: note: using the range [-2147483648, 2147483647] for directive argument 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11316:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11316 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:303:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 303 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:303:24: note: format string is defined here 303 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:303:20: note: using the range [0, 4294967295] for directive argument 303 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:3745:34: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:17074:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17074:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17074:63: got unsigned int * ../drivers/net/ethernet/broadcom/tg3.c:17075:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17075:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17075:63: got unsigned int * In file included from : ../drivers/net/phy/phy-core.c: In function ‘phy_speed_to_str’: ./../include/linux/compiler_types.h:487:45: error: call to ‘__compiletime_assert_1281’ declared with attribute error: Enum ethtool_link_mode_bit_indices and phylib are out of sync. If a speed or mode has been added please update phy_speed_to_str and the PHY settings array. 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:468:25: note: in definition of macro ‘__compiletime_assert’ 468 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:487:9: note: in expansion of macro ‘_compiletime_assert’ 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/phy/phy-core.c:16:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 16 | BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, | ^~~~~~~~~~~~~~~~ In function ‘phy_speed_to_str’, inlined from ‘phy_check_downshift’ at ../drivers/net/phy/phy-core.c:493:2: ./../include/linux/compiler_types.h:487:45: error: call to ‘__compiletime_assert_1281’ declared with attribute error: Enum ethtool_link_mode_bit_indices and phylib are out of sync. If a speed or mode has been added please update phy_speed_to_str and the PHY settings array. 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:468:25: note: in definition of macro ‘__compiletime_assert’ 468 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:487:9: note: in expansion of macro ‘_compiletime_assert’ 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/phy/phy-core.c:16:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 16 | BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, | ^~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/phy-core.o] Error 1 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/net/fjes/fjes_ethtool.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h, ../drivers/net/fjes/fjes.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/usb/rtl8150.c:192:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/rtl8150.c:192:22: expected unsigned short [usertype] rx_creg ../drivers/net/usb/rtl8150.c:192:22: got restricted __le16 [usertype] ../drivers/net/usb/hso.c:1477:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1478:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1479:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1487:37: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1631:37: warning: cast to restricted __le16 ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1615:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2818:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: got int ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: 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:303:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 303 | #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:303:21: note: format string is defined here 303 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:303:20: note: directive argument in the range [0, 65535] 303 | #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/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] ../drivers/net/vxlan/vxlan_core.c:393:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:393:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:393:34: got restricted __be32 [usertype] vni ../drivers/net/usb/sr9700.c:198:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:198:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:198:21: got int ../drivers/net/usb/sr9700.c:200:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:200:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:200:21: got int ../drivers/net/usb/sr9700.c:205:16: warning: incorrect type in return expression (different base types) ../drivers/net/usb/sr9700.c:205:16: expected int ../drivers/net/usb/sr9700.c:205:16: got restricted __le16 [addressable] [usertype] res ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures ../drivers/net/usb/lg-vl600.c:134:13: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:134:13: warning: cast from restricted __le32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast from restricted __le32 ../drivers/net/usb/aqc111.c:1093:34: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1093:34: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1093:34: got unsigned long long [usertype] * ../drivers/net/usb/aqc111.c:1121:45: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1121:45: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1121:45: got unsigned long long [usertype] *[assigned] pkt_desc_ptr ../drivers/net/usb/aqc111.c:1234:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/aqc111.c:1234:22: expected unsigned long long [usertype] ../drivers/net/usb/aqc111.c:1234:22: got restricted __le64 [usertype] make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 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/run_tags_test.sh: 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 In file included from : ../drivers/net/phy/phy-core.c: In function ‘phy_speed_to_str’: ./../include/linux/compiler_types.h:487:45: error: call to ‘__compiletime_assert_1281’ declared with attribute error: Enum ethtool_link_mode_bit_indices and phylib are out of sync. If a speed or mode has been added please update phy_speed_to_str and the PHY settings array. 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:468:25: note: in definition of macro ‘__compiletime_assert’ 468 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:487:9: note: in expansion of macro ‘_compiletime_assert’ 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/phy/phy-core.c:16:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 16 | BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, | ^~~~~~~~~~~~~~~~ In function ‘phy_speed_to_str’, inlined from ‘phy_check_downshift’ at ../drivers/net/phy/phy-core.c:493:2: ./../include/linux/compiler_types.h:487:45: error: call to ‘__compiletime_assert_1281’ declared with attribute error: Enum ethtool_link_mode_bit_indices and phylib are out of sync. If a speed or mode has been added please update phy_speed_to_str and the PHY settings array. 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ ./../include/linux/compiler_types.h:468:25: note: in definition of macro ‘__compiletime_assert’ 468 | prefix ## suffix(); \ | ^~~~~~ ./../include/linux/compiler_types.h:487:9: note: in expansion of macro ‘_compiletime_assert’ 487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/phy/phy-core.c:16:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 16 | BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, | ^~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/phy-core.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:303:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 303 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:303:24: note: format string is defined here 303 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:303:20: note: using the range [0, 4294967295] for directive argument 303 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11326:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11326 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11326:34: note: using the range [-2147483648, 2147483647] for directive argument 11326 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11325:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11325 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11326 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:34: note: using the range [-2147483648, 2147483647] for directive argument 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11322:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11322 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:34: note: using the range [-2147483648, 2147483647] for directive argument 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11319:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11319 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:34: note: using the range [-2147483648, 2147483647] for directive argument 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11316:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11316 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:3745:34: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:17074:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17074:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17074:63: got unsigned int * ../drivers/net/ethernet/broadcom/tg3.c:17075:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17075:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17075:63: got unsigned int * ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_dt_led_modes_get.constprop’: ../drivers/net/phy/mscc/mscc_main.c:452:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ ../drivers/net/phy/mscc/mscc_main.c:452:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2