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/run_tags_test.sh: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../security/smack/smack_lsm.c:1919:61: warning: incorrect type in argument 1 (different address spaces) ../security/smack/smack_lsm.c:1919:61: expected struct cred const *cred ../security/smack/smack_lsm.c:1919:61: got struct cred const [noderef] __rcu *cred ../security/smack/smack_lsm.c:5224:30: warning: cast removes address space '__rcu' of expression ../security/smack/smackfs.c:1504:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1504:47: expected restricted __be16 ../security/smack/smackfs.c:1504:47: got int ../security/smack/smackfs.c:1507:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1507:47: expected restricted __be16 ../security/smack/smackfs.c:1507:47: got int ../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:812:25: warning: context imbalance in 'smk_seq_stop' - unexpected unlock ../security/selinux/avc.c:469:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../security/selinux/netnode.c:73:17: warning: restricted __be32 degrades to integer ../security/selinux/netnode.c:90:32: warning: restricted __be32 degrades to integer ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../security/selinux/hooks.c:5445:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5446: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:2414:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2418:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4045:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4057:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../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 ../security/apparmor/lsm.c:1138: warning: Function parameter or struct member 'protocol' not described in 'apparmor_socket_post_create' ../security/apparmor/lsm.c:1138: warning: Excess function parameter 'ptotocol' description in 'apparmor_socket_post_create' ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../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 ../net/core/dev.c:3381:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3381:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3381:23: got unsigned int ../net/core/dev.c:3381:23: warning: cast from restricted __wsum ../net/core/dev.c:5330:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3821:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5288:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../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/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/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/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/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/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/8390/axnet_cs.c:642:18: warning: cast to restricted __le16 ../drivers/net/ethernet/alacritech/slicoss.c:1091:24: warning: cast to restricted __le32 ../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) ../net/packet/af_packet.c:1052:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block ../net/packet/af_packet.c:2488:17: warning: context imbalance in 'tpacket_rcv' - unexpected unlock ../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/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/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/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/net/ethernet/amd/pcnet32.c:695:39: warning: context imbalance in 'pcnet32_suspend' - unexpected unlock ../drivers/scsi/qedf/qedf_attr.c: note: in included file (through ../include/scsi/libfcoe.h, ../drivers/scsi/qedf/qedf.h): ../include/scsi/fc/fc_fcoe.h:89:36: warning: cast truncates bits from constant value (efc becomes fc) ../include/scsi/fc/fc_fcoe.h:90:23: warning: cast truncates bits from constant value (efc00 becomes 0) ../drivers/scsi/qedf/qedf_els.c:180:34: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:180:34: expected unsigned int [usertype] resp_len ../drivers/scsi/qedf/qedf_els.c:180:34: got restricted __le32 [usertype] data_placement_size ../drivers/scsi/qedf/qedf_els.c:314:13: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_els.c:350:22: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:350:22: expected restricted __be16 [usertype] fh_rx_id ../drivers/scsi/qedf/qedf_els.c:350:22: got int ../drivers/scsi/qedf/qedf_els.c:358:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_els.c:358:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_els.c:358:20: got restricted __le32 [usertype] ../drivers/scsi/qedf/qedf_els.c:1050:13: warning: cast from restricted __le16 ../drivers/net/macsec.c:431:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:431:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:431:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:431:22: got unsigned int ../drivers/net/macsec.c:432:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:432:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:432:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:432:20: got unsigned long long ../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/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/cadence/macb_main.c: In function ‘gem_get_ethtool_strings’: ../drivers/net/ethernet/cadence/macb_main.c:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: In function ‘aq_ethtool_get_strings’: ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:56: note: directive argument in the range [-2147483641, 254] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:33: note: ‘snprintf’ output between 5 and 15 bytes into a destination of size 8 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../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/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:325:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" ../drivers/net/ethernet/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11326:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11326 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11326:34: note: using the range [-2147483648, 2147483647] for directive argument 11326 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11325:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11325 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11326 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:34: note: using the range [-2147483648, 2147483647] for directive argument 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11322:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11322 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:34: note: using the range [-2147483648, 2147483647] for directive argument 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11319:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11319 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:34: note: using the range [-2147483648, 2147483647] for directive argument 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11316:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11316 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/broadcom/cnic.c:5261:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5261:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5261:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5216:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5216:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5216:40: got unsigned long long ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1390:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1390:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1390:33: 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1415:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1686:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1686:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1686:22: got unsigned long long ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1728:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1728:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1728:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1730:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1730:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1730:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1732:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1732:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1732:54: got unsigned int [usertype] 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] lo ../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] lo ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1736:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1736:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1736:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1738:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1738:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1738:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1740:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1740:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1740:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1742:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1742:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1742:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1744:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1744:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1744:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1746:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1746:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1746:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1748:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1748:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1748:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1750:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1750:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1750:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1752:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1752:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1752:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1774:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1774:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1774:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1776:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1776:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1776:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1787:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1787:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1787:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1789:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1789:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1789:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1791:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1791:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1791:53: got unsigned int [usertype] 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1795:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1795:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1795:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1797:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1797:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1797:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1799:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1799:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1799:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1801:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1801:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1801:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1803:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1803:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1803:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1806:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1806:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1806:56: got unsigned int [usertype] 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1821:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1823:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1827:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1829:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1829:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1829:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1831:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1831:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1831:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1833:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1833:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1833:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1844:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1844:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1844:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1846:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1846:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1846:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1848:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1848:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1848:48: got unsigned int [usertype] ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1850:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1852:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1852:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1852:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1856:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1856:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1856:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1858:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1858:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1858:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2077:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2326:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2326:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2326:35: got unsigned long long ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2328:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2330:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2330:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2330:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2331:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2331:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2372:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2372:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2372:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2429:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2430:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2447:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2447:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2447:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2448:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2475:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2475:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2475:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2476:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2476:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2509:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2509:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2509:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2510:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2510:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2522:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2522:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2522:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2537:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2537:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2537:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2609:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2610:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2610:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3511:40: warning: cast to restricted __be32 ../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:3531:27: 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:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3637:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3790:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3790:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3790:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3796:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3796:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3796:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3797:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3797:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3827:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3984:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4946:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4946:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4954:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4954:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4954:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4957:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4957:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4957:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4982:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4982:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4982:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5047:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5047:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5047:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5049:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5049:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5049:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5067:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5067:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5067:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5069:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5069:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5069:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5074:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5074:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5074:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5076:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5076:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5076:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5086:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5086:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5086:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5088:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5088:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5088:41: got restricted __le16 * ../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/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/net/ethernet/broadcom/tg3.c:3745:34: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:17074:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17074:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17074:63: got unsigned int * ../drivers/net/ethernet/broadcom/tg3.c:17075:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17075:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17075:63: got unsigned int * ../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/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_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/brocade/bna/bnad.c: In function ‘bnad_setup_tx’: ../drivers/net/ethernet/brocade/bna/bnad.c:1537:51: warning: ‘ TXQ ’ directive writing 5 bytes into a region of size between 1 and 16 [-Wformat-overflow=] 1537 | sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name, | ^~~~~ In function ‘bnad_tx_msix_register’, inlined from ‘bnad_setup_tx’ at ../drivers/net/ethernet/brocade/bna/bnad.c:1998:9: ../drivers/net/ethernet/brocade/bna/bnad.c:1537:48: note: using the range [-2147483648, 2147483647] for directive argument 1537 | sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name, | ^~~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bnad.c:1537:17: note: ‘sprintf’ output between 7 and 32 bytes into a destination of size 16 1537 | sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1538 | tx_id + tx_info->tcb[i]->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bnad.c: In function ‘bnad_setup_rx’: ../drivers/net/ethernet/brocade/bna/bnad.c:1588:59: warning: ‘ CQ ’ directive writing 4 bytes into a region of size between 1 and 16 [-Wformat-overflow=] 1588 | sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", | ^~~~ In function ‘bnad_rx_msix_register’, inlined from ‘bnad_setup_rx’ at ../drivers/net/ethernet/brocade/bna/bnad.c:2260:9: ../drivers/net/ethernet/brocade/bna/bnad.c:1588:56: note: using the range [-2147483648, 2147483647] for directive argument 1588 | sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", | ^~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bnad.c:1588:17: note: ‘sprintf’ output between 6 and 31 bytes into a destination of size 16 1588 | sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1589 | bnad->netdev->name, | ~~~~~~~~~~~~~~~~~~~ 1590 | rx_id + rx_info->rx_ctrl[i].ccb->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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:2815:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2815:33: expected unsigned short [usertype] vlan_tag ../drivers/net/ethernet/brocade/bna/bnad.c:2815:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2824:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2824:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2824:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2828:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2828:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2828:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2829:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2829:48: expected unsigned short [usertype] lso_mss ../drivers/net/ethernet/brocade/bna/bnad.c:2829:48: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2838:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2838:53: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2838:53: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2842:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2842:39: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2842:39: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2864:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2864:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2864:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2877:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2877:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2877:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2897:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2897:30: expected unsigned short [usertype] flags ../drivers/net/ethernet/brocade/bna/bnad.c:2897:30: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2898:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2898:37: expected unsigned int [usertype] frame_length ../drivers/net/ethernet/brocade/bna/bnad.c:2898:37: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3018:9: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3018:9: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3018:9: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3019:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3019:34: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3019:34: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3043:51: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3043:51: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:3043:51: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3059:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3059:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3059:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3060:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3060:48: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3060: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/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/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/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? 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/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/cisco/enic/enic_ethtool.c:433:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:433:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:433:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:436:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:436:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:436:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:439:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:439:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:439:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:442:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:442:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:442:36: got unsigned short [usertype] ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function ‘bgx_acpi_match_id’: ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:30: note: directive argument in the range [0, 255] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/inline_crypto/chtls/chtls_cm.c:1241:22: warning: context imbalance in 'chtls_recv_sock' - 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/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/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/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../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/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:54: note: directive argument in the range [0, 2147483646] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1121:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1121 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:54: note: directive argument in the range [0, 2147483646] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1126:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1126 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/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/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../drivers/staging/rtl8192e/rtllib_rx.c: note: in included file: ../drivers/staging/rtl8192e/rtllib.h:641:48: warning: array of flexible structures ../drivers/net/ethernet/dlink/sundance.c:1046:60: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/dlink/sundance.c:1046:60: expected unsigned long long [usertype] dma_addr ../drivers/net/ethernet/dlink/sundance.c:1046:60: got restricted __le32 [usertype] addr ../drivers/net/ethernet/dlink/sundance.c:1103:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/dlink/sundance.c:1103:45: expected unsigned long long [usertype] dma_addr ../drivers/net/ethernet/dlink/sundance.c:1103:45: got restricted __le32 [usertype] addr ../drivers/net/ethernet/dlink/sundance.c:1433:60: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/dlink/sundance.c:1433:60: expected unsigned long long [usertype] dma_addr ../drivers/net/ethernet/dlink/sundance.c:1433:60: got restricted __le32 [usertype] addr ../drivers/net/ethernet/dlink/dl2k.c:344:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block ../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/engleder/tsnep_main.c:1622:25: error: too long token expansion ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~ ~~~~~~ In function ‘bnxt_setup_inta’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10604:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10585 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:62: warning: ‘%s’ directive output may be truncated writing between 2 and 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~ In function ‘bnxt_setup_msix’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10602:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:58: note: directive argument in the range [-2147483643, 2147483646] 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10570 | attr, i); | ~~~~~~~~ ../drivers/staging/vt6655/device_main.c:1598:46: warning: cast to restricted __le64 ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../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:4144:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4144 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5056:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4143:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4143 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4144 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306: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=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../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/staging/rtl8192e/rtllib_softmac.c: note: in included file: ../drivers/staging/rtl8192e/rtllib.h:630:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtllib.h:614:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtllib.h:652:48: warning: array of flexible structures In file included from ../include/linux/string.h:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:13, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:60, 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:1425: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/chelsio/cxgb4/cxgb4_tc_u32.c: note: in included file: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:254:55: warning: array of flexible structures ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:291:55: warning: array of flexible structures ../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/cavium/liquidio/lio_vf_rep.c:211:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: expected unsigned int [addressable] [assigned] [usertype] mtu ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: got restricted __be32 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: got restricted __be16 [usertype] ../drivers/net/ethernet/freescale/gianfar.c:2212:60: warning: cast to restricted __be64 ../drivers/net/ethernet/freescale/gianfar.c:2475:53: warning: cast to restricted __be64 In file included from ../include/linux/string.h:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:13, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:60, 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:1210: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/cavium/liquidio/lio_vf_main.c:1781:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: got restricted __be16 [usertype] ../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/ethernet/broadcom/bnxt/bnxt_debugfs.c: In function ‘bnxt_debug_dev_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:30: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~ In function ‘debugfs_dim_ring_init’, inlined from ‘bnxt_debug_dev_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:87:4: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:29: note: directive argument in the range [-2147483643, 2147483646] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:9: note: ‘snprintf’ output between 2 and 12 bytes into a destination of size 10 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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 In file included from ../include/linux/string.h:374, from ../include/linux/uuid.h:11, from ../include/linux/mod_devicetable.h:14, from ../include/linux/pci.h:27, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:19, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:22: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2x_get_vf_config’ at ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:2655:4: ../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 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../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] ../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] ../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/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/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/staging/rtl8192e/rtl8192e/rtl_core.c: note: in included file (through ../drivers/staging/rtl8192e/rtl8192e/rtl_core.h): ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:660:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:641:48: warning: array of flexible structures ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133: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/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_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/skge.c:3116:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/skge.c:3116:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/skge.c:3116:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/skge.c:3116:27: got unsigned short [usertype] ../drivers/net/ethernet/marvell/mvneta.c:1796:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/mvneta.c:1979:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/marvell/mvneta.c:1979:45: expected int l3_proto ../drivers/net/ethernet/marvell/mvneta.c:1979:45: got restricted __be16 [usertype] l3_proto ../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:4446:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast from restricted __le16 ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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/intel/iavf/iavf_main.c:2619:27: error: too long token expansion ../drivers/net/ethernet/intel/iavf/iavf_main.c:2619:27: error: too long token expansion ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:278:21: error: too long token expansion ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:278:21: error: too long token expansion ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function ‘mvpp2_probe’: ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7636:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7635:9: note: ‘snprintf’ output between 10 and 31 bytes into a destination of size 30 7635 | snprintf(priv->queue_name, sizeof(priv->queue_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7637 | priv->port_count > 1 ? "+" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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: 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/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/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../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/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:421:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size 11 [-Wformat-truncation=] 421 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/include/osdep_service.h:129:69: note: in definition of macro ‘rtw_sprintf’ 129 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:421:48: note: format string is defined here 421 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~ ../drivers/staging/rtl8723bs/include/osdep_service.h:129:49: note: ‘snprintf’ output between 10 and 25 bytes into a destination of size 20 129 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:421:9: note: in expansion of macro ‘rtw_sprintf’ 421 | 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/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:302:5: warning: context imbalance in 'mt7996_mmio_wed_init' - wrong count at exit ../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/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 ../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/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/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/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_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/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/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/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/vxlan/vxlan_core.c:393:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:393:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:393:34: got restricted __be32 [usertype] vni ../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/qlogic/qede/qede_ethtool.c: In function ‘qede_get_drvinfo’: ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "mbi %s [mfw %s]", mbi, mfw); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/efa/efa_verbs.c:2241:30: warning: symbol 'efa_uapi_defs' was not declared. Should it be static? ../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/infiniband/hw/qib/qib_init.c: In function ‘qib_init_one’: ../drivers/infiniband/hw/qib/qib_init.c:586:67: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 3 [-Wformat-truncation=] 586 | snprintf(wq_name, sizeof(wq_name), "qib%d_%d", | ^~ In function ‘qib_create_workqueues’, inlined from ‘qib_init_one’ at ../drivers/infiniband/hw/qib/qib_init.c:1438:8: ../drivers/infiniband/hw/qib/qib_init.c:586:60: note: directive argument in the range [-2147483643, 254] 586 | snprintf(wq_name, sizeof(wq_name), "qib%d_%d", | ^~~~~~~~~~ ../drivers/infiniband/hw/qib/qib_init.c:586:25: note: ‘snprintf’ output between 7 and 27 bytes into a destination of size 8 586 | snprintf(wq_name, sizeof(wq_name), "qib%d_%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 587 | dd->unit, pidx); | ~~~~~~~~~~~~~~~ ../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/infiniband/hw/mlx4/mad.c: In function ‘mlx4_ib_alloc_demux_ctx’: ../drivers/infiniband/hw/mlx4/mad.c:2197:47: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 2197 | snprintf(name, sizeof(name), "mlx4_ibt%d", port); | ^~ ../drivers/infiniband/hw/mlx4/mad.c:2197:38: note: directive argument in the range [-2147483645, 2147483647] 2197 | snprintf(name, sizeof(name), "mlx4_ibt%d", port); | ^~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2197:9: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 2197 | snprintf(name, sizeof(name), "mlx4_ibt%d", port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2205:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 3 [-Wformat-truncation=] 2205 | snprintf(name, sizeof(name), "mlx4_ibwi%d", port); | ^~ ../drivers/infiniband/hw/mlx4/mad.c:2205:38: note: directive argument in the range [-2147483645, 2147483647] 2205 | snprintf(name, sizeof(name), "mlx4_ibwi%d", port); | ^~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2205:9: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 12 2205 | snprintf(name, sizeof(name), "mlx4_ibwi%d", port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2213:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 3 [-Wformat-truncation=] 2213 | snprintf(name, sizeof(name), "mlx4_ibud%d", port); | ^~ ../drivers/infiniband/hw/mlx4/mad.c:2213:38: note: directive argument in the range [-2147483645, 2147483647] 2213 | snprintf(name, sizeof(name), "mlx4_ibud%d", port); | ^~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2213:9: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 12 2213 | snprintf(name, sizeof(name), "mlx4_ibud%d", port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/net/ethernet/qlogic/netxen/netxen_nic_ctx.c:202:31: warning: cast to restricted __le32 ../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/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_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/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/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:1627:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2061:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2061:28: expected unsigned int [usertype] pa_lo ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2061:28: got restricted __le32 [usertype] ../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_hi ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2410:18: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2517:23: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2572:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2587:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2603:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2605:24: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2609:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2614:29: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2633:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2692:34: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2695:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2699:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2702:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2721:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2725:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2769: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/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/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/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/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/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/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:851:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/cache.c:851:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/cache.c:851:23: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1022:52: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/cache.c:1022:52: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/cache.c:1022:52: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1428:59: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/cache.c:1428:59: expected struct net_device *dev ../drivers/infiniband/core/cache.c:1428:59: got struct net_device [noderef] __rcu *const ndev ../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/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/hns/hns_roce_hw_v2.c:1657:35: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/qlogic/qed/qed_mcp.c:512:9: warning: context imbalance in '_qed_mcp_cmd_and_union' - unexpected unlock ../drivers/infiniband/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/net/ethernet/renesas/rtsn.c:1236:35: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_ts_info *)’ [-Wincompatible-pointer-types] 1236 | .get_ts_info = rtsn_get_ts_info, | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/renesas/rtsn.c:1236:35: note: (near initialization for ‘rtsn_ethtool_ops.get_ts_info’) make[7]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/renesas/rtsn.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/renesas] Error 2 make[6]: *** Waiting for unfinished jobs.... ../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:1015:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1015:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1015:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1400:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1400:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1400:42: got int ../drivers/infiniband/hw/qedr/verbs.c:1410:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1410:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1410:42: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1999:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1999:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1999:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2010:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2010:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2010:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2013:41: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2013:41: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2013:41: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2014:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2014:42: expected restricted __le16 [usertype] value ../drivers/infiniband/hw/qedr/verbs.c:2014:42: got unsigned long ../drivers/infiniband/hw/qedr/verbs.c:3286:22: warning: cast from restricted __le64 ../drivers/infiniband/hw/qedr/verbs.c:3286:20: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3286:20: expected unsigned long long [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3286:20: got restricted __be64 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3446:24: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3446:24: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3446:24: got unsigned int [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] lo ../drivers/infiniband/hw/qedr/verbs.c:3447:24: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3448:22: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3448:22: expected restricted __le32 [usertype] l_key ../drivers/infiniband/hw/qedr/verbs.c:3448:22: got unsigned int const [usertype] key ../drivers/infiniband/hw/qedr/verbs.c:3467:26: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3467:26: expected restricted __le32 [usertype] length_lo ../drivers/infiniband/hw/qedr/verbs.c:3467:26: got unsigned long long [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3468:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3468:28: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3468:28: got unsigned int [usertype] ../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] lo ../drivers/infiniband/hw/qedr/verbs.c:3469:28: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3597:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3597:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3597:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3610:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3610:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3610:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3623:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3623:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3623:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3636:34: warning: cast from restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:3636:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:3636:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3636:32: expected restricted __le32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:3636:32: got restricted __be32 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3643:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3643:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3643:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3656:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3656:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3656:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3673:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3673:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3673:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3710:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3710:33: expected restricted __le32 [usertype] inv_l_key ../drivers/infiniband/hw/qedr/verbs.c:3710:33: got unsigned int const [usertype] invalidate_rkey ../drivers/infiniband/hw/qedr/verbs.c:3792:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:3991:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4020:43: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:4020:43: warning: restricted __le32 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4116:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4116:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4116:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4124:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4124:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4124:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4131:38: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4204:67: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4204:67: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4204:67: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4389:46: warning: incorrect type in argument 5 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4389:46: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4389:46: got restricted __le16 [usertype] rq_cons_or_srq_id ../drivers/infiniband/hw/qedr/verbs.c:1180:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:1181:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:4251:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4251:33: expected restricted __be32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:4251: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/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/net/vmxnet3/vmxnet3_drv.c:1469:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1615:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2818:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: got int ../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:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:13, 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/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_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/hw/mlx4/alias_GUID.c: In function ‘mlx4_ib_init_alias_guid_service’: ../drivers/infiniband/hw/mlx4/alias_GUID.c:878:74: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); | ^~ ../drivers/infiniband/hw/mlx4/alias_GUID.c:878:63: note: directive argument in the range [-2147483641, 2147483646] 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); | ^~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/alias_GUID.c:878:17: note: ‘snprintf’ output between 12 and 22 bytes into a destination of size 15 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/ulp/rtrs/rtrs-srv.c:1021:16: warning: restricted __le16 degrades to integer ../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/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/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/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/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/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../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/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/net/ethernet/sfc/ethtool_common.c: In function ‘efx_fill_test’: ../drivers/net/ethernet/sfc/ethtool_common.c:278: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=] 278 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/ethtool_common.c:276:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 276 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 278 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/usb/sr9700.c:198:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:198:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:198:21: got int ../drivers/net/usb/sr9700.c:200:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:200:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:200:21: got int ../drivers/net/usb/sr9700.c:205:16: warning: incorrect type in return expression (different base types) ../drivers/net/usb/sr9700.c:205:16: expected int ../drivers/net/usb/sr9700.c:205:16: got restricted __le16 [addressable] [usertype] res ../drivers/net/can/peak_canfd/peak_pciefd_main.c:146:32: warning: array of flexible structures ../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../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/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../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/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/infiniband/hw/qib/qib_verbs.c: In function ‘qib_register_ib_device’: ../drivers/infiniband/hw/qib/qib_verbs.c:1554:40: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 43 [-Wformat-truncation=] 1554 | "Intel Infiniband HCA %s", init_utsname()->nodename); | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/qib/qib_verbs.c:1553:9: note: ‘snprintf’ output between 22 and 86 bytes into a destination of size 64 1553 | snprintf(ibdev->node_desc, sizeof(ibdev->node_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1554 | "Intel Infiniband HCA %s", init_utsname()->nodename); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/core/cm.c:1293:20: warning: cast from restricted __be32 ../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/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/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/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/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/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/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/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/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/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/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/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/umem_odp.c:346:5: warning: context imbalance in 'ib_umem_odp_map_dma_and_lock' - wrong count at exit ../drivers/net/ethernet/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:1803:14: warning: restricted __be64 degrades to integer make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 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/run_tags_test.sh: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../net/sched/sch_mqprio.c:702:17: warning: context imbalance in 'mqprio_dump_class_stats' - different lock contexts for basic block ../security/selinux/netnode.c:73:17: warning: restricted __be32 degrades to integer ../security/selinux/netnode.c:90:32: warning: restricted __be32 degrades to integer ../security/selinux/avc.c:469:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../security/smack/smackfs.c:1504:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1504:47: expected restricted __be16 ../security/smack/smackfs.c:1504:47: got int ../security/smack/smackfs.c:1507:47: warning: incorrect type in assignment (different base types) ../security/smack/smackfs.c:1507:47: expected restricted __be16 ../security/smack/smackfs.c:1507:47: got int ../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:812:25: warning: context imbalance in 'smk_seq_stop' - unexpected unlock ../security/smack/smack_lsm.c:1919:61: warning: incorrect type in argument 1 (different address spaces) ../security/smack/smack_lsm.c:1919:61: expected struct cred const *cred ../security/smack/smack_lsm.c:1919:61: got struct cred const [noderef] __rcu *cred ../security/smack/smack_lsm.c:5224:30: warning: cast removes address space '__rcu' of expression ../net/socket.c:1694:21: warning: symbol 'update_socket_protocol' was not declared. Should it be static? ../net/core/sock.c:2414:9: warning: context imbalance in 'sk_clone_lock' - wrong count at exit ../net/core/sock.c:2418:6: warning: context imbalance in 'sk_free_unlock_clone' - unexpected unlock ../net/core/sock.c:4045:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4057:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../security/selinux/hooks.c:5445:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5446:22: warning: restricted __be16 degrades to integer ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:321:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:325:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" ../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 ../security/apparmor/lsm.c:1138: warning: Function parameter or struct member 'protocol' not described in 'apparmor_socket_post_create' ../security/apparmor/lsm.c:1138: warning: Excess function parameter 'ptotocol' description in 'apparmor_socket_post_create' ../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 ../net/packet/af_packet.c:1052:13: warning: context imbalance in '__packet_lookup_frame_in_block' - different lock contexts for basic block ../net/packet/af_packet.c:2488:17: warning: context imbalance in 'tpacket_rcv' - unexpected unlock ../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/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_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/scsi/qedf/qedf_io.c:641:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:641:59: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:641:59: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:643:59: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:643:59: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:643:59: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:655:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:655:40: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:655:40: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:656:40: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:656:40: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:656:40: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:664:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:664:33: expected unsigned int ../drivers/scsi/qedf/qedf_io.c:664:33: got restricted __be32 [usertype] ../drivers/scsi/qedf/qedf_io.c:720:26: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:720:26: expected restricted __be16 [usertype] fh_ox_id ../drivers/scsi/qedf/qedf_io.c:720:26: got unsigned short [usertype] xid ../drivers/scsi/qedf/qedf_io.c:724:31: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:724:31: expected restricted __le32 [addressable] [usertype] parameter ../drivers/scsi/qedf/qedf_io.c:724:31: got restricted __be32 [usertype] fh_parm_offset ../drivers/scsi/qedf/qedf_io.c:729:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:729:27: expected restricted __le16 [addressable] [assigned] [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:729:27: got restricted __be16 [usertype] fh_rx_id ../drivers/scsi/qedf/qedf_io.c:730:27: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:730:27: expected restricted __le16 [addressable] [assigned] [usertype] ox_id ../drivers/scsi/qedf/qedf_io.c:730:27: got restricted __be16 [usertype] fh_ox_id ../drivers/scsi/qedf/qedf_io.c:734:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:734:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedf/qedf_io.c:734:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:735:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:735:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedf/qedf_io.c:735:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:743:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:743:45: expected restricted __le32 [addressable] [assigned] [usertype] lo ../drivers/scsi/qedf/qedf_io.c:743:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:744:45: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:744:45: expected restricted __le32 [addressable] [assigned] [usertype] hi ../drivers/scsi/qedf/qedf_io.c:744:45: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:789:23: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:789:23: expected restricted __le16 [assigned] [usertype] sq_prod ../drivers/scsi/qedf/qedf_io.c:789:23: got unsigned short [usertype] fw_sq_prod_idx ../drivers/scsi/qedf/qedf_io.c:1068:35: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1068:35: expected unsigned int [usertype] fcp_resid ../drivers/scsi/qedf/qedf_io.c:1068:35: got restricted __le32 [usertype] fcp_resid ../drivers/scsi/qedf/qedf_io.c:1075:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1075:29: expected int fcp_rsp_len ../drivers/scsi/qedf/qedf_io.c:1075:29: got restricted __le32 [usertype] fcp_rsp_len ../drivers/scsi/qedf/qedf_io.c:1079:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1079:29: expected int fcp_sns_len ../drivers/scsi/qedf/qedf_io.c:1079:29: got restricted __le32 [usertype] fcp_sns_len ../drivers/scsi/qedf/qedf_io.c:1253:48: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1255:52: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1276:41: warning: restricted __le16 degrades to integer ../drivers/scsi/qedf/qedf_io.c:1453:9: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1453:9: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_io.c:1461:15: warning: cast from restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1462:14: warning: cast from restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1476:52: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1476:52: expected unsigned int [usertype] rx_buf_off ../drivers/scsi/qedf/qedf_io.c:1476:52: got restricted __le32 [usertype] rx_buf_off ../drivers/scsi/qedf/qedf_io.c:1478:52: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1478:52: expected unsigned int [usertype] tx_buf_off ../drivers/scsi/qedf/qedf_io.c:1478:52: got restricted __le32 [usertype] tx_buf_off ../drivers/scsi/qedf/qedf_io.c:1480:47: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:1480:47: expected unsigned int [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:1480:47: got restricted __le16 [usertype] rx_id ../drivers/scsi/qedf/qedf_io.c:1529:9: warning: cast to restricted __le32 ../drivers/scsi/qedf/qedf_io.c:1529:9: warning: cast from restricted __le16 ../drivers/scsi/qedf/qedf_io.c:2103:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2103:32: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:2103:32: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2104:32: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2104:32: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:2104:32: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2105:28: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2105:28: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedf/qedf_io.c:2105:28: got int ../drivers/scsi/qedf/qedf_io.c:2114:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2114:33: expected restricted __le32 [usertype] lo ../drivers/scsi/qedf/qedf_io.c:2114:33: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2115:33: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2115:33: expected restricted __le32 [usertype] hi ../drivers/scsi/qedf/qedf_io.c:2115:33: got unsigned int [usertype] ../drivers/scsi/qedf/qedf_io.c:2116:29: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2116:29: expected restricted __le32 [usertype] sge_len ../drivers/scsi/qedf/qedf_io.c:2116:29: got int ../drivers/scsi/qedf/qedf_io.c:2493:53: warning: incorrect type in initializer (different base types) ../drivers/scsi/qedf/qedf_io.c:2493:53: expected unsigned short [usertype] pktlen ../drivers/scsi/qedf/qedf_io.c:2493:53: got restricted __le16 [usertype] pkt_len ../drivers/scsi/qedf/qedf_io.c:2555:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_io.c:2555:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_io.c:2555:20: got restricted __le32 [usertype] ../drivers/scsi/qedf/qedf_main.c:2217:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2217:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2217:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2246:18: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2246:18: expected unsigned short [usertype] prod_idx ../drivers/scsi/qedf/qedf_main.c:2246:18: got restricted __le16 ../drivers/scsi/qedf/qedf_main.c:2263:33: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2281:26: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c:2512:20: warning: incorrect type in assignment (different base types) ../drivers/scsi/qedf/qedf_main.c:2512:20: expected unsigned int [usertype] fr_crc ../drivers/scsi/qedf/qedf_main.c:2512:20: got restricted __le32 [addressable] [usertype] fcoe_crc32 ../drivers/scsi/qedf/qedf_main.c:2708:34: warning: restricted __le32 degrades to integer ../drivers/scsi/qedf/qedf_main.c: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/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/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/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/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/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/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/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:3381:23: warning: incorrect type in argument 4 (different base types) ../net/core/dev.c:3381:23: expected restricted __wsum [usertype] csum ../net/core/dev.c:3381:23: got unsigned int ../net/core/dev.c:3381:23: warning: cast from restricted __wsum ../net/core/dev.c:5330:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:3821:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5288:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/amd/pcnet32.c:695:39: warning: context imbalance in 'pcnet32_suspend' - unexpected unlock ../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/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/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/net/ethernet/8390/axnet_cs.c:642:18: warning: cast to restricted __le16 ../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:3183:77: warning: ‘%s’ directive output may be truncated writing up to 239 bytes into a region of size between 19 and 29 [-Wformat-truncation=] 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~ ../drivers/net/ethernet/cadence/macb_main.c:3183:33: note: ‘snprintf’ output between 4 and 253 bytes into a destination of size 32 3183 | snprintf(stat_string, ETH_GSTRING_LEN, "q%d_%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3184 | q, queue_statistics[i].stat_string); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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:3480:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3485:39: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:40: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3490:69: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3515:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3519:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3519:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3519:20: got restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cadence/macb_main.c:3529:20: warning: restricted __be32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3533:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cadence/macb_main.c:3533:20: expected unsigned int [assigned] [usertype] w0 ../drivers/net/ethernet/cadence/macb_main.c:3533:20: got restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cadence/macb_main.c:3543:21: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3543:50: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3549:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3550:30: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3557:36: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3558:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3561:38: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3597:9: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../drivers/net/ethernet/cadence/macb_main.c:3651:25: warning: cast from restricted __be32 ../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_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/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/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/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/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/brocade/bna/bnad.c: In function ‘bnad_setup_tx’: ../drivers/net/ethernet/brocade/bna/bnad.c:1537:51: warning: ‘ TXQ ’ directive writing 5 bytes into a region of size between 1 and 16 [-Wformat-overflow=] 1537 | sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name, | ^~~~~ In function ‘bnad_tx_msix_register’, inlined from ‘bnad_setup_tx’ at ../drivers/net/ethernet/brocade/bna/bnad.c:1998:9: ../drivers/net/ethernet/brocade/bna/bnad.c:1537:48: note: using the range [-2147483648, 2147483647] for directive argument 1537 | sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name, | ^~~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bnad.c:1537:17: note: ‘sprintf’ output between 7 and 32 bytes into a destination of size 16 1537 | sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1538 | tx_id + tx_info->tcb[i]->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bnad.c: In function ‘bnad_setup_rx’: ../drivers/net/ethernet/brocade/bna/bnad.c:1588:59: warning: ‘ CQ ’ directive writing 4 bytes into a region of size between 1 and 16 [-Wformat-overflow=] 1588 | sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", | ^~~~ In function ‘bnad_rx_msix_register’, inlined from ‘bnad_setup_rx’ at ../drivers/net/ethernet/brocade/bna/bnad.c:2260:9: ../drivers/net/ethernet/brocade/bna/bnad.c:1588:56: note: using the range [-2147483648, 2147483647] for directive argument 1588 | sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", | ^~~~~~~~~~ ../drivers/net/ethernet/brocade/bna/bnad.c:1588:17: note: ‘sprintf’ output between 6 and 31 bytes into a destination of size 16 1588 | sprintf(rx_info->rx_ctrl[i].ccb->name, "%s CQ %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1589 | bnad->netdev->name, | ~~~~~~~~~~~~~~~~~~~ 1590 | rx_id + rx_info->rx_ctrl[i].ccb->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:2815:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2815:33: expected unsigned short [usertype] vlan_tag ../drivers/net/ethernet/brocade/bna/bnad.c:2815:33: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2824:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2824:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2824:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2828:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2828:47: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2828:47: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2829:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2829:48: expected unsigned short [usertype] lso_mss ../drivers/net/ethernet/brocade/bna/bnad.c:2829:48: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2838:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2838:53: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2838:53: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2842:39: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2842:39: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:2842:39: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2864:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2864:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2864:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2877:69: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2877:69: expected unsigned short [usertype] l4_hdr_size_n_offset ../drivers/net/ethernet/brocade/bna/bnad.c:2877:69: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2897:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2897:30: expected unsigned short [usertype] flags ../drivers/net/ethernet/brocade/bna/bnad.c:2897:30: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:2898:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:2898:37: expected unsigned int [usertype] frame_length ../drivers/net/ethernet/brocade/bna/bnad.c:2898:37: got restricted __be32 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3018:9: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3018:9: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3018:9: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3019:34: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3019:34: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3019:34: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3043:51: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3043:51: expected unsigned short [usertype] opcode ../drivers/net/ethernet/brocade/bna/bnad.c:3043:51: got restricted __be16 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3059:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3059:17: expected unsigned long long [usertype] tmp_addr ../drivers/net/ethernet/brocade/bna/bnad.c:3059:17: got restricted __be64 [usertype] ../drivers/net/ethernet/brocade/bna/bnad.c:3060:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/brocade/bna/bnad.c:3060:48: expected unsigned short [usertype] length ../drivers/net/ethernet/brocade/bna/bnad.c:3060:48: got restricted __be16 [usertype] ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: In function ‘aq_ethtool_get_strings’: ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:59: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:56: note: directive argument in the range [-2147483641, 254] 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~ ../drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c:278:33: note: ‘snprintf’ output between 5 and 15 bytes into a destination of size 8 278 | snprintf(tc_string, 8, "TC%d ", tc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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_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/chelsio/inline_crypto/ch_ktls/chcr_ktls.c:589:31: warning: context imbalance in 'chcr_ktls_dev_add' - unexpected unlock ../drivers/net/ethernet/cavium/liquidio/lio_core.c: In function ‘octeon_setup_interrupt’: ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1122:54: note: directive argument in the range [0, 2147483646] 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1121:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1121 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1122 | INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | oct->octeon_id, oct->pf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:76: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1127:54: note: directive argument in the range [0, 2147483646] 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1126:33: note: ‘snprintf’ output between 21 and 43 bytes into a destination of size 32 1126 | snprintf(&queue_irq_names[IRQ_NAME_OFF(i)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1127 | INTRNAMSIZ, "LiquidIO%u-vf%u-rxtx-%u", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1128 | oct->octeon_id, oct->vf_num, i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1743:15: warning: cast to restricted __be32 ../drivers/net/ethernet/cavium/liquidio/lio_core.c:1813:15: warning: cast to restricted __be32 ../drivers/net/ethernet/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:1441:34: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:30: note: directive argument in the range [0, 255] 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~ ../drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1441:9: note: ‘snprintf’ output between 5 and 7 bytes into a destination of size 5 1441 | snprintf(bgx_sel, 5, "BGX%d", bgx->bgx_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/request_manager.c:572:9: warning: context imbalance in 'octeon_send_command' - different lock contexts for basic block ../drivers/net/ethernet/broadcom/cnic.c:5261:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5261:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5261:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5216:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5216:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5216:40: got unsigned long long ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1390:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1390:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1390:33: 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1415:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1686:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1686:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1686:22: got unsigned long long ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1728:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1728:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1728:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1730:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1730:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1730:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1732:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1732:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1732:54: got unsigned int [usertype] 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] lo ../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] lo ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1736:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1736:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1736:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1738:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1738:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1738:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1740:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1740:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1740:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1742:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1742:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1742:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1744:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1744:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1744:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1746:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1746:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1746:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1748:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1748:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1748:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1750:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1750:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1750:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1752:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1752:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1752:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1774:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1774:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1774:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1776:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1776:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1776:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1787:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1787:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1787:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1789:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1789:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1789:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1791:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1791:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1791:53: got unsigned int [usertype] 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1793:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1795:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1795:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1795:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1797:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1797:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1797:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1799:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1799:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1799:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1801:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1801:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1801:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1803:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1803:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1803:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1806:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1806:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1806:56: got unsigned int [usertype] 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] hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1821:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1821:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1823:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1823:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1827:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1827:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1829:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1829:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1829:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1831:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1831:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1831:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1833:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1833:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1833:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1844:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1844:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1844:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1846:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1846:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1846:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1848:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1848:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1848:48: got unsigned int [usertype] ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1850:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1852:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1852:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1852:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1856:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1856:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1856:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1858:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1858:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1858:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2077:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2326:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2326:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2326:35: got unsigned long long ../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] hi ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2328:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2330:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2330:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2330:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2331:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2331:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2372:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2372:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2372:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2429:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2429:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2430:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2447:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2447:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2447:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2448:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2475:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2475:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2475:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2476:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2476:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2509:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2509:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2509:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2510:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2510:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2522:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2522:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2522:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2537:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2537:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2537:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2609:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2609:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2610:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2610:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3511:40: warning: cast to restricted __be32 ../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:3531:27: 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:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3637:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3790:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3790:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3790:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3796:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3796:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3796:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3797:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3797:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3827:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3827:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3984:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4946:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4946:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4946:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4954:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4954:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4954:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4957:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4957:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4957:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4982:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4982:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4982:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5047:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5047:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5047:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5049:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5049:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5049:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5067:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5067:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5067:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5069:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5069:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5069:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5074:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5074:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5074:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5076:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5076:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5076:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5086:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5086:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5086:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5088:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5088:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5088:41: got restricted __le16 * ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:433:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:433:38: expected restricted __be32 [usertype] ip4src ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:433:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:436:38: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:436:38: expected restricted __be32 [usertype] ip4dst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:436:38: got unsigned int [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:439:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:439:36: expected restricted __be16 [usertype] psrc ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:439:36: got unsigned short [usertype] ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:442:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:442:36: expected restricted __be16 [usertype] pdst ../drivers/net/ethernet/cisco/enic/enic_ethtool.c:442:36: got unsigned short [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] ../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/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/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); | ~~~~~~~~~~~~~~~~~~~~~~~ ../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/net/ethernet/dlink/dl2k.c:344:35: warning: restricted __le32 degrades to integer ../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/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 ../drivers/net/ethernet/dlink/sundance.c:1046:60: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/dlink/sundance.c:1046:60: expected unsigned long long [usertype] dma_addr ../drivers/net/ethernet/dlink/sundance.c:1046:60: got restricted __le32 [usertype] addr ../drivers/net/ethernet/dlink/sundance.c:1103:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/dlink/sundance.c:1103:45: expected unsigned long long [usertype] dma_addr ../drivers/net/ethernet/dlink/sundance.c:1103:45: got restricted __le32 [usertype] addr ../drivers/net/ethernet/dlink/sundance.c:1433:60: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/dlink/sundance.c:1433:60: expected unsigned long long [usertype] dma_addr ../drivers/net/ethernet/dlink/sundance.c:1433:60: got restricted __le32 [usertype] addr ../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] ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:218:42: warning: cast to restricted __be16 ../net/rds/recv.c:222:44: warning: cast to restricted __be32 ../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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/broadcom/tg3.c: In function ‘tg3_request_irq’: ../drivers/net/ethernet/broadcom/tg3.c:11326:38: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=] 11326 | "%s-%d", tp->dev->name, irq_num); | ^~ ../drivers/net/ethernet/broadcom/tg3.c:11326:34: note: using the range [-2147483648, 2147483647] for directive argument 11326 | "%s-%d", tp->dev->name, irq_num); | ^~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11325:25: note: ‘snprintf’ output between 3 and 28 bytes into a destination of size 16 11325 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11326 | "%s-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:37: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11323:34: note: using the range [-2147483648, 2147483647] for directive argument 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11322:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11322 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11323 | "%s-rx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:37: warning: ‘-tx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~ ../drivers/net/ethernet/broadcom/tg3.c:11320:34: note: using the range [-2147483648, 2147483647] for directive argument 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11319:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 11319 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11320 | "%s-tx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:37: warning: ‘-txrx-’ directive output may be truncated writing 6 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11317:34: note: using the range [-2147483648, 2147483647] for directive argument 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ^~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/tg3.c:11316:25: note: ‘snprintf’ output between 8 and 33 bytes into a destination of size 16 11316 | snprintf(name, IFNAMSIZ, | ^~~~~~~~~~~~~~~~~~~~~~~~ 11317 | "%s-txrx-%d", tp->dev->name, irq_num); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2692:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_main.c:2703:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3380:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3381:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_main.c:3382:30: got restricted __be16 [usertype] ../drivers/net/ethernet/broadcom/tg3.c:3745:34: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13100:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast to restricted __le32 ../drivers/net/ethernet/broadcom/tg3.c:13105:21: warning: cast from restricted __be32 ../drivers/net/ethernet/broadcom/tg3.c:17074:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17074:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17074:63: got unsigned int * ../drivers/net/ethernet/broadcom/tg3.c:17075:63: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/broadcom/tg3.c:17075:63: expected restricted __be32 [usertype] *val ../drivers/net/ethernet/broadcom/tg3.c:17075:63: got unsigned int * ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: expected unsigned int [addressable] [assigned] [usertype] mtu ../drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c:211:29: got restricted __be32 [usertype] ../drivers/net/ethernet/engleder/tsnep_main.c:1622:25: error: too long token expansion ../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/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/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.c: In function ‘enetc_setup_irqs’: ../drivers/net/ethernet/freescale/enetc/enetc.c:2306: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=] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:52: note: directive argument in the range [-2147483639, 2147483646] 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/freescale/enetc/enetc.c:2306:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 24 2306 | snprintf(v->name, sizeof(v->name), "%s-rxtx%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2307 | priv->ndev->name, i); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/macsec.c:431:24: warning: restricted ssci_t degrades to integer ../drivers/net/macsec.c:431:22: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:431:22: expected restricted ssci_t [usertype] ssci ../drivers/net/macsec.c:431:22: got unsigned int ../drivers/net/macsec.c:432:22: warning: restricted __be64 degrades to integer ../drivers/net/macsec.c:432:20: warning: incorrect type in assignment (different base types) ../drivers/net/macsec.c:432:20: expected restricted __be64 [usertype] pn ../drivers/net/macsec.c:432:20: got unsigned long long ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1781:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: cast from restricted __be16 ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: warning: incorrect type in argument 3 (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: expected unsigned short [usertype] vxlan_port ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1792:44: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: expected unsigned short [usertype] major ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1973:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: expected unsigned short [usertype] minor ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1974:30: got restricted __be16 [usertype] ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: expected unsigned short [usertype] micro ../drivers/net/ethernet/cavium/liquidio/lio_vf_main.c:1975:30: got restricted __be16 [usertype] 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/wireless/ti/wlcore/main.c:671:33: warning: context imbalance in 'wlcore_irq_locked' - different lock contexts for basic block ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c: note: in included file: ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:254:55: warning: array of flexible structures ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h:291:55: warning: array of flexible structures ../drivers/staging/rtl8192e/rtllib_rx.c: note: in included file: ../drivers/staging/rtl8192e/rtllib.h:641:48: 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/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/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/freescale/gianfar.c:2212:60: warning: cast to restricted __be64 ../drivers/net/ethernet/freescale/gianfar.c:2475:53: warning: cast to restricted __be64 ../drivers/net/rionet.c: note: in included file: ../include/linux/rio.h:204:34: warning: array of flexible structures ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:2046:35: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:4542:32: error: too long token expansion ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~ ~~~~~~ In function ‘bnxt_setup_inta’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10604:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10584:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10584 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10585 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:62: warning: ‘%s’ directive output may be truncated writing between 2 and 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~ In function ‘bnxt_setup_msix’, inlined from ‘bnxt_setup_int_mode’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10602:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:58: note: directive argument in the range [-2147483643, 2147483646] 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10569:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10569 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10570 | attr, i); | ~~~~~~~~ ../drivers/staging/rtl8192e/rtllib_softmac.c: note: in included file: ../drivers/staging/rtl8192e/rtllib.h:630:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtllib.h:614:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtllib.h:652:48: warning: array of flexible structures In file included from ../include/linux/string.h:374, from ../include/linux/uuid.h:11, from ../include/linux/mod_devicetable.h:14, from ../include/linux/pci.h:27, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x.h:19, from ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:22: In function ‘fortify_memcpy_chk’, inlined from ‘bnx2x_get_vf_config’ at ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:2655:4: ../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_main.c:3247:28: error: too long token expansion ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:3247:28: error: too long token expansion ../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/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4144:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4144 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5056:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4143:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4143 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4144 | "/pkg %s", buf); | ~~~~~~~~~~~~~~~ ../scripts/Makefile.build:244: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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/marvell/mv643xx_eth.c:1956:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: expected struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:1956:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:1995:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2026:28: got struct rx_desc *rx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: expected struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2060:35: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2115:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/mv643xx_eth.c:2133:28: got struct tx_desc *tx_desc_area ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c: In function ‘bnxt_debug_dev_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:30: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~ In function ‘debugfs_dim_ring_init’, inlined from ‘bnxt_debug_dev_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:87:4: ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:29: note: directive argument in the range [-2147483643, 2147483646] 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:69:9: note: ‘snprintf’ output between 2 and 12 bytes into a destination of size 10 69 | snprintf(qname, 10, "%d", ring_idx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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); | ~~~~~~~~~~~~~~~~~~~~ In file included from ../include/linux/string.h:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:13, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:60, 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:1425: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/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/marvell/octeontx2/nic/otx2_txrx.c:699:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: expected unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:699:31: got restricted __be16 [usertype] ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: expected restricted __be16 [usertype] tot_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:701:54: got unsigned short [usertype] iplen ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: expected restricted __be16 [usertype] payload_len ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:704:60: got unsigned short [usertype] iplen ../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/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/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/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/staging/rtl8192e/rtl8192e/rtl_core.c: note: in included file (through ../drivers/staging/rtl8192e/rtl8192e/rtl_core.h): ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:660:48: warning: array of flexible structures ../drivers/staging/rtl8192e/rtl8192e/../rtllib.h:641:48: warning: array of flexible structures In file included from ../include/linux/string.h:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:13, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:60, 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:1210: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/marvell/mvneta.c:1796:25: warning: restricted __be16 degrades to integer ../drivers/net/ethernet/marvell/mvneta.c:1979:45: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/marvell/mvneta.c:1979:45: expected int l3_proto ../drivers/net/ethernet/marvell/mvneta.c:1979:45: got restricted __be16 [usertype] l3_proto ../drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../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/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/intel/iavf/iavf_virtchnl.c:278:21: error: too long token expansion ../drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:278:21: error: too long token expansion ../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/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/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/skge.c:3116:29: warning: cast to restricted __le16 ../drivers/net/ethernet/marvell/skge.c:3116:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/marvell/skge.c:3116:27: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/marvell/skge.c:3116:27: got unsigned short [usertype] ../drivers/net/ethernet/intel/iavf/iavf_main.c:2619:27: error: too long token expansion ../drivers/net/ethernet/intel/iavf/iavf_main.c:2619:27: error: too long token expansion ../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:4446:53: warning: cast to restricted __be16 ../drivers/net/ethernet/marvell/sky2.c:4446:53: warning: cast from restricted __le16 ../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/nvidia/forcedeth.c:4790:9: warning: context imbalance in 'nv_set_ringparam' - 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:421:38: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size 11 [-Wformat-truncation=] 421 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/include/osdep_service.h:129:69: note: in definition of macro ‘rtw_sprintf’ 129 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:421:48: note: format string is defined here 421 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~ ../drivers/staging/rtl8723bs/include/osdep_service.h:129:49: note: ‘snprintf’ output between 10 and 25 bytes into a destination of size 20 129 | #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c:421:9: note: in expansion of macro ‘rtw_sprintf’ 421 | rtw_sprintf(thread_name, 20, "RTWHALXT-%s", ADPT_ARG(padapter)); | ^~~~~~~~~~~ ../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/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_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/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/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:625:34: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 25 [-Wformat-truncation=] 625 | "[storm %s]", storm); | ^~ ~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:624:17: note: ‘snprintf’ output between 9 and 40 bytes into a destination of size 32 624 | snprintf(info->version, sizeof(info->version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "[storm %s]", storm); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:642:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 642 | "mfw %s", mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:641:17: note: ‘snprintf’ output between 5 and 36 bytes into a destination of size 32 641 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | "mfw %s", mfw); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:639:31: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 28 [-Wformat-truncation=] 639 | "mbi %s [mfw %s]", mbi, mfw); | ^~ ~~~ ../drivers/net/ethernet/qlogic/qede/qede_ethtool.c:638:17: note: ‘snprintf’ output between 12 and 74 bytes into a destination of size 32 638 | snprintf(info->fw_version, sizeof(info->fw_version), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | "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/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/renesas/rtsn.c:1236:35: error: initialization of ‘int (*)(struct net_device *, struct kernel_ethtool_ts_info *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_ts_info *)’ [-Wincompatible-pointer-types] 1236 | .get_ts_info = rtsn_get_ts_info, | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/renesas/rtsn.c:1236:35: note: (near initialization for ‘rtsn_ethtool_ops.get_ts_info’) make[7]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/renesas/rtsn.o] Error 1 make[7]: *** Waiting for unfinished jobs.... ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c:202:31: warning: cast to restricted __le32 ../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] make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/renesas] Error 2 make[6]: *** Waiting for unfinished jobs.... ../drivers/net/wireless/mediatek/mt76/mt7996/mmio.c:302:5: warning: context imbalance in 'mt7996_mmio_wed_init' - wrong count at exit ../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/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/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/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/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/qib/qib_init.c: In function ‘qib_init_one’: ../drivers/infiniband/hw/qib/qib_init.c:586:67: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 3 [-Wformat-truncation=] 586 | snprintf(wq_name, sizeof(wq_name), "qib%d_%d", | ^~ In function ‘qib_create_workqueues’, inlined from ‘qib_init_one’ at ../drivers/infiniband/hw/qib/qib_init.c:1438:8: ../drivers/infiniband/hw/qib/qib_init.c:586:60: note: directive argument in the range [-2147483643, 254] 586 | snprintf(wq_name, sizeof(wq_name), "qib%d_%d", | ^~~~~~~~~~ ../drivers/infiniband/hw/qib/qib_init.c:586:25: note: ‘snprintf’ output between 7 and 27 bytes into a destination of size 8 586 | snprintf(wq_name, sizeof(wq_name), "qib%d_%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 587 | dd->unit, pidx); | ~~~~~~~~~~~~~~~ ../drivers/net/wireless/mediatek/mt76/mt7915/mmio.c:634:5: warning: context imbalance in 'mt7915_mmio_wed_init' - wrong count at exit ../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_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/net/ethernet/qlogic/qed/qed_mcp.c:512:9: warning: context imbalance in '_qed_mcp_cmd_and_union' - unexpected unlock ../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:851:23: warning: incorrect type in assignment (different address spaces) ../drivers/infiniband/core/cache.c:851:23: expected struct net_device [noderef] __rcu *[addressable] ndev ../drivers/infiniband/core/cache.c:851:23: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1022:52: warning: incorrect type in initializer (different address spaces) ../drivers/infiniband/core/cache.c:1022:52: expected struct net_device [noderef] __rcu *ndev ../drivers/infiniband/core/cache.c:1022:52: got struct net_device *ndev ../drivers/infiniband/core/cache.c:1428:59: warning: incorrect type in argument 1 (different address spaces) ../drivers/infiniband/core/cache.c:1428:59: expected struct net_device *dev ../drivers/infiniband/core/cache.c:1428:59: got struct net_device [noderef] __rcu *const ndev ../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_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.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. In file included from ../include/linux/string.h:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:13, 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/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/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/marvell/mvpp2/mvpp2_main.c: In function ‘mvpp2_probe’: ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7636:32: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:7635:9: note: ‘snprintf’ output between 10 and 31 bytes into a destination of size 30 7635 | snprintf(priv->queue_name, sizeof(priv->queue_name), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7636 | "stats-wq-%s%s", netdev_name(priv->port_list[0]->dev), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7637 | priv->port_count > 1 ? "+" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/efa/efa_verbs.c:2241:30: warning: symbol 'efa_uapi_defs' was not declared. Should it be static? ../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/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/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:115:27: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:708:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:712:47: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:716:48: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:781:28: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1053:33: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1059:20: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1136:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1149:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1184:25: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1197:35: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1212:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1323:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1330:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1358:40: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2990:45: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3833:54: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3837:55: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3981:17: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3991:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3998:58: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4052:50: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5072:37: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5074:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5078:38: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5090:29: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5361:30: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:6908:24: error: too long token expansion ../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/ulp/rtrs/rtrs-srv.c:1021:16: warning: restricted __le16 degrades to integer ../drivers/net/vxlan/vxlan_core.c:393:34: warning: incorrect type in argument 2 (different base types) ../drivers/net/vxlan/vxlan_core.c:393:34: expected unsigned int [usertype] b ../drivers/net/vxlan/vxlan_core.c:393:34: got restricted __be32 [usertype] vni ../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/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:1627:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2061:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2061:28: expected unsigned int [usertype] pa_lo ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2061:28: got restricted __le32 [usertype] ../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_hi ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2062:28: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2410:18: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2441:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:42: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2444:42: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2450:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2453:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2458:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:52: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:50: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:50: expected unsigned int [usertype] flags_status_srcqpn ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2461:50: got restricted __le32 [usertype] ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2517:23: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2572:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2587:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2603:19: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2605:24: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2609:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2614:29: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2633:20: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2692:34: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2695:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2699:37: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2702:44: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2721:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2725:27: warning: cast to restricted __le32 ../drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2769: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/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/hw/mlx4/mad.c: In function ‘mlx4_ib_alloc_demux_ctx’: ../drivers/infiniband/hw/mlx4/mad.c:2197:47: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 2197 | snprintf(name, sizeof(name), "mlx4_ibt%d", port); | ^~ ../drivers/infiniband/hw/mlx4/mad.c:2197:38: note: directive argument in the range [-2147483645, 2147483647] 2197 | snprintf(name, sizeof(name), "mlx4_ibt%d", port); | ^~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2197:9: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 12 2197 | snprintf(name, sizeof(name), "mlx4_ibt%d", port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2205:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 3 [-Wformat-truncation=] 2205 | snprintf(name, sizeof(name), "mlx4_ibwi%d", port); | ^~ ../drivers/infiniband/hw/mlx4/mad.c:2205:38: note: directive argument in the range [-2147483645, 2147483647] 2205 | snprintf(name, sizeof(name), "mlx4_ibwi%d", port); | ^~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2205:9: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 12 2205 | snprintf(name, sizeof(name), "mlx4_ibwi%d", port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2213:48: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 3 [-Wformat-truncation=] 2213 | snprintf(name, sizeof(name), "mlx4_ibud%d", port); | ^~ ../drivers/infiniband/hw/mlx4/mad.c:2213:38: note: directive argument in the range [-2147483645, 2147483647] 2213 | snprintf(name, sizeof(name), "mlx4_ibud%d", port); | ^~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/mad.c:2213:9: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 12 2213 | snprintf(name, sizeof(name), "mlx4_ibud%d", port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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/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/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/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/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/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/mlx4/alias_GUID.c: In function ‘mlx4_ib_init_alias_guid_service’: ../drivers/infiniband/hw/mlx4/alias_GUID.c:878:74: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); | ^~ ../drivers/infiniband/hw/mlx4/alias_GUID.c:878:63: note: directive argument in the range [-2147483641, 2147483646] 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); | ^~~~~~~~~~~~~~ ../drivers/infiniband/hw/mlx4/alias_GUID.c:878:17: note: ‘snprintf’ output between 12 and 22 bytes into a destination of size 15 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:1015:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1015:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1015:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1400:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1400:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1400:42: got int ../drivers/infiniband/hw/qedr/verbs.c:1410:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1410:42: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1410:42: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1999:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:1999:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:1999:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2010:34: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2010:34: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2010:34: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2013:41: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2013:41: expected restricted __le16 [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2013:41: got unsigned short [usertype] icid ../drivers/infiniband/hw/qedr/verbs.c:2014:42: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:2014:42: expected restricted __le16 [usertype] value ../drivers/infiniband/hw/qedr/verbs.c:2014:42: got unsigned long ../drivers/infiniband/hw/qedr/verbs.c:3286:22: warning: cast from restricted __le64 ../drivers/infiniband/hw/qedr/verbs.c:3286:20: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3286:20: expected unsigned long long [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3286:20: got restricted __be64 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3446:24: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3446:24: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3446:24: got unsigned int [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] lo ../drivers/infiniband/hw/qedr/verbs.c:3447:24: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3448:22: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3448:22: expected restricted __le32 [usertype] l_key ../drivers/infiniband/hw/qedr/verbs.c:3448:22: got unsigned int const [usertype] key ../drivers/infiniband/hw/qedr/verbs.c:3467:26: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3467:26: expected restricted __le32 [usertype] length_lo ../drivers/infiniband/hw/qedr/verbs.c:3467:26: got unsigned long long [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3468:28: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3468:28: expected restricted __le32 [usertype] hi ../drivers/infiniband/hw/qedr/verbs.c:3468:28: got unsigned int [usertype] ../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] lo ../drivers/infiniband/hw/qedr/verbs.c:3469:28: got unsigned int [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3597:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3597:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3597:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3610:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3610:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3610:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3623:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3623:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3623:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3636:34: warning: cast from restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:3636:34: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:3636:32: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3636:32: expected restricted __le32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:3636:32: got restricted __be32 [usertype] ../drivers/infiniband/hw/qedr/verbs.c:3643:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3643:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3643:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3656:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3656:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3656:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3673:54: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3673:54: expected unsigned int [usertype] bytes_len ../drivers/infiniband/hw/qedr/verbs.c:3673:54: got restricted __le32 [usertype] length ../drivers/infiniband/hw/qedr/verbs.c:3710:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:3710:33: expected restricted __le32 [usertype] inv_l_key ../drivers/infiniband/hw/qedr/verbs.c:3710:33: got unsigned int const [usertype] invalidate_rkey ../drivers/infiniband/hw/qedr/verbs.c:3792:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:3991:42: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4020:43: warning: cast from restricted __le32 ../drivers/infiniband/hw/qedr/verbs.c:4020:43: warning: restricted __le32 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4116:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4116:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4116:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4124:68: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4124:68: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4124:68: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4131:38: warning: restricted __le16 degrades to integer ../drivers/infiniband/hw/qedr/verbs.c:4204:67: warning: incorrect type in argument 6 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4204:67: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4204:67: got restricted __le16 [usertype] sq_cons ../drivers/infiniband/hw/qedr/verbs.c:4389:46: warning: incorrect type in argument 5 (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4389:46: expected unsigned short [usertype] hw_cons ../drivers/infiniband/hw/qedr/verbs.c:4389:46: got restricted __le16 [usertype] rq_cons_or_srq_id ../drivers/infiniband/hw/qedr/verbs.c:1180:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:1181:45: warning: cast to restricted __be32 ../drivers/infiniband/hw/qedr/verbs.c:4251:33: warning: incorrect type in assignment (different base types) ../drivers/infiniband/hw/qedr/verbs.c:4251:33: expected restricted __be32 [usertype] imm_data ../drivers/infiniband/hw/qedr/verbs.c:4251:33: got unsigned int [usertype] ../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/hns/hns_roce_hw_v2.c:1657:35: warning: restricted __le16 degrades to integer ../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/hw/qib/qib_verbs.c: In function ‘qib_register_ib_device’: ../drivers/infiniband/hw/qib/qib_verbs.c:1554:40: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 43 [-Wformat-truncation=] 1554 | "Intel Infiniband HCA %s", init_utsname()->nodename); | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/qib/qib_verbs.c:1553:9: note: ‘snprintf’ output between 22 and 86 bytes into a destination of size 64 1553 | snprintf(ibdev->node_desc, sizeof(ibdev->node_desc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1554 | "Intel Infiniband HCA %s", init_utsname()->nodename); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ice/ice_ptp.c:397:9: warning: context imbalance in 'ice_ptp_read_src_clk_reg' - wrong count at exit ../drivers/net/ethernet/intel/ice/ice_ptp_hw.c:868:13: warning: context imbalance in 'ice_ptp_exec_tmr_cmd' - wrong count at exit ../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/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/hw/mlx5/fs.c:1189:26: warning: array of flexible structures ../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/net/vmxnet3/vmxnet3_drv.c:1469:43: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: expected restricted __wsum [usertype] csum ../drivers/net/vmxnet3/vmxnet3_drv.c:1469:43: got restricted __be16 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:1615:17: warning: restricted __le64 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2008:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: warning: incorrect type in argument 2 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: expected unsigned long long [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2014:33: got restricted __le64 [usertype] addr ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2681:31: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2698:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2720:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: warning: incorrect type in initializer (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: expected unsigned int [usertype] *vfTable ../drivers/net/vmxnet3/vmxnet3_drv.c:2772:39: got restricted __le32 * ../drivers/net/vmxnet3/vmxnet3_drv.c:2818:31: warning: restricted __le32 degrades to integer ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: warning: incorrect type in argument 3 (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: expected unsigned long [usertype] size ../drivers/net/vmxnet3/vmxnet3_drv.c:2831:17: got restricted __le16 [usertype] mfTableLen ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: expected unsigned int [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2871:49: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: expected restricted __le16 [usertype] txDataRingDescSize ../drivers/net/vmxnet3/vmxnet3_drv.c:2912:41: got restricted __le32 [usertype] ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:2971:46: got int ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: warning: incorrect type in assignment (different base types) ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: expected restricted __le32 [usertype] confVer ../drivers/net/vmxnet3/vmxnet3_drv.c:3037:34: got int ../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 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/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/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/net/usb/sr9700.c:198:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:198:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:198:21: got int ../drivers/net/usb/sr9700.c:200:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:200:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:200:21: got int ../drivers/net/usb/sr9700.c:205:16: warning: incorrect type in return expression (different base types) ../drivers/net/usb/sr9700.c:205:16: expected int ../drivers/net/usb/sr9700.c:205:16: got restricted __le16 [addressable] [usertype] res ../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/infiniband/core/cm.c:1293:20: warning: cast from restricted __be32 ../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/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/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/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/umem_odp.c:346:5: warning: context imbalance in 'ib_umem_odp_map_dma_and_lock' - wrong count at exit ../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/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/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/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 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1934: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2