../net/socket.c:1671:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../security/tomoyo/common.c:907:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:907:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:907:9: struct list_head * ../security/tomoyo/common.c:907:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:907:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:907:9: struct list_head * ../security/tomoyo/common.c:1592:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1592:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1592:9: struct list_head * ../security/tomoyo/common.c:1592:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1592:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1592:9: struct list_head * ../security/tomoyo/common.c:1614:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1614:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1614:9: struct list_head * ../security/tomoyo/common.c:1614:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1614:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1614:9: struct list_head * ../security/tomoyo/common.c:1795:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1795:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1795:9: struct list_head * ../security/tomoyo/common.c:1799:17: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1799:17: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1799:17: struct list_head * ../security/tomoyo/common.c:1799:17: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1799:17: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1799:17: struct list_head * ../security/tomoyo/common.c:1795:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1795:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1795:9: struct list_head * ../security/tomoyo/common.c:1854:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1854:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1854:9: struct list_head * ../security/tomoyo/common.c:1854:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1854:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1854:9: struct list_head * ../security/tomoyo/common.c:940:26: warning: dereference of noderef expression ../security/tomoyo/common.c:940:26: warning: dereference of noderef expression ../security/tomoyo/common.c:941:26: warning: dereference of noderef expression ../security/tomoyo/common.c:941:26: warning: dereference of noderef expression ../security/selinux/avc.c:467:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../net/unix/af_unix.c:225:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:244:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1377:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1394:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1510:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1694:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2076:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3323:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3354:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3384:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3487:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../security/selinux/hooks.c:5467:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5468:22: warning: restricted __be16 degrades to integer ../net/core/rtnetlink.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'rtnl_link_ops_get' - wrong count at exit ../net/core/rtnetlink.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'rtnl_link_ops_put' - unexpected unlock ../net/core/rtnetlink.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/umh.h, ../include/linux/kmod.h, ...): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'rtnl_af_lookup' - wrong count at exit ../net/core/rtnetlink.c: note: in included file (through ../include/linux/notifier.h, ../arch/x86/include/asm/uprobes.h, ../include/linux/uprobes.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ...): ../include/linux/srcu.h:357:9: warning: context imbalance in 'rtnl_af_put' - unexpected unlock ../net/rose/rose_route.c:722:41: warning: context imbalance in 'rose_get_neigh' - 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/ax25/ax25_std_timer.c:29:6: warning: context imbalance in 'ax25_std_heartbeat_expiry' - different lock contexts for basic block ../net/atm/mpc.c:123:20: warning: symbol 'mpcs' was not declared. Should it be static? ../net/atm/lec.c:890:39: warning: context imbalance in 'lec_priv_walk' - unexpected unlock ../net/atm/lec.c:946:39: warning: context imbalance in 'lec_seq_stop' - unexpected unlock ../net/ax25/ax25_ds_timer.c:91:6: warning: context imbalance in 'ax25_ds_heartbeat_expiry' - different lock contexts for basic block ../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/ethernet/emulex/benet/be_main.c:1468:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1468:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast to restricted __be16 ../drivers/net/ethernet/emulex/benet/be_main.c:1470:41: warning: cast from restricted __be32 ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: expected unsigned short ../drivers/net/ethernet/emulex/benet/be_main.c:1558:29: got restricted __le16 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: expected unsigned int [usertype] fragpa_lo ../drivers/net/ethernet/emulex/benet/be_main.c:2628:32: got restricted __le32 [usertype] ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: expected unsigned int [usertype] fragpa_hi ../drivers/net/ethernet/emulex/benet/be_main.c:2629:32: got restricted __le32 [usertype] ../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/net/bonding/bond_options.c:1233:24: warning: incorrect type in assignment (different base types) ../drivers/net/bonding/bond_options.c:1233:24: expected restricted __be32 [addressable] [usertype] target ../drivers/net/bonding/bond_options.c:1233:24: got unsigned long long const [usertype] value ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../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/ethernet/intel/ice/ice_ptp.c:301:5: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:890:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?