tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../net/socket.c:1706:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../security/smack/smack_lsm.c:1944:61: warning: incorrect type in argument 1 (different address spaces) ../security/smack/smack_lsm.c:1944:61: expected struct cred const *cred ../security/smack/smack_lsm.c:1944:61: got struct cred const [noderef] __rcu *cred ../security/smack/smack_lsm.c:5240:30: warning: cast removes address space '__rcu' of expression ../security/smack/smackfs.c:935:17: error: incompatible types in comparison expression (different address spaces): ../security/smack/smackfs.c:935:17: struct netlbl_lsm_catmap [noderef] __rcu * ../security/smack/smackfs.c:935:17: struct netlbl_lsm_catmap * ../security/smack/smackfs.c:1504:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1507:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1945:17: error: incompatible types in comparison expression (different address spaces): ../security/smack/smackfs.c:1945:17: struct list_head [noderef] __rcu * ../security/smack/smackfs.c:1945:17: struct list_head * ../security/smack/smackfs.c:532:13: warning: context imbalance in 'smk_seq_start' - wrong count at exit ../security/smack/smackfs.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/vmalloc.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'smk_seq_stop' - unexpected unlock ../security/selinux/avc.c:461:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../security/selinux/hooks.c:5451:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5452:22: warning: restricted __be16 degrades to integer ../net/sched/sch_mqprio.c:702:17: warning: context imbalance in 'mqprio_dump_class_stats' - different lock contexts for basic block ../net/core/sock.c:2477:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2481:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4115:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4127:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../security/selinux/netnode.c:73:17: warning: restricted __be32 degrades to integer ../security/selinux/netnode.c:90:32: warning: restricted __be32 degrades to integer ../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/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:5343:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3835:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5301:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/packet/af_packet.c:1113:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block ../net/packet/af_packet.c:2555:17: warning: context imbalance in 'tpacket_rcv' - unexpected unlock ../drivers/scsi/fcoe/fcoe.c:1708:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/fcoe/fcoe.c:1708:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/fcoe/fcoe.c:1708:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/fcoe/fcoe.c:1633:13: warning: cast to restricted __le32 ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c589_cs.c:296:35: warning: cast to restricted __le16 ../drivers/net/ethernet/3com/3c574_cs.c:348:35: warning: cast to restricted __le16 ../drivers/net/ethernet/3com/typhoon.c:769:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/typhoon.c:525:39: warning: context imbalance in 'typhoon_process_response' - different lock contexts for basic block ../drivers/net/ethernet/3com/3c59x.c:3247:35: warning: restricted pci_power_t degrades to integer ../drivers/net/ethernet/3com/3c59x.c:3247:53: warning: restricted pci_power_t degrades to integer ../drivers/net/ethernet/adaptec/starfire.c:1507:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/adaptec/starfire.c:1507:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/adaptec/starfire.c:1507:35: got unsigned short [usertype] ../drivers/net/ethernet/adaptec/starfire.c:1823:41: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/adaptec/starfire.c:1823:41: expected unsigned short val ../drivers/net/ethernet/adaptec/starfire.c:1823:41: got restricted __le16 ../drivers/scsi/fcoe/fcoe_ctlr.c:52:37: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c:53:38: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c:54:38: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c:55:36: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c: note: in included file: ../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/bnx2fc/bnx2fc_fcoe.c:25:1: warning: symbol '__pcpu_scope_bnx2fc_percpu' was not declared. Should it be static? ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:551:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:551:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:551:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:624:18: warning: cast to restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:1027:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:1027:36: expected restricted __be32 [usertype] rnid_atype ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:1027:36: got int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: got restricted __le32 [usertype] fc_crc_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: got restricted __le32 [usertype] fcoe_tx_pkt_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: got restricted __le32 [usertype] fcoe_tx_byte_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: got restricted __le32 [usertype] fcoe_rx_pkt_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: got restricted __le32 [usertype] fcoe_rx_byte_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/bnx2fc/bnx2fc.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_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:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825: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/8390/ne2k-pci.c:515:31: warning: cast to restricted __le32 ../drivers/net/ethernet/8390/ne2k-pci.c:342:47: warning: cast to restricted __le32 ../drivers/net/ethernet/alacritech/slicoss.c:1091:24: warning: cast to restricted __le32 ../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_fip.c:21:48: error: invalid initializer ../drivers/scsi/qedf/qedf_fip.c:165:38: error: invalid initializer ../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/net/ethernet/alteon/acenic.c:1989:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/alteon/acenic.c:1989:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/alteon/acenic.c:1989:35: got restricted __be16 [usertype] ../drivers/net/ethernet/arc/emac_main.c:256:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:256:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:256:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:458:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:458:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:458:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:707:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:707:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:707:37: got restricted __le32 [usertype] ../drivers/net/ethernet/8390/axnet_cs.c:642:18: warning: cast to restricted __le16 ../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/8390/pcnet_cs.c:1157:18: warning: cast to restricted __le16 ../drivers/net/ethernet/8390/pcnet_cs.c:1375:18: warning: cast to 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/amd/pcnet32.c:695:39: warning: context imbalance in 'pcnet32_suspend' - unexpected unlock ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../drivers/net/macsec.c:418:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:418:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:418:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:418:22: got unsigned int ../drivers/net/macsec.c:419:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:419:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:419:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:419:20: got unsigned long long ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [usertype] ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: expected restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: got unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: expected restricted __wsum [usertype] csum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: got int [assigned] wrs_needed ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast from restricted __wsum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:796:37: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:797:38: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:798:18: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:819:28: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:827:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:935:25: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:940:32: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c: note: in included file: ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/qedi/qedi_main.c:96:36: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1214:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1214:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_main.c:1214:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_main.c:1226:74: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/qedi/qedi_main.c:1226:74: expected unsigned int [usertype] tid ../drivers/scsi/qedi/qedi_main.c:1226:74: got restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_main.c:1274:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1274:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1274:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1326:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1326:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1326:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1854:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1854:32: expected restricted __le32 [usertype] itt ../drivers/scsi/qedi/qedi_main.c:1854:32: got unsigned int [usertype] proto_itt ../drivers/scsi/qedi/qedi_main.c:1867:37: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1881:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1881:20: expected unsigned int [usertype] ../drivers/scsi/qedi/qedi_main.c:1881:20: got restricted __le32 [usertype] itt ../drivers/net/ethernet/atheros/atlx/atl1.c:1999:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atlx/atl1.c:2060:33: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: right side has type unsigned int ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: right side has type unsigned int ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2209:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:32: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2314:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: right side has type int ../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/net/ethernet/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3191:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3191 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3191:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3191 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3192 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/atheros/atl1e/atl1e_main.c:1447:45: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1475:46: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1718:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:42: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1737:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:42: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1782:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1832:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1837:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1852:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1893:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1894:39: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1907:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1920:41: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1937:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1941:32: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2178:19: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: expected unsigned short [usertype] vlan ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: got restricted __le16 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: expected restricted __le16 [usertype] tag ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: got int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1734:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3487:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3492:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3497:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3497:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3522:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3526:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3526:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3526:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3536:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3540:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3540:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3540:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3550:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3556:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3564:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3565:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3568:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3604:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3604:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3658:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3658:25: warning: cast from restricted __be32 ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: expected unsigned int [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: got restricted __be32 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: expected unsigned short [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: got restricted __be16 [usertype] ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 ../net/caif/caif_usb.c:110:32: warning: restricted __be16 degrades to integer ../net/caif/caif_usb.c:111:33: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/atheros/alx/main.c:1444:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1444:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1444:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1448:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/alx/main.c:1448:39: expected restricted __le32 [usertype] pkt_len ../drivers/net/ethernet/atheros/alx/main.c:1448:39: got unsigned int len ../drivers/net/ethernet/atheros/alx/main.c:1449:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1449:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1449:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1452:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1452:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1452:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1453:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1453:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1453:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1455:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1455:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1455:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1469:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:551:23: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:617:17: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:639:25: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:640:23: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:667:39: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:668:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:712:73: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:1322:33: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:1322:33: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: expected unsigned short [usertype] vlan_tag ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: expected unsigned short [usertype] lso_mss ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: expected unsigned short [usertype] flags ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: expected unsigned int [usertype] frame_length ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: got restricted __be16 [usertype] ../drivers/net/wireless/ti/wlcore/main.c:671:33: warning: context imbalance in 'wlcore_irq_locked' - different lock contexts for basic block ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:30: note: directive argument in the range [0, 255] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:5262:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5262:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5262:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5217:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5217:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:5218:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5218:40: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:5218:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1391:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1391:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1392:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1392:33: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1392:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1417:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1687:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1687:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1688:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1688:22: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1688:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1729:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1729:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1729:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1731:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1731:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1731:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1733:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1734:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1735:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1737:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1737:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1737:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1739:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1739:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1739:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1741:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1741:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1741:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1743:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1743:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1743:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1745:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1745:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1745:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1747:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1747:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1747:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1749:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1749:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1749:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1751:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1751:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1751:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1753:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1753:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1753:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1775:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1775:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1775:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1777:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1777:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1777:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1788:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1788:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1788:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1790:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1790:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1790:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1792:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1794:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1796:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1796:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1796:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1798:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1798:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1798:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1800:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1800:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1800:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1802:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1802:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1802:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1804:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1804:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1804:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1807:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1808:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1822:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1824:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1828:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1830:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1830:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1830:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1832:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1832:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1832:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1834:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1834:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1834:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1845:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1845:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1845:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1847:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1847:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1847:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1849:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1849:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1850:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1851:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1851:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1851:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1853:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1853:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1853:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1857:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1857:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1857:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1859:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1859:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1859:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2078:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2327:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2327:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:35: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:2328:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2329:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2329:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2329:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2331:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2331:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2332:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2332:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2332:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2373:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2373:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2373:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2431:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2431:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2431:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2448:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2448:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2448:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2449:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2476:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2476:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2477:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2477:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2477:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2510:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2510:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2511:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2511:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2511:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2523:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2523:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2523:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2538:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2538:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2538:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2611:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2611:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2611:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3512:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3513:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3514:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3515:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3516:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3517:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3532:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3533:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3535:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3638:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3791:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3791:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3791:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3797:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3797:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3798:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3798:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3798:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3828:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3985:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4947:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4947:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4955:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4955:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4955:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4958:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4958:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4958:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4983:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4983:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4983:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5048:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5048:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5048:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5050:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5050:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5050:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5068:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5068:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5068:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5070:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5070:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5070:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5075:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5075:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5075:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5077:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5077:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5077:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5087:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5087:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5087:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5089:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5089:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5089:41: got restricted __le16 * ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: got unsigned short [usertype] ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/dlink/dl2k.c:344:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: expected restricted __be16 [usertype] l2t_idx ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb/sge.c:1390:65: warning: cast to restricted __be16 ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: expected unsigned short [usertype] vlan ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: got restricted __be16 [usertype] ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: expected unsigned int [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:3601:52: warning: dubious: !x | y In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:307:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:24: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:307:20: note: using the range [0, 4294967295] for directive argument 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/vt6655/device_main.c:1598:46: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:302:31: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:336:22: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:751:16: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:804:22: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:831:18: warning: cast to restricted __le64 ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4162:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4162 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5078:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4161:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4161 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4162 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2325:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2325 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2325:52: note: directive argument in the range [-2147483639, 2147483646] 2325 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2325:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2325 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2326 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: expected unsigned int [usertype] rss ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: expected unsigned int [usertype] priority ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: got restricted __be32 [assigned] [usertype] rss_lo ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2120:16: warning: cast to restricted __be32 ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/rcupdate.h:26, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/rcupdate.h:26, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/huawei/hinic/hinic_main.c:830:25: warning: cast to restricted __be16 ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2185 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:34: note: directive argument in the range [-2147483643, 2147483646] 2185 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2184:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2184 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2185 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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_debugfs.c:162:46: warning: cast to restricted __be16 ../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_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/neterion/s2io.c: In function ‘s2io_add_isr’: ../drivers/net/ethernet/neterion/s2io.c:6947:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6947 | "%s:MSI-X-%d-TX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6947:49: note: directive argument in the range [-2147483641, 2147483646] 6947 | "%s:MSI-X-%d-TX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6945:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6945 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6946 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6947 | "%s:MSI-X-%d-TX", | ~~~~~~~~~~~~~~~~~ 6948 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6936:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6936 | "%s:MSI-X-%d-RX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6936:49: note: directive argument in the range [-2147483641, 2147483646] 6936 | "%s:MSI-X-%d-RX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6934:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6934 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6935 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6936 | "%s:MSI-X-%d-RX", | ~~~~~~~~~~~~~~~~~ 6937 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_init_nic’: ../drivers/net/ethernet/neterion/s2io.c:8097:59: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 35 and 50 [-Wformat-truncation=] 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~ ../drivers/net/ethernet/neterion/s2io.c:8097:9: note: ‘snprintf’ output between 11 and 105 bytes into a destination of size 60 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8098 | sp->product_name); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:37: note: directive argument in the range [-2147483641, 254] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/natsemi/ns83820.c:900:39: warning: cast to restricted __be16 ../drivers/net/ethernet/natsemi/ns83820.c:1115:42: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/natsemi/ns83820.c:1983:9: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit ../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock ../drivers/net/ethernet/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/micrel/ksz884x.c:3146:50: warning: restricted pci_power_t degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: expected unsigned int [usertype] next ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: expected unsigned int [usertype] next ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4377:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4670:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4706:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4751:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../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/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2769:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/marvell/mv643xx_eth.c:1952:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1952:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1952:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1991:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1991:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1991:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2022:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2022:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2022:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2056:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2056:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2056:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2111:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2111:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2111:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2129:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2129:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2129:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/nvidia/forcedeth.c:4790:9: warning: context imbalance in 'nv_set_ringparam' - different lock contexts for basic block ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:302:5: warning: context imbalance in 'mt7996_mmio_wed_init' - wrong count at exit ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:634:5: warning: context imbalance in 'mt7915_mmio_wed_init' - wrong count at exit ../drivers/net/ethernet/marvell/skge.c:3115:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/skge.c:3115:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/skge.c:3115:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/skge.c:3115:27: got unsigned short [usertype] ../drivers/net/ethernet/packetengines/hamachi.c:1568:61: warning: cast to restricted __be16 ../drivers/net/ethernet/packetengines/hamachi.c:1568:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/packetengines/hamachi.c:1568:59: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/packetengines/hamachi.c:1568:59: got unsigned short [usertype] ../drivers/net/ethernet/packetengines/hamachi.c:1569:56: warning: restricted __wsum degrades to integer ../drivers/net/ethernet/packetengines/hamachi.c:1570:67: warning: bad assignment (-=) to restricted __wsum ../drivers/net/ethernet/packetengines/hamachi.c:1572:67: warning: bad assignment (+=) to restricted __wsum ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1771 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:42: note: directive argument in the range [-2147483643, 254] 1771 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1770:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1770 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1771 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/sky2.c:1890:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:1890:28: expected restricted __le16 [usertype] length ../drivers/net/ethernet/marvell/sky2.c:1890:28: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/sky2.c:2670:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/sky2.c:2670:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:2670:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/sky2.c:2670:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/sky2.c:2691:57: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:2699:27: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/sky2.c:4445:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4445:53: warning: cast from restricted __le16 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:1035:24: warning: cast to restricted __le64 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:1037:24: warning: cast to restricted __le64 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:2133:17: warning: cast truncates bits from constant value (42110030 becomes 30) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:2133:17: warning: cast truncates bits from constant value (42110030 becomes 30) ../drivers/net/ethernet/renesas/sh_eth.c:897:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:897:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:897:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:898:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:905:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:906:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1242:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1247:17: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1266:49: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1283:33: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: warning: invalid assignment: &= ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1602:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1605:31: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1606:27: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1644:36: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: expected void *addr ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: got void [noderef] __iomem * ../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/netxen/netxen_nic_init.c:571:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:574:38: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:62: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:62: expected restricted __le32 [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:62: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:575:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:577:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:578:66: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:601:54: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:601:64: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:601:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:615:22: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:627:63: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:627:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:626:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:633:18: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:633:55: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:632:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:636:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:636:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:650:22: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:662:63: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:662:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:661:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:668:18: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:668:55: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:667:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:670:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:670:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:697:55: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:697:65: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:697:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:703:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:710:38: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:22: expected restricted __le32 [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:22: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:711:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:712:32: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:717:33: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:718:62: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: expected int idx ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:777:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:14: expected restricted __le32 [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:14: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:779:48: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:788:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:788:22: expected unsigned int [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:788:22: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:801:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:801:22: expected unsigned int [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:801:22: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:833:38: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:834:33: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:33: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:48: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:45: warning: incorrect type in return expression (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:45: expected restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:45: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:860:28: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:45: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:863:58: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:70: warning: incorrect type in return expression (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:70: expected restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:70: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:911:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:911:21: expected unsigned int [usertype] val ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:911:21: got restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:999:72: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:999:72: expected unsigned long long [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:999:72: got restricted __le64 [assigned] [usertype] data ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1014:60: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1014:60: expected unsigned long long [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1014:60: got restricted __le64 [assigned] [usertype] data ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1025:60: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1025:60: expected unsigned long long [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1025:60: got restricted __le64 [assigned] [usertype] data ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1099:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1099:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1099:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:22: expected restricted __le32 [addressable] [usertype] flash_fw_ver ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:22: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1127:46: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1139:21: warning: restricted __le32 degrades to integer ../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/netxen/netxen_nic_ethtool.c:902:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c:902:25: expected unsigned int [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c:902:25: got restricted __le32 [usertype] ../drivers/net/ethernet/realtek/8139too.c:2247:9: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/realtek/8139too.c:2247:9: expected unsigned int [usertype] ../drivers/net/ethernet/realtek/8139too.c:2247:9: got restricted __le32 [usertype] ../drivers/net/ethernet/realtek/8139too.c:2248:9: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/realtek/8139too.c:2248:9: expected unsigned int [usertype] ../drivers/net/ethernet/realtek/8139too.c:2248:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:998:14: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1008:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1011:28: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1058:27: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1061:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1112:21: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1114:33: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1143:30: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1147:42: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1152:50: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1153:40: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1344:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:951:21: warning: cast truncates bits from constant value (ffffffff7fffffff becomes 7fffffff) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c:202:31: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4474:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:19, from ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:8: ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c: In function ‘rtl8723bs_xmit_thread’: ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:420:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size 11 [-Wformat-truncation=] 420 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/include/osdep_service.h:127:69: note: in definition of macro ‘rtw_sprintf’ 127 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:420:48: note: format string is defined here 420 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~ ../drivers/staging/rtl8723bs/include/osdep_service.h:127:49: note: ‘snprintf’ output between 10 and 25 bytes into a destination of size 20 127 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:420:9: note: in expansion of macro ‘rtw_sprintf’ 420 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~ ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:62, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_shutdown' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_reset_task' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_link_timer' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_open' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_close' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_suspend' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_resume' - different lock contexts for basic block ../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/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6031:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6049:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6115:8: ../drivers/net/ethernet/sun/niu.c:6031:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/via/via-rhine.c:1135:39: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:410:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:419:36: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../drivers/net/ethernet/via/via-velocity.c: note: in included file: ../drivers/net/ethernet/via/via-velocity.h:236:24: warning: mixed bitwiseness ../drivers/net/ethernet/via/via-velocity.c:88:26: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:88:26: expected void *addr ../drivers/net/ethernet/via/via-velocity.c:88:26: got struct mac_regs [noderef] __iomem *mac_regs ../drivers/net/ethernet/via/via-velocity.c:91:49: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:91:49: expected restricted pci_power_t [usertype] state ../drivers/net/ethernet/via/via-velocity.c:91:49: got char state ../drivers/net/ethernet/via/via-velocity.c:93:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:93:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/via/via-velocity.c:93:36: got void * ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/via/via-velocity.c:1745:34: expected unsigned long [usertype] __UNIQUE_ID_y_1655 ../drivers/net/ethernet/via/via-velocity.c:1745:34: got restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1748:17: warning: cast to restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:2241:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2241:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2241:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2249:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2249:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2249:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2436:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2436:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2436:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2449:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2449:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2449:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2874:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2874:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2874:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3145:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3145:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3145:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3151:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3151:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3151:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3203:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3203:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:3203:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3273:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3273:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3273:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3290:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3290:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3290:48: got restricted pci_power_t [usertype] ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: got unsigned int [usertype] ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_dt_led_modes_get.constprop’: ../drivers/net/phy/mscc/mscc_main.c:452:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ ../drivers/net/phy/mscc/mscc_main.c:452:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/jme.c:956:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/jme.c:956:14: expected unsigned short [usertype] csum ../drivers/net/ethernet/jme.c:956:14: got restricted __sum16 [usertype] check ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/efa/efa_main.c:444:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/efa/efa_main.c:444:30: expected restricted __be64 [usertype] node_guid ../drivers/infiniband/hw/efa/efa_main.c:444:30: got unsigned long long [usertype] guid ../drivers/infiniband/sw/siw/siw_cm.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/siw_cq.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/sw/siw/siw_main.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:833:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:833:28: expected unsigned int [usertype] pa_lo ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:833:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:834:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:834:28: expected unsigned int [usertype] pa_hi ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:834:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1628:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: expected unsigned int [usertype] pa_lo ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2063:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2063:28: expected unsigned int [usertype] pa_hi ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2063:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2411:18: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2518:23: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2573:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2588:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2604:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2606:24: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2610:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2615:29: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2634:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2693:34: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2696:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2700:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2703:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2722:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2726:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2770:24: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c: note: in included file: ../drivers/infiniband/hw/ocrdma/ocrdma.h:499:21: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:505:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:505:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:517:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:523:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:511:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:499:21: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:505:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/efa/efa_verbs.c:2238:30: warning: symbol 'efa_uapi_defs' was not declared. Should it be static? ../drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1690:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1691:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_hw.c:126:15: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_ah.c:154:23: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_ah.c:154:23: expected unsigned int [usertype] valid ../drivers/infiniband/hw/ocrdma/ocrdma_ah.c:154:23: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: got restricted __le32 [usertype] ../drivers/infiniband/sw/siw/siw_mem.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1615:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../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/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/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/vmw_pvrdma/pvrdma_qp.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: got restricted __le32 [usertype] ../drivers/infiniband/sw/siw/siw_qp.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/infiniband/sw/siw/siw_qp_rx.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/siw_qp_tx.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/ulp/rtrs/rtrs-srv.c:1037:16: warning: restricted __le16 degrades to integer ../drivers/infiniband/sw/rdmavt/qp.c: note: in included file (through ../include/rdma/rdmavt_cq.h, ../include/rdma/rdmavt_qp.h, ../drivers/infiniband/sw/rdmavt/qp.h): ../include/uapi/rdma/rvt-abi.h:64:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/qp.c: note: in included file (through ../drivers/infiniband/sw/rdmavt/qp.h): ../include/rdma/rdmavt_qp.h:205:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/rc.c: note: in included file: ../include/rdma/rdmavt_qp.h:205:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/rc.c: note: in included file (through ../include/rdma/rdmavt_cq.h, ../include/rdma/rdmavt_qp.h): ../include/uapi/rdma/rvt-abi.h:64:27: warning: array of flexible structures ../drivers/infiniband/core/cache.c:654:52: error: incompatible types in comparison expression (different address spaces): ../drivers/infiniband/core/cache.c:654:52: struct net_device [noderef] __rcu * ../drivers/infiniband/core/cache.c:654:52: struct net_device * ../drivers/infiniband/core/cache.c:692:43: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/cache.c:692:43: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/cache.c:692:43: got struct net_device *ndev ../drivers/infiniband/core/cache.c:847:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/cache.c:847:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/cache.c:847:23: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1018:52: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/cache.c:1018:52: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/cache.c:1018:52: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1424:59: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/cache.c:1424:59: expected struct net_device *dev ../drivers/infiniband/core/cache.c:1424:59: got struct net_device [noderef] __rcu *const ndev ../drivers/infiniband/sw/rdmavt/srq.c: note: in included file (through ../include/rdma/rdmavt_cq.h, ../include/rdma/rdmavt_qp.h, ../drivers/infiniband/sw/rdmavt/qp.h, ../drivers/infiniband/sw/rdmavt/vt.h): ../include/uapi/rdma/rvt-abi.h:64:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/srq.c: note: in included file (through ../drivers/infiniband/sw/rdmavt/qp.h, ../drivers/infiniband/sw/rdmavt/vt.h): ../include/rdma/rdmavt_qp.h:205:27: warning: array of flexible structures ../drivers/infiniband/sw/siw/siw_verbs.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:810:48: warning: incorrect type in argument 2 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:810:48: expected void *filter_cookie ../drivers/infiniband/core/roce_gid_mgmt.c:810:48: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:813:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:813:31: expected struct net_device *dev ../drivers/infiniband/core/roce_gid_mgmt.c:813:31: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:850:31: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:850:31: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:850:31: got struct net_device *ndev ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../drivers/net/fjes/fjes_ethtool.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h, ../drivers/net/fjes/fjes.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/infiniband/core/mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_mad.h): ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:120:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:120:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:294:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:294:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:294:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:339:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:339:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:339:1: warning: cast to restricted __be16 ../drivers/infiniband/core/mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_mad.h): ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:23:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:120:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:120:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:183:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:183:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:294:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:339:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_dlid ../drivers/infiniband/core/mad.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../include/trace/events/ib_mad.h): ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:23:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:120:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:120:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:183:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:183:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:294:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:339:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_dlid ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../drivers/net/usb/rtl8150.c:192:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/rtl8150.c:192:22: expected unsigned short [usertype] rx_creg ../drivers/net/usb/rtl8150.c:192:22: got restricted __le16 [usertype] In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/hso.c:1477:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1478:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1479:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1487:37: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1631:37: warning: cast to restricted __le16 ../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/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:891:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/infiniband/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../drivers/infiniband/core/cm.c:1293:20: warning: cast from restricted __be32 ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../drivers/infiniband/core/cma.c:2083:9: warning: context imbalance in 'destroy_id_handler_unlock' - wrong count at exit ../drivers/infiniband/core/cma.c:2092:6: warning: context imbalance in 'rdma_destroy_id' - unexpected unlock ../drivers/infiniband/core/cma.c:2235:17: warning: context imbalance in 'cma_ib_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:2427:17: warning: context imbalance in 'cma_ib_req_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:2550:17: warning: context imbalance in 'cma_iw_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:2595:17: warning: context imbalance in 'iw_conn_req_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:3013:17: warning: context imbalance in 'cma_work_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:3518:17: warning: context imbalance in 'addr_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:4247:17: warning: context imbalance in 'cma_sidr_rep_handler' - unexpected unlock ../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/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/core/user_mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_umad.h): ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be64 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../drivers/infiniband/core/user_mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_umad.h): ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qpn ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qpn ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qkey ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qkey ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] lid ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] lid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] mad_status ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] status ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_umad.h:16:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] attr_mod ../drivers/infiniband/core/user_mad.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../include/trace/events/ib_umad.h): ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qpn ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qpn ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qkey ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qkey ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] lid ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] lid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] mad_status ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] status ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_umad.h:16:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] attr_mod ../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/infiniband/core/uverbs_cmd.c:3726:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3726:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3726:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3726:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3740:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3740:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3824:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3824:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3824:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3824:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3840:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3840:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3840:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3840:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3840:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3840:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3859:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3859:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3859:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3859:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3873:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3873:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3873:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3873:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3952:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3952:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3952:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3952:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3970:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3970:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3970:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3970:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3970:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3970:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:4033:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:4033:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:4033:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:4033:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:4033:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:4033:9: also defined here ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/core/uverbs_ioctl.c:440:17: warning: incorrect type in assignment (different modifiers) ../drivers/infiniband/core/uverbs_ioctl.c:440:17: expected int ( *handler )( ... ) ../drivers/infiniband/core/uverbs_ioctl.c:440:17: got int ( [noderef] * )( ... ) ../drivers/net/usb/lg-vl600.c:134:13: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:134:13: warning: cast from restricted __le32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast from restricted __le32 ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/usb/aqc111.c:1093:34: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1093:34: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1093:34: got unsigned long long [usertype] * ../drivers/net/usb/aqc111.c:1121:45: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1121:45: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1121:45: got unsigned long long [usertype] *[assigned] pkt_desc_ptr ../drivers/net/usb/aqc111.c:1234:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/aqc111.c:1234:22: expected unsigned long long [usertype] ../drivers/net/usb/aqc111.c:1234:22: got restricted __le64 [usertype] ../drivers/infiniband/hw/hfi1/tid_rdma.c:2375:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:2376:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4236:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4237:9: warning: dubious: !x & y ../drivers/infiniband/core/umem_odp.c:346:5: warning: context imbalance in 'ib_umem_odp_map_dma_and_lock' - 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? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../security/selinux/netnode.c:73:17: warning: restricted __be32 degrades to integer ../security/selinux/netnode.c:90:32: warning: restricted __be32 degrades to integer ../net/sched/sch_mqprio.c:702:17: warning: context imbalance in 'mqprio_dump_class_stats' - different lock contexts for basic block ../security/selinux/avc.c:461:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../security/smack/smackfs.c:935:17: error: incompatible types in comparison expression (different address spaces): ../security/smack/smackfs.c:935:17: struct netlbl_lsm_catmap [noderef] __rcu * ../security/smack/smackfs.c:935:17: struct netlbl_lsm_catmap * ../security/smack/smackfs.c:1504:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1507:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1945:17: error: incompatible types in comparison expression (different address spaces): ../security/smack/smackfs.c:1945:17: struct list_head [noderef] __rcu * ../security/smack/smackfs.c:1945:17: struct list_head * ../security/smack/smackfs.c:532:13: warning: context imbalance in 'smk_seq_start' - wrong count at exit ../security/smack/smackfs.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/vmalloc.h): ../include/linux/rcupdate.h:880:25: warning: context imbalance in 'smk_seq_stop' - unexpected unlock ../net/socket.c:1706:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../security/smack/smack_lsm.c:1944:61: warning: incorrect type in argument 1 (different address spaces) ../security/smack/smack_lsm.c:1944:61: expected struct cred const *cred ../security/smack/smack_lsm.c:1944:61: got struct cred const [noderef] __rcu *cred ../security/smack/smack_lsm.c:5240:30: warning: cast removes address space '__rcu' of expression ../net/core/sock.c:2477:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2481:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4115:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4127:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../security/selinux/hooks.c:5451:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5452:22: warning: restricted __be16 degrades to integer ../drivers/scsi/fcoe/fcoe.c:1708:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/fcoe/fcoe.c:1708:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/fcoe/fcoe.c:1708:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/fcoe/fcoe.c:1633:13: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_fip.c:21:48: error: invalid initializer ../drivers/scsi/qedf/qedf_fip.c:165:38: error: invalid initializer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:25:1: warning: symbol '__pcpu_scope_bnx2fc_percpu' was not declared. Should it be static? ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:551:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:551:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:551:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:624:18: warning: cast to restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:1027:36: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:1027:36: expected restricted __be32 [usertype] rnid_atype ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:1027:36: got int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: got restricted __le32 [usertype] fc_crc_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:702:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: got restricted __le32 [usertype] fcoe_tx_pkt_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:704:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: got restricted __le32 [usertype] fcoe_tx_byte_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:706:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: got restricted __le32 [usertype] fcoe_rx_pkt_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:708:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: incorrect type in assignment (different base types) ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: expected unsigned int [usertype] val ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: got restricted __le32 [usertype] fcoe_rx_byte_cnt ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: invalid assignment: -= ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: left side has type unsigned int ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: right side has type restricted __le32 ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c:710:9: warning: restricted __le32 degrades to integer ../drivers/scsi/bnx2fc/bnx2fc_fcoe.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/bnx2fc/bnx2fc.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_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) ../net/packet/af_packet.c:1113:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block ../net/packet/af_packet.c:2555:17: warning: context imbalance in 'tpacket_rcv' - unexpected unlock ../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 ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/3c509.c:253:41: warning: restricted __be16 degrades to integer ../drivers/scsi/fcoe/fcoe_ctlr.c:52:37: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c:53:38: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c:54:38: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c:55:36: error: invalid initializer ../drivers/scsi/fcoe/fcoe_ctlr.c: note: in included file: ../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_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_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/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:2822:25: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2825: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/8390/ne2k-pci.c:515:31: warning: cast to restricted __le32 ../drivers/net/ethernet/8390/ne2k-pci.c:342:47: warning: cast to restricted __le32 ../drivers/net/ethernet/3com/3c589_cs.c:296:35: warning: cast to restricted __le16 ../drivers/net/ethernet/8390/pcnet_cs.c:1157:18: warning: cast to restricted __le16 ../drivers/net/ethernet/8390/pcnet_cs.c:1375:18: warning: cast to restricted __le16 ../drivers/net/ethernet/8390/axnet_cs.c:642:18: warning: cast to restricted __le16 ../drivers/net/ethernet/3com/3c574_cs.c:348:35: warning: cast to restricted __le16 ../drivers/net/ethernet/adaptec/starfire.c:1507:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/adaptec/starfire.c:1507:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/adaptec/starfire.c:1507:35: got unsigned short [usertype] ../drivers/net/ethernet/adaptec/starfire.c:1823:41: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/adaptec/starfire.c:1823:41: expected unsigned short val ../drivers/net/ethernet/adaptec/starfire.c:1823:41: got restricted __le16 ../drivers/net/ethernet/alacritech/slicoss.c:1091:24: warning: cast to restricted __le32 ../drivers/net/ethernet/3com/typhoon.c:769:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/3com/typhoon.c:525:39: warning: context imbalance in 'typhoon_process_response' - different lock contexts for basic block ../drivers/net/ethernet/3com/3c59x.c:3247:35: warning: restricted pci_power_t degrades to integer ../drivers/net/ethernet/3com/3c59x.c:3247:53: warning: restricted pci_power_t degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: expected restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:1350:41: got unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: expected restricted __wsum [usertype] csum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:427:27: got int [assigned] wrs_needed ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:494:24: warning: cast from restricted __wsum ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:796:37: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:797:38: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:798:18: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:819:28: warning: cast to restricted __be16 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:827:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:935:25: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:936:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:940:32: warning: restricted __be32 degrades to integer ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: expected unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c:942:69: got restricted __be32 [usertype] ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.c: note: in included file: ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: warning: incorrect type in return expression (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: expected unsigned int ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:29:57: got restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: expected restricted __be32 [usertype] iscsi_ipv4addr ../drivers/scsi/cxgbi/cxgb3i/cxgb3i.h:38:28: got unsigned int addr ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2325:25: warning: cast to restricted __be64 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1304:24: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1323:17: warning: cast to restricted __be32 ../drivers/net/ethernet/alteon/acenic.c:1989:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/alteon/acenic.c:1989:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/alteon/acenic.c:1989:35: got restricted __be16 [usertype] ../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:5343:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3835:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5301:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../net/rds/af_rds.c:245:22: warning: invalid assignment: |= ../net/rds/af_rds.c:245:22: left side has type restricted __poll_t ../net/rds/af_rds.c:245:22: right side has type int ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../drivers/net/macsec.c:418:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:418:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:418:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:418:22: got unsigned int ../drivers/net/macsec.c:419:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:419:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:419:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:419:20: got unsigned long long ../net/rds/connection.c:71:31: warning: incorrect type in argument 1 (different base types) ../net/rds/connection.c:71:31: expected restricted __be32 const [usertype] laddr ../net/rds/connection.c:71:31: got unsigned int [assigned] [usertype] lhash ../net/rds/connection.c:71:41: warning: incorrect type in argument 3 (different base types) ../net/rds/connection.c:71:41: expected restricted __be32 const [usertype] faddr ../net/rds/connection.c:71:41: got unsigned int [assigned] [usertype] fhash ../drivers/scsi/qedi/qedi_main.c:96:36: warning: restricted __le16 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1214:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1214:20: expected unsigned int [usertype] iscsi_cid ../drivers/scsi/qedi/qedi_main.c:1214:20: got restricted __le16 [usertype] conn_id ../drivers/scsi/qedi/qedi_main.c:1226:74: warning: incorrect type in argument 2 (different base types) ../drivers/scsi/qedi/qedi_main.c:1226:74: expected unsigned int [usertype] tid ../drivers/scsi/qedi/qedi_main.c:1226:74: got restricted __le16 [usertype] itid ../drivers/scsi/qedi/qedi_main.c:1274:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1274:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1274:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1326:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1326:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedi/qedi_main.c:1326:18: got restricted __le16 ../drivers/scsi/qedi/qedi_main.c:1854:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1854:32: expected restricted __le32 [usertype] itt ../drivers/scsi/qedi/qedi_main.c:1854:32: got unsigned int [usertype] proto_itt ../drivers/scsi/qedi/qedi_main.c:1867:37: warning: restricted __le32 degrades to integer ../drivers/scsi/qedi/qedi_main.c:1881:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedi/qedi_main.c:1881:20: expected unsigned int [usertype] ../drivers/scsi/qedi/qedi_main.c:1881:20: got restricted __le32 [usertype] itt ../net/rds/send.c:1050:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1050:24: expected unsigned int [usertype] a ../net/rds/send.c:1050:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1052:24: warning: incorrect type in argument 1 (different base types) ../net/rds/send.c:1052:24: expected unsigned int [usertype] a ../net/rds/send.c:1052:24: got restricted __be16 [usertype] sin6_port ../net/rds/send.c:1457:30: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1457:30: expected unsigned short [usertype] npaths ../net/rds/send.c:1457:30: got restricted __be16 [usertype] ../net/rds/send.c:1458:34: warning: incorrect type in initializer (different base types) ../net/rds/send.c:1458:34: expected unsigned int [usertype] my_gen_num ../net/rds/send.c:1458:34: got restricted __be32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:256:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:256:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:256:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:458:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:458:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:458:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:707:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:707:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:707:37: got restricted __le32 [usertype] ../drivers/net/ethernet/amd/pcnet32.c:695:39: warning: context imbalance in 'pcnet32_suspend' - unexpected unlock ../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_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/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../net/caif/caif_usb.c:110:32: warning: restricted __be16 degrades to integer ../net/caif/caif_usb.c:111:33: warning: restricted __be16 degrades to integer ../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/atheros/atlx/atl1.c:1999:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atlx/atl1.c:2060:33: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2128:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2130:45: right side has type unsigned int ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2133:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2134:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2144:45: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2148:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2150:37: right side has type unsigned int ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2152:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2154:37: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2176:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2178:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2180:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2209:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2306:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:32: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2314:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2318:44: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2320:44: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2324:36: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2403:29: right side has type int ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atlx/atl1.c:2404:29: right side has type int ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:61:27: warning: symbol 'hw_atl2_caps_aqc113' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:72:27: warning: symbol 'hw_atl2_caps_aqc115c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:81:27: warning: symbol 'hw_atl2_caps_aqc116c' was not declared. Should it be static? ../drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c:825:24: warning: symbol 'hw_atl2_ops' was not declared. Should it be static? ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1447:45: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1475:46: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1666:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1669:44: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1672:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1674:44: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1691:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1693:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1695:36: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1718:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:42: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1737:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1736:32: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:42: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1782:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1781:32: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1832:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: expected restricted __le32 [usertype] word2 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1831:40: got unsigned int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1837:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1839:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1842:24: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1891:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1893:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1898:28: right side has type int ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1e/atl1e_main.c:1901:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1852:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1893:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1894:39: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1907:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1920:41: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1937:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1941:32: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2178:19: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: expected unsigned short [usertype] vlan ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: got restricted __le16 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: expected restricted __le16 [usertype] tag ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: got int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1734:25: warning: restricted __le32 degrades to integer ../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/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3191:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3191 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3191:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3191 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3192 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: expected unsigned int [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:60:31: got restricted __be32 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: expected unsigned short [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_hw.c:61:31: got restricted __be16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:284:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:284:16: expected unsigned int [usertype] bottom ../drivers/net/ethernet/cadence/macb_main.c:284:16: got restricted __le32 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:286:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:286:13: expected unsigned short [usertype] top ../drivers/net/ethernet/cadence/macb_main.c:286:13: got restricted __le16 [usertype] ../drivers/net/ethernet/cadence/macb_main.c:3487:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3492:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3497:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3497:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3522:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3526:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3526:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3526:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3536:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3540:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3540:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3540:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3550:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3556:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3564:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3565:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3568:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3604:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3604:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3658:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3658:25: warning: cast from restricted __be32 ../net/rds/tcp_listen.c:301:33: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:301:33: expected restricted __be16 [usertype] sin6_port ../net/rds/tcp_listen.c:301:33: got unsigned short [usertype] ../net/rds/tcp_listen.c:308:38: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:308:38: expected restricted __be32 [usertype] s_addr ../net/rds/tcp_listen.c:308:38: got unsigned long ../net/rds/tcp_listen.c:309:31: warning: incorrect type in assignment (different base types) ../net/rds/tcp_listen.c:309:31: expected restricted __be16 [usertype] sin_port ../net/rds/tcp_listen.c:309:31: got unsigned short [usertype] ../drivers/net/ethernet/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:1444:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1444:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1444:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1448:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/alx/main.c:1448:39: expected restricted __le32 [usertype] pkt_len ../drivers/net/ethernet/atheros/alx/main.c:1448:39: got unsigned int len ../drivers/net/ethernet/atheros/alx/main.c:1449:30: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1449:30: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1449:30: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1452:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1452:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1452:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1453:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1453:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1453:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1455:22: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/alx/main.c:1455:22: left side has type restricted __le32 ../drivers/net/ethernet/atheros/alx/main.c:1455:22: right side has type int ../drivers/net/ethernet/atheros/alx/main.c:1469:16: warning: restricted __le32 degrades to integer ../drivers/net/wireless/ti/wlcore/main.c:671:33: warning: context imbalance in 'wlcore_irq_locked' - different lock contexts for basic block ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:396:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:452:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:551:23: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:617:17: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:639:25: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:640:23: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:667:39: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:668:41: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:712:73: warning: cast to restricted __be16 ../drivers/net/ethernet/brocade/bna/bnad.c:1322:33: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:1322:33: warning: cast to restricted __be32 ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:1362:25: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: expected unsigned short [usertype] vlan_tag ../drivers/net/ethernet/brocade/bna/bnad.c:2816:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2825:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2829:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: expected unsigned short [usertype] lso_mss ../drivers/net/ethernet/brocade/bna/bnad.c:2830:48: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2839:53: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2843:39: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2865:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2878:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: expected unsigned short [usertype] flags ../drivers/net/ethernet/brocade/bna/bnad.c:2898:30: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: expected unsigned int [usertype] frame_length ../drivers/net/ethernet/brocade/bna/bnad.c:2899:37: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3019:9: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3020:34: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:3044:51: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3060:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3061:48: got restricted __be16 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: expected restricted __be16 [usertype] l2t_idx ../drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:520:30: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘cxgb4vf_get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:44: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1560:18: note: directive argument in the range [0, 255] 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1559:9: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 1559 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1560 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1561 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1562 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1563 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1564 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1566 | FW_HDR_FW_VER_MINOR_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1567 | FW_HDR_FW_VER_MICRO_G(adapter->params.dev.tprev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1568 | FW_HDR_FW_VER_BUILD_G(adapter->params.dev.tprev)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘adapter_up’: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 5 and 20 [-Wformat-truncation=] 371 | "%s-%d", dev->name, qs); | ^~ In function ‘name_msix_vecs’, inlined from ‘adapter_up’ at ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:778:4: ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:371:34: note: directive argument in the range [-2147483641, 254] 371 | "%s-%d", dev->name, qs); | ^~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:370:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 21 370 | snprintf(adapter->msix_info[msi].desc, namelen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 371 | "%s-%d", dev->name, qs); | ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c: In function ‘bnx2_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnx2.c:6288:56: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~ In function ‘bnx2_enable_msix’, inlined from ‘bnx2_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnx2.c:6314:3: ../drivers/net/ethernet/broadcom/bnx2.c:6288:52: note: directive argument in the range [0, 2147483646] 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:6288:17: note: ‘snprintf’ output between 3 and 27 bytes into a destination of size 18 6288 | snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - unexpected unlock ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:30: note: directive argument in the range [0, 255] 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1434:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1434 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:515:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:518:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:521:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:524:36: got unsigned short [usertype] ../drivers/net/ethernet/broadcom/cnic.c:5262:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5262:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5262:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5217:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5217:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:5218:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5218:40: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:5218:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1391:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1391:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1392:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1392:33: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1392:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1417:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1687:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1687:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1688:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1688:22: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1688:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1729:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1729:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1729:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1731:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1731:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1731:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1733:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1734:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1735:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1737:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1737:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1737:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1739:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1739:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1739:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1741:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1741:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1741:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1743:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1743:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1743:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1745:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1745:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1745:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1747:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1747:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1747:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1749:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1749:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1749:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1751:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1751:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1751:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1753:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1753:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1753:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1775:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1775:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1775:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1777:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1777:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1777:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1788:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1788:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1788:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1790:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1790:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1790:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1792:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1794:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1796:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1796:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1796:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1798:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1798:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1798:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1800:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1800:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1800:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1802:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1802:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1802:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1804:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1804:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1804:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1807:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1808:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1822:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1824:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1828:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1830:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1830:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1830:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1832:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1832:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1832:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1834:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1834:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1834:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1845:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1845:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1845:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1847:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1847:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1847:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1849:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1849:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1850:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1851:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1851:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1851:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1853:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1853:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1853:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1857:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1857:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1857:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1859:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1859:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1859:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2078:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2327:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2327:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:35: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:2328:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2329:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2329:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2329:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2331:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2331:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2332:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2332:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2332:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2373:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2373:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2373:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2431:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2431:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2431:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2448:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2448:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2448:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2449:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2476:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2476:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2477:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2477:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2477:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2510:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2510:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2511:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2511:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2511:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2523:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2523:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2523:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2538:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2538:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2538:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2611:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2611:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2611:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3512:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3513:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3514:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3515:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3516:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3517:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3532:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3533:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3535:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3638:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3791:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3791:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3791:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3797:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3797:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3798:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3798:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3798:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3828:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3985:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4947:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4947:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4955:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4955:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4955:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4958:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4958:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4958:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4983:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4983:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4983:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5048:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5048:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5048:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5050:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5050:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5050:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5068:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5068:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5068:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5070:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5070:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5070:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5075:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5075:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5075:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5077:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5077:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5077:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5087:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5087:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5087:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5089:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5089:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5089:41: got restricted __le16 * ../drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/net/ethernet/chelsio/cxgb/sge.c:1390:65: warning: cast to restricted __be16 ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: expected unsigned short [usertype] vlan ../drivers/net/ethernet/chelsio/cxgb/sge.c:1901:27: got restricted __be16 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: expected unsigned int [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:833:31: got restricted __be32 [usertype] ../drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:3601:52: warning: dubious: !x | y ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘setup_sge_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 23 [-Wformat-truncation=] 1074 | "%s-Rx%d", dev->name, j); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1074:42: note: directive argument in the range [-2147483641, 254] 1074 | "%s-Rx%d", dev->name, j); | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1072:33: note: ‘snprintf’ output between 5 and 30 bytes into a destination of size 26 1072 | snprintf(adap->msix_info[msix].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1073 | sizeof(adap->msix_info[msix].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1074 | "%s-Rx%d", dev->name, j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function ‘cxgb4_port_mirror_alloc_queues’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:47: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1356:34: note: directive argument in the range [0, 65534] 1356 | "%s-mirrorrxq%d", dev->name, i); | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:1354:25: note: ‘snprintf’ output between 12 and 31 bytes into a destination of size 26 1354 | snprintf(mirror_rxq->msix->desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1355 | sizeof(mirror_rxq->msix->desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1356 | "%s-mirrorrxq%d", dev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: expected unsigned int [usertype] rss ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: expected unsigned int [usertype] priority ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: got restricted __be32 [assigned] [usertype] rss_lo ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2120:16: warning: cast to restricted __be32 ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c: In function ‘alloc_uld_rxqs’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 141 | "%s-%s%d", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:141:34: note: directive argument in the range [0, 131069] 141 | "%s-%s%d", | ^~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:139:25: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 26 139 | snprintf(adap->msix_info[msi_idx].desc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | sizeof(adap->msix_info[msi_idx].desc), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "%s-%s%d", | ~~~~~~~~~~ 142 | adap->port[0]->name, rxq_info->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c: In function ‘get_drvinfo’: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:52: warning: ‘%u’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 14 [-Wformat-truncation=] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:209:26: note: directive argument in the range [0, 255] 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c:208:17: note: ‘snprintf’ output between 20 and 36 bytes into a destination of size 32 208 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | "%u.%u.%u.%u, TP %u.%u.%u.%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 211 | FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | FW_HDR_FW_VER_MAJOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | FW_HDR_FW_VER_MINOR_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | FW_HDR_FW_VER_MICRO_G(adapter->params.tp_vers), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | FW_HDR_FW_VER_BUILD_G(adapter->params.tp_vers)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/vt6655/card.c:302:31: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:336:22: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:751:16: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:804:22: warning: cast to restricted __le64 ../drivers/staging/vt6655/card.c:831:18: warning: cast to restricted __le64 ../drivers/staging/vt6655/device_main.c:1598:46: warning: cast to restricted __le64 ../drivers/net/ethernet/dlink/dl2k.c:344:35: warning: restricted __le32 degrades to integer In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/rcupdate.h:26, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_security.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_BIP_verify’ at ../drivers/staging/rtl8723bs/core/rtw_security.c:1424:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c: In function ‘be_get_drvinfo’: ../drivers/net/ethernet/emulex/benet/be_ethtool.c:229:29: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ^~ ../drivers/net/ethernet/emulex/benet/be_ethtool.c:228:17: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 32 228 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | "%s [%s]", adapter->fw_ver, adapter->fw_on_flash); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/broadcom/genet/bcmmii.c:17: ../drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_pd_init’: ../include/linux/phy.h:307:20: warning: ‘%02x’ directive output may be truncated writing between 2 and 8 bytes into a region of size between 0 and 60 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:24: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~ ../include/linux/phy.h:307:20: note: using the range [0, 4294967295] for directive argument 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:53: note: in expansion of macro ‘PHY_ID_FMT’ 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/genet/bcmmii.c:604:17: note: ‘snprintf’ output between 4 and 70 bytes into a destination of size 61 604 | snprintf(phy_name, MII_BUS_ID_SIZE, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | mdio_bus_id, pd->phy_address); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2325:60: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-truncation=] 2325 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2325:52: note: directive argument in the range [-2147483639, 2147483646] 2325 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2325:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2325 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2326 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4162:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 27 [-Wformat-truncation=] 4162 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5078:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4161:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 32 4161 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4162 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/rcupdate.h:26, from ../include/linux/rculist.h:11, from ../include/linux/sched/signal.h:5, from ../drivers/staging/rtl8723bs/include/drv_types.h:17, from ../drivers/staging/rtl8723bs/core/rtw_xmit.c:7: In function ‘fortify_memcpy_chk’, inlined from ‘rtw_mgmt_xmitframe_coalesce’ at ../drivers/staging/rtl8723bs/core/rtw_xmit.c:1209:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ethernet/freescale/enetc/enetc_ethtool.c: note: in included file (through ../drivers/net/ethernet/freescale/enetc/enetc.h): ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: restricted __le64 degrades to integer ../drivers/net/ethernet/freescale/enetc/enetc_hw.h:488:16: warning: cast to restricted __le64 ../drivers/net/ethernet/huawei/hinic/hinic_main.c:830: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/net/ethernet/mediatek/mtk_ppe_debugfs.c:162:46: warning: cast to restricted __be16 ../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/cgx.c: In function ‘cgx_lmac_init’: ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:49: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 6 [-Wformat-overflow=] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:37: note: directive argument in the range [-2147483641, 254] 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/af/cgx.c:1678:17: note: ‘sprintf’ output between 12 and 24 bytes into a destination of size 16 1678 | sprintf(lmac->name, "cgx_fwi_%d_%d", cgx->cgx_id, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit ../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:596:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:646:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1275:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:21: got void [noderef] __iomem * ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/micrel/ksz884x.c:3146:50: warning: restricted pci_power_t degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: expected unsigned int [usertype] next ../drivers/net/ethernet/micrel/ksz884x.c:3467:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: expected unsigned int [usertype] next ../drivers/net/ethernet/micrel/ksz884x.c:3469:29: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:3471:33: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4377:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4670:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4706:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:4751:31: warning: cast to restricted __le32 ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1542:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: expected unsigned int [usertype] addr ../drivers/net/ethernet/micrel/ksz884x.c:1562:25: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1518:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4593:18: got restricted __be16 [usertype] protocol ../drivers/net/ethernet/micrel/ksz884x.c:4596:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: expected unsigned short protocol ../drivers/net/ethernet/micrel/ksz884x.c:4597:26: got restricted __be16 [usertype] tot_len ../drivers/net/ethernet/micrel/ksz884x.c:4601:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1526:37: got restricted __le32 [usertype] ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: expected unsigned int [usertype] data ../drivers/net/ethernet/micrel/ksz884x.c:1528:30: got restricted __le32 [usertype] ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2769:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/marvell/mv643xx_eth.c:1952:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1952:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1952:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1991:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1991:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1991:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2022:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2022:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2022:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2056:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2056:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2056:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2111:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2111:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2111:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2129:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2129:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2129:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:25:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:28:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:38:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:41:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:822:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c: In function ‘myri10ge_request_irq’: ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:44: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 10 and 25 [-Wformat-truncation=] 2185 | "%s:slice-%d", netdev->name, i); | ^~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2185:34: note: directive argument in the range [-2147483643, 2147483646] 2185 | "%s:slice-%d", netdev->name, i); | ^~~~~~~~~~~~~ ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:2184:25: note: ‘snprintf’ output between 9 and 34 bytes into a destination of size 32 2184 | snprintf(ss->irq_desc, sizeof(ss->irq_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2185 | "%s:slice-%d", netdev->name, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/natsemi/ns83820.c:900:39: warning: cast to restricted __be16 ../drivers/net/ethernet/natsemi/ns83820.c:1115:42: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/natsemi/ns83820.c:1983:9: warning: cast to restricted __le32 ../scripts/Makefile.build:229: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch In file included from ../drivers/staging/rtl8723bs/include/drv_types.h:19, from ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:8: ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c: In function ‘rtl8723bs_xmit_thread’: ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:420:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size 11 [-Wformat-truncation=] 420 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/include/osdep_service.h:127:69: note: in definition of macro ‘rtw_sprintf’ 127 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:420:48: note: format string is defined here 420 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~ ../drivers/staging/rtl8723bs/include/osdep_service.h:127:49: note: ‘snprintf’ output between 10 and 25 bytes into a destination of size 20 127 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:420:9: note: in expansion of macro ‘rtw_sprintf’ 420 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~ ../drivers/net/ethernet/nvidia/forcedeth.c:4790:9: warning: context imbalance in 'nv_set_ringparam' - different lock contexts for basic block ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_add_isr’: ../drivers/net/ethernet/neterion/s2io.c:6947:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6947 | "%s:MSI-X-%d-TX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6947:49: note: directive argument in the range [-2147483641, 2147483646] 6947 | "%s:MSI-X-%d-TX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6945:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6945 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6946 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6947 | "%s:MSI-X-%d-TX", | ~~~~~~~~~~~~~~~~~ 6948 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6936:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 3 and 18 [-Wformat-truncation=] 6936 | "%s:MSI-X-%d-RX", | ^~ ../drivers/net/ethernet/neterion/s2io.c:6936:49: note: directive argument in the range [-2147483641, 2147483646] 6936 | "%s:MSI-X-%d-RX", | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6934:41: note: ‘snprintf’ output between 12 and 37 bytes into a destination of size 25 6934 | snprintf(sp->desc[i], | ^~~~~~~~~~~~~~~~~~~~~ 6935 | sizeof(sp->desc[i]), | ~~~~~~~~~~~~~~~~~~~~ 6936 | "%s:MSI-X-%d-RX", | ~~~~~~~~~~~~~~~~~ 6937 | dev->name, i); | ~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c: In function ‘s2io_init_nic’: ../drivers/net/ethernet/neterion/s2io.c:8097:59: warning: ‘%s’ directive output may be truncated writing up to 79 bytes into a region of size between 35 and 50 [-Wformat-truncation=] 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~ ../drivers/net/ethernet/neterion/s2io.c:8097:9: note: ‘snprintf’ output between 11 and 105 bytes into a destination of size 60 8097 | snprintf(sp->name, sizeof(sp->name), "%s Neterion %s", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8098 | sp->product_name); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../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/marvell/skge.c:3115:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/skge.c:3115:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/skge.c:3115:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/skge.c:3115:27: got unsigned short [usertype] ../drivers/net/ethernet/packetengines/hamachi.c:1568:61: warning: cast to restricted __be16 ../drivers/net/ethernet/packetengines/hamachi.c:1568:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/packetengines/hamachi.c:1568:59: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/packetengines/hamachi.c:1568:59: got unsigned short [usertype] ../drivers/net/ethernet/packetengines/hamachi.c:1569:56: warning: restricted __wsum degrades to integer ../drivers/net/ethernet/packetengines/hamachi.c:1570:67: warning: bad assignment (-=) to restricted __wsum ../drivers/net/ethernet/packetengines/hamachi.c:1572:67: warning: bad assignment (+=) to restricted __wsum ../drivers/net/ethernet/marvell/sky2.c:1890:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:1890:28: expected restricted __le16 [usertype] length ../drivers/net/ethernet/marvell/sky2.c:1890:28: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/sky2.c:2670:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/sky2.c:2670:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/sky2.c:2670:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/sky2.c:2670:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/sky2.c:2691:57: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:2699:27: warning: cast to restricted __le32 ../drivers/net/ethernet/marvell/sky2.c:4445:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4445:53: warning: cast from restricted __le16 ../drivers/net/phy/mscc/mscc_main.c: In function ‘vsc85xx_dt_led_modes_get.constprop’: ../drivers/net/phy/mscc/mscc_main.c:452:64: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^ ../drivers/net/phy/mscc/mscc_main.c:452:23: note: ‘sprintf’ output between 19 and 29 bytes into a destination of size 28 452 | ret = sprintf(led_dt_prop, "vsc8531,led-%d-mode", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:571:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:574:38: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:62: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:62: expected restricted __le32 [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:573:62: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:575:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:577:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:578:66: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:601:54: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:601:64: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:601:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:615:22: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:627:63: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:627:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:626:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:633:18: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:633:55: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:632:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:636:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:636:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:650:22: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:662:63: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:662:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:661:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:668:18: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:668:55: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:667:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:670:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:670:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:697:55: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:697:65: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:697:20: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:703:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:710:38: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:22: expected restricted __le32 [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:709:22: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:711:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:712:32: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:717:33: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:718:62: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: expected int idx ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:766:19: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:777:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:14: expected restricted __le32 [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:776:14: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:779:48: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:788:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:788:22: expected unsigned int [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:788:22: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:801:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:801:22: expected unsigned int [usertype] offs ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:801:22: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:833:38: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:834:33: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:33: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:48: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:45: warning: incorrect type in return expression (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:45: expected restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:847:45: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:860:28: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:45: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:863:58: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:70: warning: incorrect type in return expression (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:70: expected restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:862:70: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:911:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:911:21: expected unsigned int [usertype] val ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:911:21: got restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:999:72: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:999:72: expected unsigned long long [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:999:72: got restricted __le64 [assigned] [usertype] data ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1014:60: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1014:60: expected unsigned long long [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1014:60: got restricted __le64 [assigned] [usertype] data ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1025:60: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1025:60: expected unsigned long long [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1025:60: got restricted __le64 [assigned] [usertype] data ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1099:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1099:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1099:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:22: expected restricted __le32 [addressable] [usertype] flash_fw_ver ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1123:22: got unsigned int ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1127:46: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1139:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c:902:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c:902:25: expected unsigned int [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c:902:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c:202:31: warning: cast to restricted __le32 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:1035:24: warning: cast to restricted __le64 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:1037:24: warning: cast to restricted __le64 ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:2133:17: warning: cast truncates bits from constant value (42110030 becomes 30) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c:2133:17: warning: cast truncates bits from constant value (42110030 becomes 30) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c: In function ‘netxen_nic_attach’: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:45: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 4 and 19 [-Wformat-overflow=] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~ In function ‘netxen_nic_request_irq’, inlined from ‘netxen_nic_attach’ at ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1251:8: ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:41: note: directive argument in the range [-2147483641, 254] 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~ ../drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c:1052:17: note: ‘sprintf’ output between 4 and 29 bytes into a destination of size 20 1052 | sprintf(sds_ring->name, "%s[%d]", netdev->name, ring); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/qlcnic/qlcnic_main.c: In function ‘qlcnic_request_irq’: ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:49: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 9 and 24 [-Wformat-truncation=] 1771 | "%s-tx-%d", netdev->name, ring); | ^~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1771:42: note: directive argument in the range [-2147483643, 254] 1771 | "%s-tx-%d", netdev->name, ring); | ^~~~~~~~~~ ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:1770:33: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 28 1770 | snprintf(tx_ring->name, sizeof(tx_ring->name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1771 | "%s-tx-%d", netdev->name, ring); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/wireless/mediatek/mt76/mt7915/mmio.c:634:5: warning: context imbalance in 'mt7915_mmio_wed_init' - wrong count at exit ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:998:14: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1008:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1011:28: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1058:27: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1061:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1112:21: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1114:33: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1143:30: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1147:42: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1152:50: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1153:40: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1344:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:951:21: warning: cast truncates bits from constant value (ffffffff7fffffff becomes 7fffffff) In file included from ../include/linux/string.h:390, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:62, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/realtek/8139too.c:2247:9: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/realtek/8139too.c:2247:9: expected unsigned int [usertype] ../drivers/net/ethernet/realtek/8139too.c:2247:9: got restricted __le32 [usertype] ../drivers/net/ethernet/realtek/8139too.c:2248:9: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/realtek/8139too.c:2248:9: expected unsigned int [usertype] ../drivers/net/ethernet/realtek/8139too.c:2248:9: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:897:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:897:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:897:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:898:37: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:898:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:905:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:905:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:906:37: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:906:37: got void * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1184:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: expected void [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1189:31: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: expected void const [noderef] __iomem * ../drivers/net/ethernet/renesas/sh_eth.c:1212:33: got void *addr ../drivers/net/ethernet/renesas/sh_eth.c:1242:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1247:17: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1252:25: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1260:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1262:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1266:49: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1283:33: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1359:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1360:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1361:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1375:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:1383:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1384:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1393:24: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: warning: invalid assignment: &= ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1545:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1602:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/renesas/sh_eth.c:1605:31: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1606:27: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1644:36: warning: cast to restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:1675:29: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:1691:38: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1695:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:1698:40: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: expected unsigned int [usertype] status ../drivers/net/ethernet/renesas/sh_eth.c:2473:32: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2474:30: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: expected unsigned int [usertype] addr ../drivers/net/ethernet/renesas/sh_eth.c:2525:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: expected unsigned int [usertype] len ../drivers/net/ethernet/renesas/sh_eth.c:2526:22: got restricted __le32 [usertype] ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2530:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: warning: invalid assignment: |= ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: left side has type unsigned int ../drivers/net/ethernet/renesas/sh_eth.c:2532:32: right side has type restricted __le32 ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: expected void *addr ../drivers/net/ethernet/renesas/sh_eth.c:3105:23: got void [noderef] __iomem * ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:277:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 277 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:275:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 275 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 277 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vxlan/vxlan_core.c:392:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:392:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:392:34: got restricted __be32 [usertype] vni ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/wiznet/w5100.c: In function ‘w5100_probe’: ../drivers/net/ethernet/wiznet/w5100.c:1190:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~ ../drivers/net/ethernet/wiznet/w5100.c:1190:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 1190 | snprintf(link_name, 16, "%s-link", netdev_name(ndev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_shutdown' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_reset_task' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_link_timer' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_open' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_close' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_suspend' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_resume' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4474:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/via/via-rhine.c:1135:39: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/cxgb4/device.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/net/ethernet/via/via-velocity.c: note: in included file: ../drivers/net/ethernet/via/via-velocity.h:236:24: warning: mixed bitwiseness ../drivers/net/ethernet/via/via-velocity.c:88:26: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:88:26: expected void *addr ../drivers/net/ethernet/via/via-velocity.c:88:26: got struct mac_regs [noderef] __iomem *mac_regs ../drivers/net/ethernet/via/via-velocity.c:91:49: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:91:49: expected restricted pci_power_t [usertype] state ../drivers/net/ethernet/via/via-velocity.c:91:49: got char state ../drivers/net/ethernet/via/via-velocity.c:93:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:93:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/via/via-velocity.c:93:36: got void * ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/via/via-velocity.c:1745:34: expected unsigned long [usertype] __UNIQUE_ID_y_1655 ../drivers/net/ethernet/via/via-velocity.c:1745:34: got restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1748:17: warning: cast to restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:2241:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2241:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2241:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2249:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2249:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2249:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2436:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2436:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2436:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2449:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2449:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2449:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2874:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2874:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2874:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3145:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3145:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3145:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3151:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3151:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3151:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3203:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3203:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:3203:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3273:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3273:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3273:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3290:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3290:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3290:48: got restricted pci_power_t [usertype] ../drivers/infiniband/hw/cxgb4/provider.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:302:5: warning: context imbalance in 'mt7996_mmio_wed_init' - wrong count at exit ../drivers/net/ethernet/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6031:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6049:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6115:8: ../drivers/net/ethernet/sun/niu.c:6031:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/efa/efa_main.c:444:30: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/efa/efa_main.c:444:30: expected restricted __be64 [usertype] node_guid ../drivers/infiniband/hw/efa/efa_main.c:444:30: got unsigned long long [usertype] guid ../drivers/infiniband/sw/siw/siw_cq.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/hw/cxgb4/cm.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/cq.c:418:36: warning: context imbalance in 'c4iw_flush_hw_cq' - unexpected unlock ../drivers/infiniband/hw/cxgb4/cq.c:946:9: warning: context imbalance in 'c4iw_poll_cq_one' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:410:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:419:36: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../drivers/infiniband/sw/siw/siw_cm.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/net/ethernet/sfc/mcdi_mon.c: In function ‘efx_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/wiznet/w5300.c: In function ‘w5300_hw_probe’: ../drivers/net/ethernet/wiznet/w5300.c:576:42: warning: ‘%s’ directive output may be truncated writing up to 20 bytes into a region of size 16 [-Wformat-truncation=] 576 | snprintf(link_name, 16, "%s-link", name); | ^~ ../drivers/net/ethernet/wiznet/w5300.c:576:17: note: ‘snprintf’ output between 6 and 26 bytes into a destination of size 16 576 | snprintf(link_name, 16, "%s-link", name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/sw/siw/siw_mem.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/siw_main.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/rdmavt/rc.c: note: in included file: ../include/rdma/rdmavt_qp.h:205:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/rc.c: note: in included file (through ../include/rdma/rdmavt_cq.h, ../include/rdma/rdmavt_qp.h): ../include/uapi/rdma/rvt-abi.h:64:27: warning: array of flexible structures ../drivers/infiniband/sw/siw/siw_qp.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/hw/efa/efa_verbs.c:2238:30: warning: symbol 'efa_uapi_defs' was not declared. Should it be static? ../drivers/infiniband/hw/cxgb4/qp.c: note: in included file (through ../drivers/infiniband/hw/cxgb4/t4.h, ../drivers/infiniband/hw/cxgb4/iw_cxgb4.h): ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:558:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:559:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:575:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:576:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:610:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/t4fw_ri_api.h:611:17: warning: array of flexible structures ../drivers/infiniband/hw/cxgb4/qp.c:1615:39: warning: context imbalance in '__flush_qp' - different lock contexts for basic block ../drivers/infiniband/sw/rdmavt/srq.c: note: in included file (through ../include/rdma/rdmavt_cq.h, ../include/rdma/rdmavt_qp.h, ../drivers/infiniband/sw/rdmavt/qp.h, ../drivers/infiniband/sw/rdmavt/vt.h): ../include/uapi/rdma/rvt-abi.h:64:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/srq.c: note: in included file (through ../drivers/infiniband/sw/rdmavt/qp.h, ../drivers/infiniband/sw/rdmavt/vt.h): ../include/rdma/rdmavt_qp.h:205:27: warning: array of flexible structures ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1199:43: got unsigned int [usertype] ../drivers/net/ethernet/qlogic/qed/qed_mcp.c:512:9: warning: context imbalance in '_qed_mcp_cmd_and_union' - unexpected unlock ../drivers/infiniband/sw/rdmavt/qp.c: note: in included file (through ../include/rdma/rdmavt_cq.h, ../include/rdma/rdmavt_qp.h, ../drivers/infiniband/sw/rdmavt/qp.h): ../include/uapi/rdma/rvt-abi.h:64:27: warning: array of flexible structures ../drivers/infiniband/sw/rdmavt/qp.c: note: in included file (through ../drivers/infiniband/sw/rdmavt/qp.h): ../include/rdma/rdmavt_qp.h:205:27: warning: array of flexible structures ../drivers/infiniband/core/cache.c:654:52: error: incompatible types in comparison expression (different address spaces): ../drivers/infiniband/core/cache.c:654:52: struct net_device [noderef] __rcu * ../drivers/infiniband/core/cache.c:654:52: struct net_device * ../drivers/infiniband/core/cache.c:692:43: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/cache.c:692:43: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/cache.c:692:43: got struct net_device *ndev ../drivers/infiniband/core/cache.c:847:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/cache.c:847:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/cache.c:847:23: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1018:52: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/cache.c:1018:52: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/cache.c:1018:52: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1424:59: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/cache.c:1424:59: expected struct net_device *dev ../drivers/infiniband/core/cache.c:1424:59: got struct net_device [noderef] __rcu *const ndev ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/roce_gid_mgmt.c:292:23: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:386:48: got struct net_device *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:810:48: warning: incorrect type in argument 2 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:810:48: expected void *filter_cookie ../drivers/infiniband/core/roce_gid_mgmt.c:810:48: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:813:31: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:813:31: expected struct net_device *dev ../drivers/infiniband/core/roce_gid_mgmt.c:813:31: got struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:850:31: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/roce_gid_mgmt.c:850:31: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/roce_gid_mgmt.c:850:31: got struct net_device *ndev ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/sw/siw/siw_qp_tx.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/siw_qp_rx.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../drivers/infiniband/sw/siw/siw_verbs.c: note: in included file (through ../drivers/infiniband/sw/siw/siw.h): ../drivers/infiniband/sw/siw/iwarp.h:183:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:184:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:185:22: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:186:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:187:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:188:23: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/sw/siw/iwarp.h:189:25: error: invalid bitfield specifier for type restricted __be32. ../drivers/infiniband/core/mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_mad.h): ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:23:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:120:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:120:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:183:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:294:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:294:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:294:1: warning: cast to restricted __be32 ../include/trace/events/ib_mad.h:339:1: warning: cast to restricted __be64 ../include/trace/events/ib_mad.h:339:1: warning: cast to restricted __be16 ../include/trace/events/ib_mad.h:339:1: warning: cast to restricted __be16 ../drivers/infiniband/core/mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_mad.h): ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:23:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:120:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:120:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:183:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:183:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:294:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:339:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_dlid ../drivers/infiniband/core/mad.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../include/trace/events/ib_mad.h): ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:23:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:23:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:23:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:23:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned long long [usertype] wrtid ../include/trace/events/ib_mad.h:120:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:120:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:120:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:120:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] status ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] status ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_mad.h:183:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_mad.h:183:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:183:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_mad.h:183:1: got restricted __be32 [usertype] attr_mod ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:294:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_slid ../include/trace/events/ib_mad.h:294:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:294:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:294:1: got restricted __be32 [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned long long [usertype] mkey ../include/trace/events/ib_mad.h:339:1: got restricted __be64 [usertype] mkey ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_slid ../include/trace/events/ib_mad.h:339:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_mad.h:339:1: expected unsigned int [usertype] dr_dlid ../include/trace/events/ib_mad.h:339:1: got restricted __be16 [usertype] dr_dlid ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1477:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1623:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2016:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2022:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2689:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2706:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2728:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2780:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2826:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2839:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2879:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2920:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2979:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3045:34: got int ../scripts/Makefile.build:229: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:833:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:833:28: expected unsigned int [usertype] pa_lo ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:833:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:834:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:834:28: expected unsigned int [usertype] pa_hi ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:834:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1628:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: expected unsigned int [usertype] pa_lo ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2063:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2063:28: expected unsigned int [usertype] pa_hi ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2063:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2411:18: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2442:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2445:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2451:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2454:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2459:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2462:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2518:23: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2573:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2588:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2604:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2606:24: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2610:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2615:29: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2634:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2693:34: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2696:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2700:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2703:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2722:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2726:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2770:24: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c: note: in included file: ../drivers/infiniband/hw/ocrdma/ocrdma.h:499:21: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:505:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:505:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:517:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:523:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:511:17: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:499:21: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma.h:505:17: warning: cast to restricted __le32 ../drivers/infiniband/ulp/rtrs/rtrs-srv.c:1037:16: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:110:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/jme.c:956:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/jme.c:956:14: expected unsigned short [usertype] csum ../drivers/net/ethernet/jme.c:956:14: got restricted __sum16 [usertype] check ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_ethtool.c:1306:42: got int ../drivers/infiniband/hw/ocrdma/ocrdma_ah.c:154:23: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_ah.c:154:23: expected unsigned int [usertype] valid ../drivers/infiniband/hw/ocrdma/ocrdma_ah.c:154:23: got restricted __le32 [usertype] ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1690:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_hw.c:1691:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_hw.c:126:15: warning: cast to restricted __le32 ../drivers/net/fjes/fjes_ethtool.c: note: in included file (through ../drivers/net/fjes/fjes_hw.h, ../drivers/net/fjes/fjes.h): ../drivers/net/fjes/fjes_regs.h:47:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:48:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:55:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:56:23: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:64:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:65:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:66:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:74:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:75:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:76:29: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:77:33: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:84:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:85:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:86:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:87:32: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:95:31: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/fjes/fjes_regs.h:96:28: error: invalid bitfield specifier for type restricted __le32. ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_cmd.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:311:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:306:16: warning: cast to restricted __le32 ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:301:16: got restricted __le32 [usertype] ../drivers/net/usb/rtl8150.c:192:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/rtl8150.c:192:22: expected unsigned short [usertype] rx_creg ../drivers/net/usb/rtl8150.c:192:22: got restricted __le16 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c: note: in included file: ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: got restricted __le32 [usertype] ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: warning: incorrect type in argument 1 (different base types) ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: expected unsigned int val ../drivers/infiniband/hw/vmw_pvrdma/pvrdma.h:316:16: got restricted __le32 [usertype] ../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures ../drivers/net/usb/hso.c:1477:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1478:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1479:13: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1487:37: warning: cast to restricted __le16 ../drivers/net/usb/hso.c:1631:37: warning: cast to restricted __le16 ../drivers/net/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] In file included from ../drivers/net/usb/asix.h:28, from ../drivers/net/usb/ax88172a.c:15: ../drivers/net/usb/ax88172a.c: In function ‘ax88172a_reset’: ../include/linux/phy.h:307:20: warning: ‘%s’ directive output may be truncated writing up to 60 bytes into a region of size 20 [-Wformat-truncation=] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../include/linux/phy.h:307:21: note: format string is defined here 307 | #define PHY_ID_FMT "%s:%02x" | ^~ ../include/linux/phy.h:307:20: note: directive argument in the range [0, 65535] 307 | #define PHY_ID_FMT "%s:%02x" | ^~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:38: note: in expansion of macro ‘PHY_ID_FMT’ 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~ ../drivers/net/usb/ax88172a.c:311:9: note: ‘snprintf’ output between 4 and 66 bytes into a destination of size 20 311 | snprintf(priv->phy_name, 20, PHY_ID_FMT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | priv->mdio->id, priv->phy_addr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/core/cm.c:1293:20: warning: cast from restricted __be32 ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../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/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/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../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/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../drivers/infiniband/core/user_mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_umad.h): ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be64 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be16 ../include/trace/events/ib_umad.h:16:1: warning: cast to restricted __be32 ../drivers/infiniband/core/user_mad.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/ib_umad.h): ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qpn ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qpn ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qkey ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qkey ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] lid ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] lid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] mad_status ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] status ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_umad.h:16:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] attr_mod ../drivers/infiniband/core/user_mad.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../include/trace/events/ib_umad.h): ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qpn ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qpn ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] qkey ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] qkey ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] lid ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] lid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] flow_label ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] mad_status ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] status ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] class_specific ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned long long [usertype] tid ../include/trace/events/ib_umad.h:16:1: got restricted __be64 [usertype] tid ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned short [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: got restricted __be16 [usertype] attr_id ../include/trace/events/ib_umad.h:16:1: warning: incorrect type in assignment (different base types) ../include/trace/events/ib_umad.h:16:1: expected unsigned int [usertype] attr_mod ../include/trace/events/ib_umad.h:16:1: got restricted __be32 [usertype] attr_mod ../drivers/infiniband/core/cma.c:2083:9: warning: context imbalance in 'destroy_id_handler_unlock' - wrong count at exit ../drivers/infiniband/core/cma.c:2092:6: warning: context imbalance in 'rdma_destroy_id' - unexpected unlock ../drivers/infiniband/core/cma.c:2235:17: warning: context imbalance in 'cma_ib_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:2427:17: warning: context imbalance in 'cma_ib_req_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:2550:17: warning: context imbalance in 'cma_iw_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:2595:17: warning: context imbalance in 'iw_conn_req_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:3013:17: warning: context imbalance in 'cma_work_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:3518:17: warning: context imbalance in 'addr_handler' - unexpected unlock ../drivers/infiniband/core/cma.c:4247:17: warning: context imbalance in 'cma_sidr_rep_handler' - unexpected unlock ../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/infiniband/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../drivers/net/ethernet/sfc/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:891:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../drivers/infiniband/core/uverbs_ioctl.c:440:17: warning: incorrect type in assignment (different modifiers) ../drivers/infiniband/core/uverbs_ioctl.c:440:17: expected int ( *handler )( ... ) ../drivers/infiniband/core/uverbs_ioctl.c:440:17: got int ( [noderef] * )( ... ) ../drivers/net/ethernet/sfc/siena/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/siena/ethtool_common.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/smsc75xx.c:2172:29: warning: cast to restricted __be16 ../drivers/net/usb/smsc75xx.c:2172:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/smsc75xx.c:2172:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/smsc75xx.c:2172:27: got unsigned short [usertype] ../drivers/infiniband/core/uverbs_cmd.c:3726:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3726:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3726:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3726:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3740:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3740:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3749:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3749:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3794:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3794:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3824:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3824:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3824:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3824:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3840:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3840:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3840:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3840:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3840:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3840:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3859:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3859:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3859:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3859:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3873:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3873:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3873:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3873:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3887:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3887:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3952:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3952:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3952:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3952:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3970:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3970:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3970:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3970:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3970:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3970:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:3995:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:3995:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:4033:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:4033:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:4033:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:4033:9: also defined here ../drivers/infiniband/core/uverbs_cmd.c:4033:9: warning: Initializer entry defined twice ../drivers/infiniband/core/uverbs_cmd.c:4033:9: also defined here ../drivers/net/ethernet/sfc/siena/mcdi_mon.c: In function ‘efx_siena_mcdi_mon_probe’: ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 458 | snprintf(name, sizeof(name), "%s%u_input", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:458:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 458 | snprintf(name, sizeof(name), "%s%u_input", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 459 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:57: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:489:17: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 489 | snprintf(name, sizeof(name), "%s%u_alarm", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:65: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 496 | snprintf(name, sizeof(name), "%s%u_label", | ^ ../drivers/net/ethernet/sfc/siena/mcdi_mon.c:496:25: note: ‘snprintf’ output between 10 and 22 bytes into a destination of size 12 496 | snprintf(name, sizeof(name), "%s%u_label", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 497 | hwmon_prefix, hwmon_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:379:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../drivers/infiniband/hw/hfi1/pio_copy.c:505:24: warning: cast removes address space '__iomem' of expression ../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/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/usb/lg-vl600.c:134:13: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:134:13: warning: cast from restricted __le32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast from restricted __le32 ../drivers/infiniband/core/umem_odp.c:346:5: warning: context imbalance in 'ib_umem_odp_map_dma_and_lock' - wrong count at exit ../drivers/net/usb/aqc111.c:1093:34: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1093:34: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1093:34: got unsigned long long [usertype] * ../drivers/net/usb/aqc111.c:1121:45: warning: incorrect type in argument 1 (different base types) ../drivers/net/usb/aqc111.c:1121:45: expected restricted __le64 const [usertype] *p ../drivers/net/usb/aqc111.c:1121:45: got unsigned long long [usertype] *[assigned] pkt_desc_ptr ../drivers/net/usb/aqc111.c:1234:22: warning: incorrect type in assignment (different base types) ../drivers/net/usb/aqc111.c:1234:22: expected unsigned long long [usertype] ../drivers/net/usb/aqc111.c:1234:22: got restricted __le64 [usertype] ../drivers/infiniband/hw/hfi1/tid_rdma.c:2375:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:2376:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4236:9: warning: dubious: !x & y ../drivers/infiniband/hw/hfi1/tid_rdma.c:4237:9: warning: dubious: !x & y ../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?