../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../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:350: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:350:9: warning: context imbalance in 'rtnl_af_put' - unexpected unlock ../net/core/dev.c:3389:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3389:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3389:23: got unsigned int ../net/core/dev.c:3389:23: warning: cast from restricted __wsum ../net/core/dev.c:5347:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3839:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5305:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2823:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2826:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:54: note: directive argument in the range [0, 2147483646] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1121:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1121 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:54: note: directive argument in the range [0, 2147483646] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1126:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1126 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qedf/qedf_fip.c:21:48: error: invalid initializer ../drivers/scsi/qedf/qedf_fip.c:165:38: error: invalid initializer ../drivers/scsi/qedf/qedf_io.c:641:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:641:59: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:641:59: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:643:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:643:59: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:643:59: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:655:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:655:40: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:655:40: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:656:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:656:40: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:656:40: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:664:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:664:33: expected unsigned int ../drivers/scsi/qedf/qedf_io.c:664:33: got restricted __be32 [usertype] ../drivers/scsi/qedf/qedf_io.c:720:26: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:720:26: expected restricted __be16 [usertype] fh_ox_id ../drivers/scsi/qedf/qedf_io.c:720:26: got unsigned short [usertype] xid ../drivers/scsi/qedf/qedf_io.c:724:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:724:31: expected restricted __le32 [addressable] [usertype] parameter ../drivers/scsi/qedf/qedf_io.c:724:31: got restricted __be32 [usertype] fh_parm_offset ../drivers/scsi/qedf/qedf_io.c:729:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:729:27: expected restricted __le16 [addressable] [assigned] [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:729:27: got restricted __be16 [usertype] fh_rx_id ../drivers/scsi/qedf/qedf_io.c:730:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:730:27: expected restricted __le16 [addressable] [assigned] [usertype] ox_id ../drivers/scsi/qedf/qedf_io.c:730:27: got restricted __be16 [usertype] fh_ox_id ../drivers/scsi/qedf/qedf_io.c:734:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:734:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedf/qedf_io.c:734:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:735:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:735:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedf/qedf_io.c:735:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:743:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:743:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedf/qedf_io.c:743:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:744:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:744:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedf/qedf_io.c:744:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:789:23: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:789:23: expected restricted __le16 [assigned] [usertype] sq_prod ../drivers/scsi/qedf/qedf_io.c:789:23: got unsigned short [usertype] fw_sq_prod_idx ../drivers/scsi/qedf/qedf_io.c:1068:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1068:35: expected unsigned int [usertype] fcp_resid ../drivers/scsi/qedf/qedf_io.c:1068:35: got restricted __le32 [usertype] fcp_resid ../drivers/scsi/qedf/qedf_io.c:1075:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1075:29: expected int fcp_rsp_len ../drivers/scsi/qedf/qedf_io.c:1075:29: got restricted __le32 [usertype] fcp_rsp_len ../drivers/scsi/qedf/qedf_io.c:1079:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1079:29: expected int fcp_sns_len ../drivers/scsi/qedf/qedf_io.c:1079:29: got restricted __le32 [usertype] fcp_sns_len ../drivers/scsi/qedf/qedf_io.c:1253:48: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1255:52: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1276:41: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1453:9: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1453:9: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_io.c:1461:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1462:14: warning: cast from restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1476:52: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1476:52: expected unsigned int [usertype] rx_buf_off ../drivers/scsi/qedf/qedf_io.c:1476:52: got restricted __le32 [usertype] rx_buf_off ../drivers/scsi/qedf/qedf_io.c:1478:52: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1478:52: expected unsigned int [usertype] tx_buf_off ../drivers/scsi/qedf/qedf_io.c:1478:52: got restricted __le32 [usertype] tx_buf_off ../drivers/scsi/qedf/qedf_io.c:1480:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1480:47: expected unsigned int [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:1480:47: got restricted __le16 [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:1529:9: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1529:9: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_io.c:2103:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2103:32: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:2103:32: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2104:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2104:32: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:2104:32: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2105:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2105:28: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedf/qedf_io.c:2105:28: got int ../drivers/scsi/qedf/qedf_io.c:2114:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2114:33: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:2114:33: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2115:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2115:33: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:2115:33: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2116:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2116:29: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedf/qedf_io.c:2116:29: got int ../drivers/scsi/qedf/qedf_io.c:2493:53: warning: incorrect type in initializer (different base types) ../drivers/scsi/qedf/qedf_io.c:2493:53: expected unsigned short [usertype] pktlen ../drivers/scsi/qedf/qedf_io.c:2493:53: got restricted __le16 [usertype] pkt_len ../drivers/scsi/qedf/qedf_io.c:2555:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2555:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_io.c:2555:20: got restricted __le32 [usertype] ../drivers/scsi/qedf/qedf_attr.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/scsi/qedf/qedf_els.c:180:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:180:34: expected unsigned int [usertype] resp_len ../drivers/scsi/qedf/qedf_els.c:180:34: got restricted __le32 [usertype] data_placement_size ../drivers/scsi/qedf/qedf_els.c:314:13: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_els.c:350:22: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:350:22: expected restricted __be16 [usertype] fh_rx_id ../drivers/scsi/qedf/qedf_els.c:350:22: got int ../drivers/scsi/qedf/qedf_els.c:358:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:358:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_els.c:358:20: got restricted __le32 [usertype] ../drivers/scsi/qedf/qedf_els.c:1050:13: warning: cast from restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:55:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:55:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:55:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:70:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:70:35: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:70:35: got unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:72:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:72:35: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:72:35: got unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:154:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:154:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:154:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:167:62: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:167:62: expected restricted __le32 [usertype] burst_length ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:167:62: got unsigned int [usertype] total_buffer_size ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:193:72: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:193:72: expected restricted __le32 [usertype] seq_rec_updated_offset ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:193:72: got unsigned int [usertype] desired_offset ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: expected void [noderef] __iomem *[assigned] inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:23: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:31: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:434:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: expected void [noderef] __iomem *doorbell_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:436:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: expected void [noderef] __iomem *inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:478:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: expected void [noderef] __iomem *pkts_sent_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:480:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: expected void [noderef] __iomem *pkts_credit_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:566:39: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:570:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:574:40: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: expected void [noderef] __iomem *[assigned] inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:226:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: expected void [noderef] __iomem *doorbell_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:228:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: expected void [noderef] __iomem *inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:258:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: expected void [noderef] __iomem *pkts_sent_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:260:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: expected void [noderef] __iomem *pkts_credit_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:296:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:299:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:302:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: got void *mbox_int_reg ../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); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: expected unsigned int [addressable] [assigned] [usertype] mtu ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: got restricted __be32 [usertype] ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:37: note: directive argument in the range [-2147483641, 254] 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_main.c:830:25: warning: cast to restricted __be16 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:388:27: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:410:32: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:411:28: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:432:38: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: got restricted __be16 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_tx.c:713:25: warning: cast to restricted __be16 ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: expected unsigned int [usertype] group_index ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: expected unsigned int [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: expected unsigned int [usertype] offset ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: expected unsigned int [usertype] group_index ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: expected unsigned int [usertype] ctx ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:518:32: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:519:32: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:528:48: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:529:48: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:759:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:759:29: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_iscsi.c:759:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:761:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:761:29: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_iscsi.c:761:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:762:25: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:762:25: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_iscsi.c:762:25: got long ../drivers/scsi/qedi/qedi_iscsi.c:765:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:765:29: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_iscsi.c:765:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:767:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:767:29: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_iscsi.c:767:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:768:25: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:768:25: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_iscsi.c:768:25: got int ../drivers/scsi/qedi/qedi_main.c:96:36: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1215:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1215:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_main.c:1215:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_main.c:1227:74: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/qedi/qedi_main.c:1227:74: expected unsigned int [usertype] tid ../drivers/scsi/qedi/qedi_main.c:1227:74: got restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_main.c:1275:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1275:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1275:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1327:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1327:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1327:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1855:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1855:32: expected restricted __le32 [usertype] itt ../drivers/scsi/qedi/qedi_main.c:1855:32: got unsigned int [usertype] proto_itt ../drivers/scsi/qedi/qedi_main.c:1868:37: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1882:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1882:20: expected unsigned int [usertype] ../drivers/scsi/qedi/qedi_main.c:1882:20: got restricted __le32 [usertype] itt ../drivers/scsi/qedi/qedi_fw.c:1459:30: warning: cast to restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:1459:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1459:28: expected restricted __le32 [addressable] [usertype] itt ../drivers/scsi/qedi/qedi_fw.c:1459:28: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1460:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1460:31: expected restricted __le32 [addressable] [usertype] cmd_sn ../drivers/scsi/qedi/qedi_fw.c:1460:31: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1463:33: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_fw.c:1463:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1463:31: expected restricted __le32 [addressable] [usertype] lo ../drivers/scsi/qedi/qedi_fw.c:1463:31: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1464:33: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_fw.c:1464:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1464:31: expected restricted __le32 [addressable] [usertype] hi ../drivers/scsi/qedi/qedi_fw.c:1464:31: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1469:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1469:36: expected restricted __le32 [addressable] [usertype] rtt ../drivers/scsi/qedi/qedi_fw.c:1469:36: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1473:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1473:36: expected restricted __le32 [addressable] [usertype] rtt ../drivers/scsi/qedi/qedi_fw.c:1473:36: got unsigned int ../drivers/scsi/qedi/qedi_fw.c:1478:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1478:41: expected restricted __le32 [addressable] [assigned] [usertype] hdr_second_dword ../drivers/scsi/qedi/qedi_fw.c:1478:41: got int ../drivers/scsi/qedi/qedi_fw.c:1479:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1479:35: expected restricted __le32 [addressable] [assigned] [usertype] ref_cmd_sn ../drivers/scsi/qedi/qedi_fw.c:1479:35: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:50:25: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:51:28: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:52:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:53:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:55:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:55:26: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:55:26: expected restricted __be16 [usertype] t2wait ../drivers/scsi/qedi/qedi_fw.c:55:26: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:56:30: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:56:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:56:28: expected restricted __be16 [usertype] t2retain ../drivers/scsi/qedi/qedi_fw.c:56:28: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:105:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:105:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:105:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:109:29: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:111:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:111:27: expected restricted __be32 [usertype] ttt ../drivers/scsi/qedi/qedi_fw.c:111:27: got restricted __le32 [usertype] ttt ../drivers/scsi/qedi/qedi_fw.c:112:32: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:113:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:114:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:116:36: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:211:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:211:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:211:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:214:29: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:216:32: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:217:36: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:218:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:282:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:282:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:282:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:285:29: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:287:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:287:28: expected restricted __be16 [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:287:28: got restricted __le16 [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:288:32: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:289:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:290:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:293:37: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:331:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:331:13: expected unsigned short [usertype] idx ../drivers/scsi/qedi/qedi_fw.c:331:13: got restricted __le16 [usertype] rqe_opaque ../drivers/scsi/qedi/qedi_fw.c:366:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:366:13: expected unsigned short [usertype] idx ../drivers/scsi/qedi/qedi_fw.c:366:13: got restricted __le16 [usertype] rqe_opaque ../drivers/scsi/qedi/qedi_fw.c:384:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:384:41: expected restricted __le16 [usertype] opaque ../drivers/scsi/qedi/qedi_fw.c:384:41: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:427:29: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:434:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:435:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:436:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:437:20: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:453:28: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:497:32: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:513:18: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:513:16: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:513:16: expected unsigned int ../drivers/scsi/qedi/qedi_fw.c:513:16: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:514:18: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:514:16: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:514:16: expected unsigned int ../drivers/scsi/qedi/qedi_fw.c:514:16: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:516:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:517:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:518:28: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:523:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:524:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:525:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:548:29: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:563:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:563:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:563:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:565:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:566:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:567:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:590:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:590:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_fw.c:590:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_fw.c:623:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:624:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:625:20: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:629:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:632:38: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:734:28: warning: incorrect type in initializer (different base types) ../drivers/scsi/qedi/qedi_fw.c:734:28: expected unsigned int [usertype] proto_itt ../drivers/scsi/qedi/qedi_fw.c:734:28: got restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_fw.c:743:19: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:743:19: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_fw.c:743:19: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_fw.c:793:9: warning: cast to restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:850:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:850:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_fw.c:850:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_fw.c:881:50: warning: cast from restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:881:40: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:886:48: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:885:49: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:885:49: expected restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_fw.c:885:49: got unsigned int ../drivers/scsi/qedi/qedi_fw.c:925:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:925:40: expected restricted __le16 [usertype] sq_prod ../drivers/scsi/qedi/qedi_fw.c:925:40: got unsigned short [usertype] fw_sq_prod_idx ../drivers/scsi/qedi/qedi_fw.c:1001:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1001:40: expected restricted __le32 [addressable] [assigned] [usertype] isid_tabc ../drivers/scsi/qedi/qedi_fw.c:1001:40: got unsigned int ../drivers/scsi/qedi/qedi_fw.c:1002:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1002:37: expected restricted __le16 [addressable] [assigned] [usertype] isid_d ../drivers/scsi/qedi/qedi_fw.c:1002:37: got unsigned short ../drivers/scsi/qedi/qedi_fw.c:1004:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1004:35: expected restricted __le16 [addressable] [assigned] [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:1004:35: got restricted __be16 [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:1005:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1005:47: expected restricted __le32 [addressable] [assigned] [usertype] hdr_second_dword ../drivers/scsi/qedi/qedi_fw.c:1005:47: got int ../drivers/scsi/qedi/qedi_fw.c:1008:36: warning: cast to restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:1008:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1008:34: expected restricted __le32 [addressable] [assigned] [usertype] itt ../drivers/scsi/qedi/qedi_fw.c:1008:34: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1009:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1009:34: expected restricted __le16 [addressable] [assigned] [usertype] cid ../drivers/scsi/qedi/qedi_fw.c:1009:34: got unsigned int [usertype] iscsi_conn_id ../drivers/scsi/qedi/qedi_fw.c:1010:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1010:37: expected restricted __le32 [addressable] [assigned] [usertype] cmd_sn ../drivers/scsi/qedi/qedi_fw.c:1010:37: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1011:42: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1011:42: expected restricted __le32 [addressable] [assigned] [usertype] exp_stat_sn ../drivers/scsi/qedi/qedi_fw.c:1011:42: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1017:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1017:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedi/qedi_fw.c:1017:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1019:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1019:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedi/qedi_fw.c:1019:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1026:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1026:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedi/qedi_fw.c:1026:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1028:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1028:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedi/qedi_fw.c:1028:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1030:46: warning: too many warnings ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: warning: incorrect type in return expression (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: expected void [noderef] __iomem * ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: got void * ../drivers/scsi/qedi/qedi_fw_api.c:34:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:34:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:34:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:34:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:35:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:35:37: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_fw_api.c:35:37: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:36:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:36:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:36:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:36:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:37:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:37:37: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_fw_api.c:37:37: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:38:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:38:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:38:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:39:42: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:39:42: expected restricted __le32 [usertype] sgl_total_length ../drivers/scsi/qedi/qedi_fw_api.c:39:42: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:43:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:43:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:43:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:43:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:44:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:44:59: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_fw_api.c:44:59: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:45:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:45:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:45:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:45:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:46:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:46:59: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_fw_api.c:46:59: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:47:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:47:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:47:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:47:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:48:55: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:48:55: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_fw_api.c:48:55: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:136:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:136:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:136:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:136:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:136:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:136:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:139:21: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw_api.c:141:25: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:141:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:141:25: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:141:25: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:141:25: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:141:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:141:25: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:150:21: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw_api.c:152:25: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:152:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:152:25: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:152:25: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:152:25: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:152:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:152:25: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:174:39: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw_api.c:182:25: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:182:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:182:25: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:182:25: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:182:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:182:25: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:218:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:218:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:218:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:218:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:219:69: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:219:69: expected restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:219:69: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:244:9: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:244:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:244:9: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:244:9: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:244:9: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:244:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:244:9: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:247:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:247:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:247:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:247:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:248:54: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:248:54: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_fw_api.c:248:54: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:249:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:249:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:249:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:249:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:250:54: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:250:54: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_fw_api.c:250:54: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:251:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:251:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:251:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:251:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:252:51: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:252:51: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_fw_api.c:252:51: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:265:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:265:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:265:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:266:46: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:266:46: expected restricted __le32 [usertype] exp_data_transfer_len ../drivers/scsi/qedi/qedi_fw_api.c:266:46: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:267:9: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:267:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:267:9: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:267:9: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:267:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:267:9: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:306:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:306:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:306:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:307:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:307:59: expected restricted __le32 [usertype] exp_data_acked ../drivers/scsi/qedi/qedi_fw_api.c:307:59: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:316:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:316:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:316:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:317:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:317:57: expected restricted __le32 [usertype] exp_cont_len ../drivers/scsi/qedi/qedi_fw_api.c:317:57: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:340:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:340:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:340:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:341:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:341:47: expected restricted __le32 [usertype] initial_ref_tag ../drivers/scsi/qedi/qedi_fw_api.c:341:47: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:357:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:357:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:357:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:357:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:357:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:357:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:361:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:361:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:361:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:361:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:361:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:361:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:365:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:365:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:365:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:365:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:365:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:365:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:369:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:369:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:369:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:369:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:369:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:369:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:372:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:372:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:372:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:372:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:372:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:372:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:375:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:375:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:375:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:375:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:375:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:375:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:378:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:378:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:378:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:378:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:378:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:378:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:381:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:381:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:381:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:381:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:381:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:381:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:384:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:384:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:384:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:384:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:384:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:384:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:387:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:387:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:387:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:387:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:387:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:387:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:390:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:390:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:390:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:390:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:390:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:390:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:393:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:393:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:393:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:393:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:393:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:393:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:396:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:396:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:396:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:396:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:396:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:396:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:414:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:414:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:414:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:414:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:414:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:414:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:416:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:416:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:416:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:416:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:416:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:416:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:419:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:419:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:419:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:419:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:419:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:419:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:422:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:422:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:422:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:422:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:422:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:422:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:424:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:424:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:424:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:424:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:424:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:424:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:427:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:427:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:427:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:427:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:427:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:427:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:430:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:430:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:430:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:431:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:431:47: expected restricted __le32 [usertype] initial_ref_tag ../drivers/scsi/qedi/qedi_fw_api.c:431:47: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:446:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:446:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:446:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:446:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:446:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:446:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:450:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:450:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:450:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:450:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:450:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:450:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:454:17: warning: too many warnings ../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/net/ethernet/marvell/octeontx2/nic/otx2_common.c:31:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:44:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:855:16: warning: cast removes address space '__iomem' of expression ../drivers/scsi/qedi/qedi_debugfs.c:14:5: warning: symbol 'qedi_do_not_recover' was not declared. Should it be static? ../drivers/scsi/qedi/qedi_debugfs.c:86:31: warning: symbol 'qedi_debugfs_ops' was not declared. Should it be static? ../drivers/scsi/qedi/qedi_debugfs.c:109:45: warning: incorrect type in argument 2 (different address spaces) ../drivers/scsi/qedi/qedi_debugfs.c:109:45: expected char const * ../drivers/scsi/qedi/qedi_debugfs.c:109:45: got char const [noderef] __user *buffer ../drivers/scsi/qedi/qedi_debugfs.c:150:41: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_debugfs.c:219:30: warning: symbol 'qedi_dbg_fops' was not declared. Should it be static? ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: got restricted __be16 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: expected unsigned int [addressable] [usertype] db_info ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: expected unsigned long long [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: got restricted __be64 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:531:27: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:572:21: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:620:14: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:625:19: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:656:30: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:702:31: warning: cast to restricted __be64 ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:324:24: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: expected unsigned int [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: got restricted __be32 [usertype] ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2387:46: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2410:38: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 506 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:32: note: directive argument in the range [-2147483641, 2147483646] 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:595:21: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: got unsigned char [usertype] * ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: got unsigned char [usertype] * ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:748:22: warning: cast to restricted __be64 ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: expected unsigned char [usertype] *data ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: got void [noderef] __iomem * ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/qedr/main.c:245:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/main.c:245:30: expected restricted __be64 [usertype] node_guid ../drivers/infiniband/hw/qedr/main.c:245:30: got unsigned long long [usertype] node_guid ../drivers/infiniband/hw/qedr/main.c:454:51: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/main.c:454:51: warning: restricted __le32 degrades to integer ../drivers/infiniband/hw/qedr/main.c:650:31: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/main.c:650:74: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/qed/qed_mcp.c:512:9: warning: context imbalance in '_qed_mcp_cmd_and_union' - unexpected unlock ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:113:17: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:115:17: warning: cast to restricted __be16 ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:447:23: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:447:23: expected restricted __be16 [usertype] pkey ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:447:23: got int ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:459:37: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:459:37: expected restricted __be32 [usertype] flow_label ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:459:37: got unsigned int const [usertype] flow_label ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:469:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:469:30: expected unsigned char [usertype] tos ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:469:30: got restricted __be32 [usertype] ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:474:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:474:32: expected restricted __be32 [usertype] saddr ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:474:32: got unsigned int [assigned] [usertype] ipv4_addr ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:476:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:476:32: expected restricted __be32 [usertype] daddr ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:476:32: got unsigned int [assigned] [usertype] ipv4_addr ../drivers/infiniband/hw/qedr/verbs.c:127:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:127:30: expected restricted __be64 [usertype] sys_image_guid ../drivers/infiniband/hw/qedr/verbs.c:127:30: got unsigned long long [usertype] sys_image_guid ../drivers/infiniband/hw/qedr/verbs.c:1016:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1016:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1016:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1401:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1401:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1401:42: got int ../drivers/infiniband/hw/qedr/verbs.c:1411:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1411:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1411:42: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2000:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2000:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2000:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2011:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2011:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2011:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2014:41: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2014:41: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2014:41: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2015:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2015:42: expected restricted __le16 [usertype] value ../drivers/infiniband/hw/qedr/verbs.c:2015:42: got unsigned long ../drivers/infiniband/hw/qedr/verbs.c:3287:22: warning: cast from restricted __le64 ../drivers/infiniband/hw/qedr/verbs.c:3287:20: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3287:20: expected unsigned long long [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3287:20: got restricted __be64 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3447:24: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3447:24: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3447:24: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3448:24: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3448:24: expected restricted __le32 [usertype] lo ../drivers/infiniband/hw/qedr/verbs.c:3448:24: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3449:22: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3449:22: expected restricted __le32 [usertype] l_key ../drivers/infiniband/hw/qedr/verbs.c:3449:22: got unsigned int const [usertype] key ../drivers/infiniband/hw/qedr/verbs.c:3468:26: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3468:26: expected restricted __le32 [usertype] length_lo ../drivers/infiniband/hw/qedr/verbs.c:3468:26: got unsigned long long [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3469:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3469:28: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3469:28: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3470:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3470:28: expected restricted __le32 [usertype] lo ../drivers/infiniband/hw/qedr/verbs.c:3470:28: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3598:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3598:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3598:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3611:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3611:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3611:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3624:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3624:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3624:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3637:34: warning: cast from restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:3637:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:3637:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3637:32: expected restricted __le32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:3637:32: got restricted __be32 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3644:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3644:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3644:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3657:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3657:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3657:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3674:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3674:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3674:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3711:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3711:33: expected restricted __le32 [usertype] inv_l_key ../drivers/infiniband/hw/qedr/verbs.c:3711:33: got unsigned int const [usertype] invalidate_rkey ../drivers/infiniband/hw/qedr/verbs.c:3793:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:3992:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4021:43: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:4021:43: warning: restricted __le32 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4117:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4117:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4117:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4125:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4125:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4125:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4132:38: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4205:67: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4205:67: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4205:67: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4390:46: warning: incorrect type in argument 5 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4390:46: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4390:46: got restricted __le16 [usertype] rq_cons_or_srq_id ../drivers/infiniband/hw/qedr/verbs.c:1181:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:1182:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:4252:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4252:33: expected restricted __be32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:4252:33: got unsigned int [usertype] ../drivers/infiniband/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:889:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp.c:331:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/scsi/qedf/qedf_io.c:641:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:641:59: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:641:59: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:643:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:643:59: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:643:59: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:655:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:655:40: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:655:40: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:656:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:656:40: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:656:40: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:664:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:664:33: expected unsigned int ../drivers/scsi/qedf/qedf_io.c:664:33: got restricted __be32 [usertype] ../drivers/scsi/qedf/qedf_io.c:720:26: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:720:26: expected restricted __be16 [usertype] fh_ox_id ../drivers/scsi/qedf/qedf_io.c:720:26: got unsigned short [usertype] xid ../drivers/scsi/qedf/qedf_io.c:724:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:724:31: expected restricted __le32 [addressable] [usertype] parameter ../drivers/scsi/qedf/qedf_io.c:724:31: got restricted __be32 [usertype] fh_parm_offset ../drivers/scsi/qedf/qedf_io.c:729:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:729:27: expected restricted __le16 [addressable] [assigned] [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:729:27: got restricted __be16 [usertype] fh_rx_id ../drivers/scsi/qedf/qedf_io.c:730:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:730:27: expected restricted __le16 [addressable] [assigned] [usertype] ox_id ../drivers/scsi/qedf/qedf_io.c:730:27: got restricted __be16 [usertype] fh_ox_id ../drivers/scsi/qedf/qedf_io.c:734:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:734:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedf/qedf_io.c:734:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:735:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:735:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedf/qedf_io.c:735:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:743:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:743:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedf/qedf_io.c:743:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:744:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:744:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedf/qedf_io.c:744:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:789:23: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:789:23: expected restricted __le16 [assigned] [usertype] sq_prod ../drivers/scsi/qedf/qedf_io.c:789:23: got unsigned short [usertype] fw_sq_prod_idx ../drivers/scsi/qedf/qedf_io.c:1068:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1068:35: expected unsigned int [usertype] fcp_resid ../drivers/scsi/qedf/qedf_io.c:1068:35: got restricted __le32 [usertype] fcp_resid ../drivers/scsi/qedf/qedf_io.c:1075:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1075:29: expected int fcp_rsp_len ../drivers/scsi/qedf/qedf_io.c:1075:29: got restricted __le32 [usertype] fcp_rsp_len ../drivers/scsi/qedf/qedf_io.c:1079:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1079:29: expected int fcp_sns_len ../drivers/scsi/qedf/qedf_io.c:1079:29: got restricted __le32 [usertype] fcp_sns_len ../drivers/scsi/qedf/qedf_io.c:1253:48: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1255:52: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1276:41: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1453:9: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1453:9: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_io.c:1461:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1462:14: warning: cast from restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1476:52: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1476:52: expected unsigned int [usertype] rx_buf_off ../drivers/scsi/qedf/qedf_io.c:1476:52: got restricted __le32 [usertype] rx_buf_off ../drivers/scsi/qedf/qedf_io.c:1478:52: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1478:52: expected unsigned int [usertype] tx_buf_off ../drivers/scsi/qedf/qedf_io.c:1478:52: got restricted __le32 [usertype] tx_buf_off ../drivers/scsi/qedf/qedf_io.c:1480:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1480:47: expected unsigned int [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:1480:47: got restricted __le16 [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:1529:9: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1529:9: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_io.c:2103:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2103:32: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:2103:32: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2104:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2104:32: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:2104:32: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2105:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2105:28: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedf/qedf_io.c:2105:28: got int ../drivers/scsi/qedf/qedf_io.c:2114:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2114:33: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:2114:33: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2115:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2115:33: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:2115:33: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2116:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2116:29: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedf/qedf_io.c:2116:29: got int ../drivers/scsi/qedf/qedf_io.c:2493:53: warning: incorrect type in initializer (different base types) ../drivers/scsi/qedf/qedf_io.c:2493:53: expected unsigned short [usertype] pktlen ../drivers/scsi/qedf/qedf_io.c:2493:53: got restricted __le16 [usertype] pkt_len ../drivers/scsi/qedf/qedf_io.c:2555:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2555:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_io.c:2555:20: got restricted __le32 [usertype] ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2823:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2826:18: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../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:350: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:350:9: warning: context imbalance in 'rtnl_af_put' - unexpected unlock ../net/core/dev.c:3389:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3389:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3389:23: got unsigned int ../net/core/dev.c:3389:23: warning: cast from restricted __wsum ../net/core/dev.c:5347:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3839:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5305:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:54: note: directive argument in the range [0, 2147483646] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1121:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1121 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:54: note: directive argument in the range [0, 2147483646] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1126:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1126 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/scsi/qedf/qedf_fip.c:21:48: error: invalid initializer ../drivers/scsi/qedf/qedf_fip.c:165:38: error: invalid initializer ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:55:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:55:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:55:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:59:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:69:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:70:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:70:35: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:70:35: got unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:71:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:72:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:72:35: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:72:35: got unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:87:17: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:94:17: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:146:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:154:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:154:13: expected unsigned int [usertype] val ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:154:13: got restricted __le32 [usertype] ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:157:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:167:62: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:167:62: expected restricted __le32 [usertype] burst_length ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:167:62: got unsigned int [usertype] total_buffer_size ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:169:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:171:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:193:72: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:193:72: expected restricted __le32 [usertype] seq_rec_updated_offset ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:193:72: got unsigned int [usertype] desired_offset ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: &= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type int ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: warning: invalid assignment: |= ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: left side has type restricted __le16 ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:14:9: right side has type unsigned long long ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: expected restricted __le16 [usertype] task_id ../drivers/scsi/qedf/drv_fcoe_fw_funcs.c:16:35: got unsigned short [usertype] itid ../drivers/net/ethernet/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 ../drivers/scsi/qedf/qedf_attr.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/scsi/qedf/qedf_els.c:180:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:180:34: expected unsigned int [usertype] resp_len ../drivers/scsi/qedf/qedf_els.c:180:34: got restricted __le32 [usertype] data_placement_size ../drivers/scsi/qedf/qedf_els.c:314:13: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_els.c:350:22: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:350:22: expected restricted __be16 [usertype] fh_rx_id ../drivers/scsi/qedf/qedf_els.c:350:22: got int ../drivers/scsi/qedf/qedf_els.c:358:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:358:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_els.c:358:20: got restricted __le32 [usertype] ../drivers/scsi/qedf/qedf_els.c:1050:13: warning: cast from restricted __le16 ../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); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: expected void [noderef] __iomem *[assigned] inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:121:38: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:226:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: expected void [noderef] __iomem *doorbell_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:225:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:228:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: expected void [noderef] __iomem *inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:227:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:258:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: expected void [noderef] __iomem *pkts_sent_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:257:29: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:260:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: expected void [noderef] __iomem *pkts_credit_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:259:31: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:296:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:299:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:302:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:311:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:479:50: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:480:50: got void *mbox_int_reg ../drivers/scsi/qedi/qedi_debugfs.c:14:5: warning: symbol 'qedi_do_not_recover' was not declared. Should it be static? ../drivers/scsi/qedi/qedi_debugfs.c:86:31: warning: symbol 'qedi_debugfs_ops' was not declared. Should it be static? ../drivers/scsi/qedi/qedi_debugfs.c:109:45: warning: incorrect type in argument 2 (different address spaces) ../drivers/scsi/qedi/qedi_debugfs.c:109:45: expected char const * ../drivers/scsi/qedi/qedi_debugfs.c:109:45: got char const [noderef] __user *buffer ../drivers/scsi/qedi/qedi_debugfs.c:150:41: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_debugfs.c:219:30: warning: symbol 'qedi_dbg_fops' was not declared. Should it be static? ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: expected void [noderef] __iomem *[assigned] inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:281:38: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:23: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:374:49: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:31: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:382:57: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:384:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:389:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:25: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:392:51: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:434:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: expected void [noderef] __iomem *doorbell_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:433:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:436:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: expected void [noderef] __iomem *inst_cnt_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:435:26: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:478:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: expected void [noderef] __iomem *pkts_sent_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:477:29: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:480:14: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: expected void [noderef] __iomem *pkts_credit_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:479:31: got unsigned char [usertype] * ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:519:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:520:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:525:54: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:566:39: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:570:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:574:40: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:584:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:819:42: got void *mbox_int_reg ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c:826:44: got void *mbox_int_reg ../drivers/scsi/qedi/qedi_fw_api.c:34:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:34:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:34:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:34:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:35:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:35:37: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_fw_api.c:35:37: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:36:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:36:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:36:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:36:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:37:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:37:37: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_fw_api.c:37:37: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:38:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:38:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:38:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:39:42: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:39:42: expected restricted __le32 [usertype] sgl_total_length ../drivers/scsi/qedi/qedi_fw_api.c:39:42: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:43:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:43:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:43:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:43:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:44:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:44:59: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_fw_api.c:44:59: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:45:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:45:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:45:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:45:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:46:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:46:59: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_fw_api.c:46:59: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:47:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:47:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:47:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:47:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:48:55: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:48:55: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_fw_api.c:48:55: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:136:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:136:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:136:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:136:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:136:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:136:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:139:21: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw_api.c:141:25: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:141:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:141:25: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:141:25: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:141:25: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:141:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:141:25: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:150:21: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw_api.c:152:25: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:152:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:152:25: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:152:25: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:152:25: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:152:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:152:25: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:174:39: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw_api.c:182:25: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:182:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:182:25: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:182:25: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:182:25: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:182:25: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:218:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:218:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:218:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:218:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:219:69: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:219:69: expected restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:219:69: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:244:9: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:244:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:244:9: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:244:9: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:244:9: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:244:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:244:9: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:247:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:247:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:247:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:247:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:248:54: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:248:54: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_fw_api.c:248:54: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:249:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:249:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:249:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:249:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:250:54: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:250:54: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_fw_api.c:250:54: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:251:15: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:251:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:251:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:251:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:252:51: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:252:51: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_fw_api.c:252:51: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:265:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:265:13: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:265:13: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:266:46: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:266:46: expected restricted __le32 [usertype] exp_data_transfer_len ../drivers/scsi/qedi/qedi_fw_api.c:266:46: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:267:9: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:267:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:267:9: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:267:9: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:267:9: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:267:9: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:306:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:306:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:306:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:307:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:307:59: expected restricted __le32 [usertype] exp_data_acked ../drivers/scsi/qedi/qedi_fw_api.c:307:59: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:316:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:316:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:316:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:317:57: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:317:57: expected restricted __le32 [usertype] exp_cont_len ../drivers/scsi/qedi/qedi_fw_api.c:317:57: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:340:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:340:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:340:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:341:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:341:47: expected restricted __le32 [usertype] initial_ref_tag ../drivers/scsi/qedi/qedi_fw_api.c:341:47: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:357:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:357:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:357:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:357:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:357:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:357:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:361:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:361:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:361:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:361:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:361:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:361:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:365:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:365:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:365:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:365:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:365:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:365:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:369:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:369:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:369:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:369:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:369:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:369:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:372:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:372:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:372:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:372:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:372:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:372:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:375:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:375:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:375:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:375:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:375:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:375:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:378:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:378:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:378:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:378:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:378:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:378:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:381:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:381:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:381:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:381:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:381:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:381:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:384:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:384:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:384:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:384:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:384:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:384:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:387:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:387:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:387:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:387:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:387:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:387:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:390:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:390:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:390:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:390:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:390:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:390:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:393:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:393:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:393:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:393:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:393:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:393:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:396:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:396:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:396:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:396:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:396:17: left side has type restricted __le16 ../drivers/scsi/qedi/qedi_fw_api.c:396:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:414:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:414:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:414:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:414:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:414:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:414:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:416:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:416:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:416:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:416:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:416:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:416:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:419:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:419:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:419:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:419:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:419:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:419:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:422:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:422:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:422:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:422:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:422:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:422:17: right side has type unsigned long long ../drivers/scsi/qedi/qedi_fw_api.c:424:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:424:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:424:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:424:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:424:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:424:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:427:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:427:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:427:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:427:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:427:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:427:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:430:21: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:430:21: expected unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:430:21: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw_api.c:431:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw_api.c:431:47: expected restricted __le32 [usertype] initial_ref_tag ../drivers/scsi/qedi/qedi_fw_api.c:431:47: got unsigned int [usertype] val ../drivers/scsi/qedi/qedi_fw_api.c:446:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:446:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:446:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:446:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:446:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:446:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:450:17: warning: invalid assignment: &= ../drivers/scsi/qedi/qedi_fw_api.c:450:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:450:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:450:17: warning: invalid assignment: |= ../drivers/scsi/qedi/qedi_fw_api.c:450:17: left side has type restricted __le32 ../drivers/scsi/qedi/qedi_fw_api.c:450:17: right side has type int ../drivers/scsi/qedi/qedi_fw_api.c:454:17: warning: too many warnings ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:43:29: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:81:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:115:36: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:163:26: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:172:47: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:175:42: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:184:63: got void *mbox_write_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:193:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:306:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:316:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:325:44: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:341:52: got void *mbox_read_reg ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c:371:36: got void *mbox_read_reg ../drivers/scsi/qedi/qedi_iscsi.c:518:32: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:519:32: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:528:48: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:529:48: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_iscsi.c:759:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:759:29: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_iscsi.c:759:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:761:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:761:29: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_iscsi.c:761:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:762:25: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:762:25: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_iscsi.c:762:25: got long ../drivers/scsi/qedi/qedi_iscsi.c:765:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:765:29: expected restricted __le32 [usertype] hi ../drivers/scsi/qedi/qedi_iscsi.c:765:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:767:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:767:29: expected restricted __le32 [usertype] lo ../drivers/scsi/qedi/qedi_iscsi.c:767:29: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_iscsi.c:768:25: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_iscsi.c:768:25: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedi/qedi_iscsi.c:768:25: got int ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: expected unsigned int [addressable] [assigned] [usertype] mtu ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_main.c:96:36: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1215:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1215:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_main.c:1215:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_main.c:1227:74: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/qedi/qedi_main.c:1227:74: expected unsigned int [usertype] tid ../drivers/scsi/qedi/qedi_main.c:1227:74: got restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_main.c:1275:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1275:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1275:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1327:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1327:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1327:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1855:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1855:32: expected restricted __le32 [usertype] itt ../drivers/scsi/qedi/qedi_main.c:1855:32: got unsigned int [usertype] proto_itt ../drivers/scsi/qedi/qedi_main.c:1868:37: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1882:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1882:20: expected unsigned int [usertype] ../drivers/scsi/qedi/qedi_main.c:1882:20: got restricted __le32 [usertype] itt ../drivers/scsi/qedi/qedi_fw.c:1459:30: warning: cast to restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:1459:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1459:28: expected restricted __le32 [addressable] [usertype] itt ../drivers/scsi/qedi/qedi_fw.c:1459:28: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1460:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1460:31: expected restricted __le32 [addressable] [usertype] cmd_sn ../drivers/scsi/qedi/qedi_fw.c:1460:31: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1463:33: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_fw.c:1463:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1463:31: expected restricted __le32 [addressable] [usertype] lo ../drivers/scsi/qedi/qedi_fw.c:1463:31: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1464:33: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_fw.c:1464:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1464:31: expected restricted __le32 [addressable] [usertype] hi ../drivers/scsi/qedi/qedi_fw.c:1464:31: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1469:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1469:36: expected restricted __le32 [addressable] [usertype] rtt ../drivers/scsi/qedi/qedi_fw.c:1469:36: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1473:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1473:36: expected restricted __le32 [addressable] [usertype] rtt ../drivers/scsi/qedi/qedi_fw.c:1473:36: got unsigned int ../drivers/scsi/qedi/qedi_fw.c:1478:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1478:41: expected restricted __le32 [addressable] [assigned] [usertype] hdr_second_dword ../drivers/scsi/qedi/qedi_fw.c:1478:41: got int ../drivers/scsi/qedi/qedi_fw.c:1479:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1479:35: expected restricted __le32 [addressable] [assigned] [usertype] ref_cmd_sn ../drivers/scsi/qedi/qedi_fw.c:1479:35: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:50:25: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:51:28: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:52:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:53:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:55:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:55:26: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:55:26: expected restricted __be16 [usertype] t2wait ../drivers/scsi/qedi/qedi_fw.c:55:26: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:56:30: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:56:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:56:28: expected restricted __be16 [usertype] t2retain ../drivers/scsi/qedi/qedi_fw.c:56:28: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:105:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:105:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:105:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:109:29: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:111:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:111:27: expected restricted __be32 [usertype] ttt ../drivers/scsi/qedi/qedi_fw.c:111:27: got restricted __le32 [usertype] ttt ../drivers/scsi/qedi/qedi_fw.c:112:32: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:113:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:114:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:116:36: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:211:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:211:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:211:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:214:29: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:216:32: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:217:36: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:218:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:282:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:282:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:282:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:285:29: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:287:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:287:28: expected restricted __be16 [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:287:28: got restricted __le16 [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:288:32: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:289:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:290:35: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:293:37: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:331:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:331:13: expected unsigned short [usertype] idx ../drivers/scsi/qedi/qedi_fw.c:331:13: got restricted __le16 [usertype] rqe_opaque ../drivers/scsi/qedi/qedi_fw.c:366:13: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:366:13: expected unsigned short [usertype] idx ../drivers/scsi/qedi/qedi_fw.c:366:13: got restricted __le16 [usertype] rqe_opaque ../drivers/scsi/qedi/qedi_fw.c:384:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:384:41: expected restricted __le16 [usertype] opaque ../drivers/scsi/qedi/qedi_fw.c:384:41: got restricted __le32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:427:29: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:434:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:435:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:436:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:437:20: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:453:28: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:497:32: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:513:18: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:513:16: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:513:16: expected unsigned int ../drivers/scsi/qedi/qedi_fw.c:513:16: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:514:18: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:514:16: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:514:16: expected unsigned int ../drivers/scsi/qedi/qedi_fw.c:514:16: got restricted __be32 [usertype] ../drivers/scsi/qedi/qedi_fw.c:516:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:517:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:518:28: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:523:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:524:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:525:28: warning: cast from restricted __le16 ../drivers/scsi/qedi/qedi_fw.c:548:29: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:563:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:563:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:563:9: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:565:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:566:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:567:23: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:590:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:590:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_fw.c:590:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_fw.c:623:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:624:26: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:625:20: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:629:31: warning: cast from restricted __le32 ../drivers/scsi/qedi/qedi_fw.c:632:38: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:734:28: warning: incorrect type in initializer (different base types) ../drivers/scsi/qedi/qedi_fw.c:734:28: expected unsigned int [usertype] proto_itt ../drivers/scsi/qedi/qedi_fw.c:734:28: got restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_fw.c:743:19: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:743:19: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_fw.c:743:19: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_fw.c:793:9: warning: cast to restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:850:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:850:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_fw.c:850:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_fw.c:881:50: warning: cast from restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:881:40: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:886:48: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_fw.c:885:49: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:885:49: expected restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_fw.c:885:49: got unsigned int ../drivers/scsi/qedi/qedi_fw.c:925:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:925:40: expected restricted __le16 [usertype] sq_prod ../drivers/scsi/qedi/qedi_fw.c:925:40: got unsigned short [usertype] fw_sq_prod_idx ../drivers/scsi/qedi/qedi_fw.c:1001:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1001:40: expected restricted __le32 [addressable] [assigned] [usertype] isid_tabc ../drivers/scsi/qedi/qedi_fw.c:1001:40: got unsigned int ../drivers/scsi/qedi/qedi_fw.c:1002:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1002:37: expected restricted __le16 [addressable] [assigned] [usertype] isid_d ../drivers/scsi/qedi/qedi_fw.c:1002:37: got unsigned short ../drivers/scsi/qedi/qedi_fw.c:1004:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1004:35: expected restricted __le16 [addressable] [assigned] [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:1004:35: got restricted __be16 [usertype] tsih ../drivers/scsi/qedi/qedi_fw.c:1005:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1005:47: expected restricted __le32 [addressable] [assigned] [usertype] hdr_second_dword ../drivers/scsi/qedi/qedi_fw.c:1005:47: got int ../drivers/scsi/qedi/qedi_fw.c:1008:36: warning: cast to restricted itt_t ../drivers/scsi/qedi/qedi_fw.c:1008:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1008:34: expected restricted __le32 [addressable] [assigned] [usertype] itt ../drivers/scsi/qedi/qedi_fw.c:1008:34: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1009:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1009:34: expected restricted __le16 [addressable] [assigned] [usertype] cid ../drivers/scsi/qedi/qedi_fw.c:1009:34: got unsigned int [usertype] iscsi_conn_id ../drivers/scsi/qedi/qedi_fw.c:1010:37: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1010:37: expected restricted __le32 [addressable] [assigned] [usertype] cmd_sn ../drivers/scsi/qedi/qedi_fw.c:1010:37: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1011:42: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1011:42: expected restricted __le32 [addressable] [assigned] [usertype] exp_stat_sn ../drivers/scsi/qedi/qedi_fw.c:1011:42: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1017:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1017:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedi/qedi_fw.c:1017:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1019:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1019:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedi/qedi_fw.c:1019:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1026:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1026:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedi/qedi_fw.c:1026:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1028:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_fw.c:1028:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedi/qedi_fw.c:1028:45: got unsigned int [usertype] ../drivers/scsi/qedi/qedi_fw.c:1030:46: warning: too many warnings ../drivers/net/ethernet/huawei/hinic/hinic_tx.c:713:25: warning: cast to restricted __be16 ../drivers/net/ethernet/huawei/hinic/hinic_main.c:830:25: warning: cast to restricted __be16 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:388:27: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:410:32: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:411:28: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_rx.c:432:38: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:37: note: directive argument in the range [-2147483641, 254] 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1701:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1701 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: expected unsigned int [usertype] group_index ../drivers/net/ethernet/huawei/hinic/hinic_port.c:625:32: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: expected unsigned int [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:632:31: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:639:25: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: expected unsigned int [usertype] offset ../drivers/net/ethernet/huawei/hinic/hinic_port.c:650:27: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:651:25: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: expected unsigned int [usertype] group_index ../drivers/net/ethernet/huawei/hinic/hinic_port.c:735:30: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: expected unsigned int [usertype] size ../drivers/net/ethernet/huawei/hinic/hinic_port.c:738:23: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: expected unsigned int [usertype] ctx ../drivers/net/ethernet/huawei/hinic/hinic_port.c:740:22: got restricted __be32 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: got restricted __be16 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: warning: incorrect type in return expression (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: expected void [noderef] __iomem * ../drivers/net/ethernet/huawei/hinic/hinic_hw_io.c:72:31: got void * ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: expected unsigned int [addressable] [usertype] db_info ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:328:17: got restricted __be32 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: expected unsigned long long [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:408:23: got restricted __be64 [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:531:27: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:572:21: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:620:14: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:625:19: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:656:30: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c:702:31: warning: cast to restricted __be64 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: expected restricted __sum16 [usertype] check ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:1637:45: got restricted __be16 [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: expected unsigned int [usertype] val ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2890:22: got restricted __be32 [usertype] ip ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2935:40: warning: cast from restricted __be32 ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2995:38: got unsigned int [usertype] ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:2999:38: got unsigned int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3001:36: got int ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/mediatek/mtk_eth_soc.c:3003:36: got int ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:124:19: warning: cast to restricted __be32 ../drivers/net/ethernet/mediatek/mtk_ppe_offload.c:128:41: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: expected struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:822:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:828:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:841:28: got struct rvu_fwdata *fwdata ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2387:46: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/af/rvu.c:2410:38: warning: cast removes address space '__iomem' of expression ../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/net/ethernet/marvell/octeontx2/nic/otx2_common.c:31:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:44:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:855:16: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:113:17: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:115:17: warning: cast to restricted __be16 ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:447:23: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:447:23: expected restricted __be16 [usertype] pkey ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:447:23: got int ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:459:37: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:459:37: expected restricted __be32 [usertype] flow_label ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:459:37: got unsigned int const [usertype] flow_label ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:469:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:469:30: expected unsigned char [usertype] tos ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:469:30: got restricted __be32 [usertype] ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:474:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:474:32: expected restricted __be32 [usertype] saddr ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:474:32: got unsigned int [assigned] [usertype] ipv4_addr ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:476:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:476:32: expected restricted __be32 [usertype] daddr ../drivers/infiniband/hw/qedr/qedr_roce_cm.c:476:32: got unsigned int [assigned] [usertype] ipv4_addr ../drivers/infiniband/hw/qedr/main.c:245:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/main.c:245:30: expected restricted __be64 [usertype] node_guid ../drivers/infiniband/hw/qedr/main.c:245:30: got unsigned long long [usertype] node_guid ../drivers/infiniband/hw/qedr/main.c:454:51: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/main.c:454:51: warning: restricted __le32 degrades to integer ../drivers/infiniband/hw/qedr/main.c:650:31: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/main.c:650:74: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:324:24: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: expected unsigned int [usertype] ../drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:617:25: got restricted __be32 [usertype] ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c: In function ‘rvu_dbg_mcs_init’: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:36: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 506 | sprintf(dname, "mcs%d", i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:32: note: directive argument in the range [-2147483641, 2147483646] 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:506:17: note: ‘sprintf’ output between 5 and 15 bytes into a destination of size 10 506 | sprintf(dname, "mcs%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:595:21: warning: cast to restricted __be32 ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:673:54: got unsigned char [usertype] * ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:696:58: got unsigned char [usertype] * ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:748:22: warning: cast to restricted __be64 ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: expected unsigned char [usertype] *data ../drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:1189:25: got void [noderef] __iomem * ../drivers/infiniband/hw/qedr/verbs.c:127:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:127:30: expected restricted __be64 [usertype] sys_image_guid ../drivers/infiniband/hw/qedr/verbs.c:127:30: got unsigned long long [usertype] sys_image_guid ../drivers/infiniband/hw/qedr/verbs.c:1016:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1016:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1016:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1401:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1401:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1401:42: got int ../drivers/infiniband/hw/qedr/verbs.c:1411:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1411:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1411:42: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2000:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2000:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2000:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2011:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2011:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2011:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2014:41: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2014:41: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2014:41: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2015:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2015:42: expected restricted __le16 [usertype] value ../drivers/infiniband/hw/qedr/verbs.c:2015:42: got unsigned long ../drivers/infiniband/hw/qedr/verbs.c:3287:22: warning: cast from restricted __le64 ../drivers/infiniband/hw/qedr/verbs.c:3287:20: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3287:20: expected unsigned long long [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3287:20: got restricted __be64 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3447:24: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3447:24: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3447:24: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3448:24: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3448:24: expected restricted __le32 [usertype] lo ../drivers/infiniband/hw/qedr/verbs.c:3448:24: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3449:22: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3449:22: expected restricted __le32 [usertype] l_key ../drivers/infiniband/hw/qedr/verbs.c:3449:22: got unsigned int const [usertype] key ../drivers/infiniband/hw/qedr/verbs.c:3468:26: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3468:26: expected restricted __le32 [usertype] length_lo ../drivers/infiniband/hw/qedr/verbs.c:3468:26: got unsigned long long [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3469:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3469:28: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3469:28: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3470:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3470:28: expected restricted __le32 [usertype] lo ../drivers/infiniband/hw/qedr/verbs.c:3470:28: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3598:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3598:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3598:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3611:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3611:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3611:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3624:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3624:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3624:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3637:34: warning: cast from restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:3637:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:3637:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3637:32: expected restricted __le32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:3637:32: got restricted __be32 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3644:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3644:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3644:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3657:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3657:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3657:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3674:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3674:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3674:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3711:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3711:33: expected restricted __le32 [usertype] inv_l_key ../drivers/infiniband/hw/qedr/verbs.c:3711:33: got unsigned int const [usertype] invalidate_rkey ../drivers/infiniband/hw/qedr/verbs.c:3793:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:3992:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4021:43: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:4021:43: warning: restricted __le32 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4117:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4117:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4117:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4125:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4125:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4125:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4132:38: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4205:67: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4205:67: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4205:67: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4390:46: warning: incorrect type in argument 5 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4390:46: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4390:46: got restricted __le16 [usertype] rq_cons_or_srq_id ../drivers/infiniband/hw/qedr/verbs.c:1181:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:1182:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:4252:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4252:33: expected restricted __be32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:4252:33: got unsigned int [usertype] ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:621:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 621 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:620:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 620 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 638 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:637:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 637 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:635:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 635 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:634:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 634 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 635 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c: In function ‘qede_init_fp’: ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:61: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:54: note: directive argument in the range [-2147483641, 65534] 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_main.c:1903:17: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 24 1903 | snprintf(fp->name, sizeof(fp->name), "%s-fp-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1904 | edev->ndev->name, queue_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mcp.c:512:9: warning: context imbalance in '_qed_mcp_cmd_and_union' - unexpected unlock ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c: In function ‘qed_mfw_get_tlv_time_value’: ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:44: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 2 and 10 [-Wformat-truncation=] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:35: note: directive argument in the range [0, 65535] ../drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:432:9: note: ‘snprintf’ output between 7 and 23 bytes into a destination of size 14 432 | snprintf(p_buf->data, 14, "%d%d%d%d%d%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 433 | p_time->month, p_time->day, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 434 | p_time->hour, p_time->min, p_time->msec, p_time->usec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:889:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp.c:331:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: expected struct Qdisc *qdisc ../drivers/net/ethernet/mellanox/mlx5/core/en/qos.c:377:40: got struct Qdisc [noderef] __rcu *qdisc_sleeping ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?