../net/core/datagram.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:41:45: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:41:45: expected restricted __wsum [usertype] sum ../include/net/checksum.h:41:45: got unsigned int 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:294: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=] 294 | #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:294:24: note: format string is defined here 294 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:294:20: note: using the range [0, 4294967295] for directive argument 294 | #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/dlink/dl2k.c:346:35: warning: restricted __le32 degrades to integer ../net/ipv4/udp.c:1667:28: warning: context imbalance in 'udp_rmem_release' - unexpected unlock ../net/ipv4/udp.c:1699:19: warning: context imbalance in 'busylock_acquire' - wrong count at exit ../net/ipv4/udp.c:1711:28: warning: context imbalance in 'busylock_release' - unexpected unlock ../net/ipv4/udp.c:3304:9: warning: context imbalance in 'udp_get_first' - wrong count at exit ../net/ipv4/udp.c:3321:39: warning: context imbalance in 'udp_get_next' - unexpected unlock ../net/ipv4/udp.c:3369:31: warning: context imbalance in 'udp_seq_stop' - unexpected unlock ../drivers/net/usb/lan78xx.c:3865:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3865:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3865:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3865:27: got unsigned short [usertype] ../net/sctp/socket.c:8506:23: warning: context imbalance in 'sctp_get_port_local' - unexpected unlock ../net/core/dev.c:3629:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3629:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3629:23: got unsigned int ../net/core/dev.c:3629:23: warning: cast from restricted __wsum ../net/core/dev.c:5636:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4114:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5594:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/datagram.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:41:45: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:41:45: expected restricted __wsum [usertype] sum ../include/net/checksum.h:41:45: got unsigned int ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/datagram.c: note: in included file (through ../include/linux/skbuff.h, ../include/net/net_namespace.h, ../include/linux/inet.h): ../include/net/checksum.h:41:45: warning: incorrect type in argument 3 (different base types) ../include/net/checksum.h:41:45: expected restricted __wsum [usertype] sum ../include/net/checksum.h:41:45: got unsigned int ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?