../net/bluetooth/hci_core.c:85:9: warning: context imbalance in '__hci_dev_get' - different lock contexts for basic block ../net/bluetooth/hci_core.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:373:9: warning: context imbalance in 'hci_dev_put_srcu' - unexpected unlock ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2657:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2743:43: warning: array of flexible structures ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:151:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:151:35: warning: array of flexible structures ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:727:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 727 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:774:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:727:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 727 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 728 | stmmac_qstats_tx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:734:62: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 734 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~ In function ‘stmmac_get_qstats_string’, inlined from ‘stmmac_get_strings’ at ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:774:3: ../drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:734:25: note: ‘snprintf’ output between 4 and 77 bytes into a destination of size 32 734 | snprintf(data, ETH_GSTRING_LEN, "q%d_%s", q, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 735 | stmmac_qstats_rx_string[stat]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../drivers/bluetooth/hci_mrvl.c:170:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/hci_mrvl.c:203:23: warning: restricted __le16 degrades to integer ../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/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:311:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:311:25: bad type * ../drivers/bluetooth/virtio_bt.c:311:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:314:25: bad type * ../drivers/bluetooth/virtio_bt.c:314:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:349:25: bad type * ../drivers/bluetooth/virtio_bt.c:349:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:352:25: bad type * ../drivers/bluetooth/virtio_bt.c:352:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [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/dwxgmac2_descs.c:126:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:126: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