../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4170:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4170 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5086:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4169:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4169 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4170 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../net/mptcp/pm_netlink.c:642:31: warning: context imbalance in 'mptcp_pm_create_subflow_or_signal_addr' - unexpected unlock ../net/mptcp/pm_netlink.c:759:23: warning: context imbalance in 'mptcp_pm_nl_add_addr_received' - unexpected unlock ../net/mptcp/protocol.c:3371:9: warning: context imbalance in 'mptcp_sk_clone_init' - unexpected unlock ../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 ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2616:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2702:43: warning: array of flexible structures ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:32:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:35:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:45:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:48:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:856:16: warning: cast removes address space '__iomem' of expression ../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/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:598:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:648:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:648:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:648:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1312:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1312:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1312:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1351:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1351:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1351:21: got void [noderef] __iomem * ../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] ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2616:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2702:43: warning: array of flexible structures ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../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/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../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] ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2616:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2702:43: warning: array of flexible structures ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:147:35: warning: array of flexible structures ../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/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../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/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'