../net/core/dev.c:3600:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3600:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3600:23: got unsigned int ../net/core/dev.c:3600:23: warning: cast from restricted __wsum ../net/core/dev.c:5564:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4052:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5522:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/core/netpoll.c:358:25: warning: context imbalance in '__netpoll_send_skb' - different lock contexts for basic block ../net/atm/lec.c:889:39: warning: context imbalance in 'lec_priv_walk' - unexpected unlock ../net/atm/lec.c:945:39: warning: context imbalance in 'lec_seq_stop' - unexpected unlock ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/bridge/br_multicast.c: note: in included file (through ../include/linux/igmp.h): ../include/uapi/linux/igmp.h:60:32: warning: array of flexible structures ../net/bridge/br_multicast.c: note: in included file: ../include/net/mld.h:32:43: warning: array of flexible structures ../drivers/net/wireless/ti/wlcore/main.c:671:33: warning: context imbalance in 'wlcore_irq_locked' - different lock contexts for basic block In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/rcupdate.h:26, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:392, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/rcupdate.h:26, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/bridge/br_netfilter_hooks.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/infiniband/core/roce_gid_mgmt.c:292:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:832:48: warning: incorrect type in argument 2 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:832:48: expected void *filter_cookie ../drivers/infiniband/core/roce_gid_mgmt.c:832:48: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:835:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:835:31: expected struct net_device *dev ../drivers/infiniband/core/roce_gid_mgmt.c:835:31: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:872:31: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:872:31: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:872:31: got struct net_device *ndev ../drivers/net/team/team_mode_activebackup.c:54:40: error: incompatible types in comparison expression (different address spaces): ../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port [noderef] __rcu * ../drivers/net/team/team_mode_activebackup.c:54:40: struct team_port * ../drivers/net/team/team_mode_loadbalance.c:373:14: warning: incorrect type in assignment (different address spaces) ../drivers/net/team/team_mode_loadbalance.c:373:14: expected struct team_port *port ../drivers/net/team/team_mode_loadbalance.c:373:14: got struct team_port [noderef] __rcu *port ../drivers/net/bonding/bond_options.c:1230:24: warning: incorrect type in assignment (different base types) ../drivers/net/bonding/bond_options.c:1230:24: expected restricted __be32 [addressable] [usertype] target ../drivers/net/bonding/bond_options.c:1230:24: got unsigned long long const [usertype] value ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:302:5: warning: context imbalance in 'mt7996_mmio_wed_init' - wrong count at exit ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:636:5: warning: context imbalance in 'mt7915_mmio_wed_init' - wrong count at exit ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?