tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files 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 ../drivers/net/ethernet/3com/3c574_cs.c:348:35: warning: cast to restricted __le16 ../drivers/net/ethernet/adaptec/starfire.c:1507:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/adaptec/starfire.c:1507:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/adaptec/starfire.c:1507:35: got unsigned short [usertype] ../drivers/net/ethernet/adaptec/starfire.c:1823:41: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/adaptec/starfire.c:1823:41: expected unsigned short val ../drivers/net/ethernet/adaptec/starfire.c:1823:41: got restricted __le16 ../net/core/flow_dissector.c: note: in included file (through ../include/linux/if_pppox.h): ../include/uapi/linux/if_pppox.h:153:29: warning: array of flexible structures ../drivers/net/ethernet/3com/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/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) ../kernel/bpf/helpers.c:1194:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1194:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1194:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1882:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1883:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1884:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1885:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1886:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1887:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1888:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2114:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2128:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2159:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2167:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2173:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2218:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2228:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2261:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2266:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2271:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2327:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2337:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2350:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2361:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2366:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2379:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2396:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2409:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2429:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2449:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2469:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2486:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2527:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2612:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2645:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2664:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2671:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2681:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2691:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2707:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2712:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2722:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2751:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2770:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2784:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2801:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2815:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2820:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2853:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:2932:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit ../kernel/bpf/helpers.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../drivers/net/ethernet/8390/axnet_cs.c:642:18: warning: cast to restricted __le16 ../drivers/net/ethernet/8390/pcnet_cs.c:1157:18: warning: cast to restricted __le16 ../drivers/net/ethernet/8390/pcnet_cs.c:1375:18: warning: cast to restricted __le16 ../drivers/net/ethernet/alacritech/slicoss.c:1091:24: warning: cast to restricted __le32 ../kernel/bpf/hashtab.c:1440:27: warning: context imbalance in 'htab_map_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c:1474:27: warning: context imbalance in 'htab_lru_map_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c:1651:27: warning: context imbalance in '__htab_map_lookup_and_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:869:25: warning: context imbalance in '__htab_map_lookup_and_delete_batch' - unexpected unlock ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock ../net/caif/caif_usb.c:110:32: warning: restricted __be16 degrades to integer ../net/caif/caif_usb.c:111:33: warning: restricted __be16 degrades to integer ../drivers/scsi/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 ../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:5336: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:5294:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../drivers/net/ethernet/arc/emac_main.c:256:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:256:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:256:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:458:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:458:28: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:458:28: got restricted __le32 [usertype] ../drivers/net/ethernet/arc/emac_main.c:707:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/arc/emac_main.c:707:37: expected unsigned long long [usertype] data ../drivers/net/ethernet/arc/emac_main.c:707:37: got restricted __le32 [usertype] ../drivers/net/ethernet/amd/pcnet32.c:695:39: warning: context imbalance in 'pcnet32_suspend' - unexpected unlock ../drivers/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/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/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/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/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/atheros/alx/main.c: In function ‘alx_request_msix’: ../drivers/net/ethernet/atheros/alx/main.c:874:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:874:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 874 | sprintf(np->irq_lbl, "%s-rx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 875 | np->rxq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:871:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^ ../drivers/net/ethernet/atheros/alx/main.c:871:25: note: ‘sprintf’ output between 6 and 25 bytes into a destination of size 24 871 | sprintf(np->irq_lbl, "%s-tx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:55: warning: ‘%u’ directive writing between 1 and 5 bytes into a region of size between 3 and 18 [-Wformat-overflow=] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~ ../drivers/net/ethernet/atheros/alx/main.c:868:46: note: directive argument in the range [0, 65535] 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~ ../drivers/net/ethernet/atheros/alx/main.c:868:25: note: ‘sprintf’ output between 8 and 27 bytes into a destination of size 24 868 | sprintf(np->irq_lbl, "%s-TxRx-%u", netdev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 869 | np->txq->queue_idx); | ~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: warning: invalid assignment: &= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1839:28: right side has type unsigned int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1852:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1893:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1894:39: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1907:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1916:26: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1920:41: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1937:24: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1940:25: warning: restricted __le16 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1941:32: warning: cast to restricted __le16 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2082:47: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2104:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2105:37: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2107:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2110:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2111:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2113:31: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2131:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2133:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2135:39: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2178:19: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2248:24: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: expected unsigned short [usertype] vlan ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2305:22: got restricted __le16 [usertype] ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: expected restricted __le16 [usertype] tag ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2306:17: got int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2307:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: warning: invalid assignment: |= ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: left side has type restricted __le32 ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:2312:28: right side has type int ../drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1734:25: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/cadence/macb_main.c: 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/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/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/dlink/dl2k.c:344:35: warning: restricted __le32 degrades to integer ../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/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/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/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] 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/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/broadcom/cnic.c:5262:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5262:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5262:40: got unsigned int [usertype] cli ../drivers/net/ethernet/broadcom/cnic.c:5217:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5217:40: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:5217:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:5218:40: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5218:40: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:5218:40: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1391:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1391:33: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1391:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1392:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1392:33: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1392:33: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1416:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1417:36: warning: cast from restricted __le32 ../drivers/net/ethernet/broadcom/cnic.c:1687:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1687:22: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1687:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1688:22: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1688:22: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1688:22: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1729:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1729:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1729:54: got unsigned int [usertype] sq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1731:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1731:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1731:54: got unsigned int [usertype] sq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1733:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1733:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1733:54: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1734:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1734:54: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1735:54: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1735:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1737:54: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1737:54: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1737:54: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1739:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1739:59: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1739:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1741:59: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1741:59: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1741:59: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1743:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1743:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1743:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1745:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1745:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1745:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1747:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1747:61: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1747:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1749:61: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1749:61: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1749:61: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1751:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1751:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1751:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1753:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1753:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1753:56: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1775:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1775:57: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1775:57: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1777:57: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1777:57: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1777:57: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1788:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1788:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1788:53: got unsigned int [usertype] rq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1790:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1790:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1790:53: got unsigned int [usertype] rq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1792:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1792:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1792:53: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1793:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1793:53: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1794:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1794:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1796:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1796:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1796:55: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1798:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1798:55: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1798:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1800:55: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1800:55: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1800:55: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1802:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1802:53: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1802:53: got unsigned int [usertype] cq_page_table_addr_lo ../drivers/net/ethernet/broadcom/cnic.c:1804:53: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1804:53: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1804:53: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:1807:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1807:56: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1807:56: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1808:56: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1808:56: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1822:64: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1822:64: got unsigned int [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1824:64: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1824:64: got unsigned int [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1828:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1828:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1830:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1830:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1830:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1832:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1832:49: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1832:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1834:49: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1834:49: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1834:49: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1845:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1845:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1845:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1847:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1847:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1847:48: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1849:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1849:48: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1849:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1850:48: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1850:48: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1850:48: got unsigned int [usertype] ../drivers/net/ethernet/broadcom/cnic.c:1851:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1851:50: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1851:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1853:50: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1853:50: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1853:50: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:1857:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1857:47: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:1857:47: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:1859:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:1859:47: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:1859:47: got unsigned int [usertype] cq_page_table_addr_hi ../drivers/net/ethernet/broadcom/cnic.c:2078:17: warning: cast from restricted __sum16 ../drivers/net/ethernet/broadcom/cnic.c:2327:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2327:35: expected restricted __le32 [usertype] lo ../drivers/net/ethernet/broadcom/cnic.c:2327:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2328:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2328:35: expected restricted __le32 [usertype] hi ../drivers/net/ethernet/broadcom/cnic.c:2328:35: got unsigned long long ../drivers/net/ethernet/broadcom/cnic.c:2329:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2329:32: expected restricted __le32 [usertype] eq_pbl_size ../drivers/net/ethernet/broadcom/cnic.c:2329:32: got int num_pages ../drivers/net/ethernet/broadcom/cnic.c:2331:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2331:27: expected restricted __le16 [usertype] sb_num ../drivers/net/ethernet/broadcom/cnic.c:2331:27: got unsigned int [usertype] status_blk_num ../drivers/net/ethernet/broadcom/cnic.c:2332:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2332:28: expected restricted __le16 [usertype] eq_prod ../drivers/net/ethernet/broadcom/cnic.c:2332:28: got unsigned long ../drivers/net/ethernet/broadcom/cnic.c:2373:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2373:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2373:16: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2430:27: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2430:27: got restricted __le16 [usertype] fcoe_conn_id ../drivers/net/ethernet/broadcom/cnic.c:2431:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2431:32: expected restricted __le32 [addressable] [assigned] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2431:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2448:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2448:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2448:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2449:21: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:2476:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2476:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2476:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2477:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2477:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2477:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2510:13: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2510:13: expected unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2510:13: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2511:16: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2511:16: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2511:16: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:2523:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2523:32: expected restricted __le32 [addressable] [usertype] completion_status ../drivers/net/ethernet/broadcom/cnic.c:2523:32: got int ../drivers/net/ethernet/broadcom/cnic.c:2538:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2538:35: expected restricted __le32 [addressable] [assigned] [usertype] fcoe_conn_context_id ../drivers/net/ethernet/broadcom/cnic.c:2538:35: got unsigned int [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2610:29: expected unsigned int [assigned] [usertype] cid ../drivers/net/ethernet/broadcom/cnic.c:2610:29: got restricted __le32 [usertype] context_id ../drivers/net/ethernet/broadcom/cnic.c:2611:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:2611:32: expected unsigned int [usertype] l5_cid ../drivers/net/ethernet/broadcom/cnic.c:2611:32: got restricted __le32 [usertype] conn_id ../drivers/net/ethernet/broadcom/cnic.c:3512:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3513:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3514:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3515:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3516:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3517:40: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3532:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3533:27: warning: cast to restricted __be32 ../drivers/net/ethernet/broadcom/cnic.c:3534:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3535:29: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3638:49: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/cnic.c:3791:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3791:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3791:31: got restricted __be16 [usertype] sin6_port ../drivers/net/ethernet/broadcom/cnic.c:3797:32: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3797:32: expected unsigned int ../drivers/net/ethernet/broadcom/cnic.c:3797:32: got restricted __be32 [usertype] s_addr ../drivers/net/ethernet/broadcom/cnic.c:3798:31: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3798:31: expected unsigned short [usertype] dst_port ../drivers/net/ethernet/broadcom/cnic.c:3798:31: got restricted __be16 [usertype] sin_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:3828:23: expected unsigned short [usertype] src_port ../drivers/net/ethernet/broadcom/cnic.c:3828:23: got restricted __be16 [assigned] [usertype] local_port ../drivers/net/ethernet/broadcom/cnic.c:3985:29: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/broadcom/cnic.c:4947:33: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4947:33: expected restricted __le32 [usertype] addr_lo ../drivers/net/ethernet/broadcom/cnic.c:4947:33: got unsigned int ../drivers/net/ethernet/broadcom/cnic.c:4955:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4955:46: expected restricted __le32 [usertype] parsing_data ../drivers/net/ethernet/broadcom/cnic.c:4955:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4958:46: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4958:46: expected restricted __le16 [usertype] global_data ../drivers/net/ethernet/broadcom/cnic.c:4958:46: got int ../drivers/net/ethernet/broadcom/cnic.c:4983:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:4983:25: expected unsigned short [usertype] *tx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:4983:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5048:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5048:35: expected restricted __le16 [usertype] silent_vlan_mask ../drivers/net/ethernet/broadcom/cnic.c:5048:35: got int ../drivers/net/ethernet/broadcom/cnic.c:5050:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5050:25: expected unsigned short [usertype] *rx_cons_ptr ../drivers/net/ethernet/broadcom/cnic.c:5050:25: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5068:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5068:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5068:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5070:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5070:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5070:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5075:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5075:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5075:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5077:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5077:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5077:41: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5087:42: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5087:42: expected unsigned short [usertype] *hw_prod_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5087:42: got restricted __le16 * ../drivers/net/ethernet/broadcom/cnic.c:5089:41: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/broadcom/cnic.c:5089:41: expected unsigned short [usertype] *status_idx_ptr ../drivers/net/ethernet/broadcom/cnic.c:5089:41: got restricted __le16 * ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: expected unsigned int [usertype] rss ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2371:50: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2434:43: got restricted __be32 [assigned] [usertype] rss_hi ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: expected unsigned int [usertype] priority ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2435:47: got restricted __be32 [assigned] [usertype] rss_lo ../drivers/net/ethernet/chelsio/cxgb3/sge.c:2120:16: warning: cast to restricted __be32 ../drivers/net/ethernet/chelsio/cxgb4/cxgb4_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/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/broadcom/bnx2.c:8294:31: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: expected void [noderef] __iomem *p ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:216:41: got struct gfar * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:22: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: error: incompatible types in comparison expression (different address spaces): ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:398:35: void [noderef] __iomem * ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:399:25: error: subtraction of different types can't work (different address spaces) ../drivers/net/ethernet/freescale/enetc/enetc_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/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/broadcom/bnxt/bnxt_ethtool.c: In function ‘bnxt_ethtool_init’: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4165:32: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] 4165 | "/pkg %s", buf); | ^~ ~~~ In function ‘bnxt_get_pkgver’, inlined from ‘bnxt_ethtool_init’ at ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:5077:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:4164:17: note: ‘snprintf’ output between 6 and 37 bytes into a destination of size 31 4164 | snprintf(bp->fw_ver_str + len, FW_VER_STR_LEN - len - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4165 | "/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); | ~~~~~~~~~~~~~~~~~~~~ ../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/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/ethernet/freescale/dpaa/dpaa_ethtool.c: In function ‘dpaa_get_strings’: ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:64: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:63: note: using the range [-2147483648, 2147483647] for directive argument 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:257:25: note: ‘snprintf’ output between 9 and 306 bytes into a destination of size 32 257 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [CPU %d]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | dpaa_stats_percpu[i], j); | ~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:56: warning: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 32 [-Wformat-truncation=] 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~ ../drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:262:17: note: ‘snprintf’ output between 9 and 296 bytes into a destination of size 32 262 | snprintf(string_cpu, ETH_GSTRING_LEN, "%s [TOTAL]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | dpaa_stats_percpu[i]); | ~~~~~~~~~~~~~~~~~~~~~ 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/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/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file (through ../include/trace/perf.h, ../include/trace/define_trace.h, ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h): ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: expected unsigned int [usertype] fd_status ../drivers/net/ethernet/freescale/dpaa/./dpaa_eth_trace.h:29:1: got restricted __be32 const [usertype] status ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2745:24: warning: cast to restricted __be32 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: note: in included file: ../include/soc/fsl/qman.h:245:16: warning: cast to restricted __be32 ../include/soc/fsl/qman.h:245:16: warning: cast from restricted __be16 ../drivers/net/ethernet/marvell/mv643xx_eth.c: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/prestera/prestera_devlink.c: In function ‘prestera_dl_info_get’: ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:43: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 12 [-Wformat-truncation=] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:36: note: directive argument in the range [0, 65535] 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~ ../drivers/net/ethernet/marvell/prestera/prestera_devlink.c:359:9: note: ‘snprintf’ output between 6 and 18 bytes into a destination of size 16 359 | snprintf(buf, sizeof(buf), "%d.%d.%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | sw->dev->fw_rev.maj, | ~~~~~~~~~~~~~~~~~~~~ 361 | sw->dev->fw_rev.min, | ~~~~~~~~~~~~~~~~~~~~ 362 | sw->dev->fw_rev.sub); | ~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c:10478:48: warning: cast truncates bits from constant value (ffff7fff becomes 7fff) ../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/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/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/micrel/ks8851_par.c:62:13: warning: context imbalance in 'ks8851_lock_par' - wrong count at exit ../drivers/net/ethernet/micrel/ks8851_par.c:76:13: warning: context imbalance in 'ks8851_unlock_par' - unexpected unlock ../drivers/net/ethernet/marvell/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/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/mediatek/mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16 ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10588:48: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 2 and 17 [-Wformat-truncation=] 10588 | 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:10608:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10588:9: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 18 10588 | snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10589 | 0); | ~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function ‘bnxt_setup_int_mode’: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10573: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=] 10573 | 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:10606:3: ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10573:58: note: directive argument in the range [-2147483643, 2147483646] 10573 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~ ../drivers/net/ethernet/broadcom/bnxt/bnxt.c:10573:17: note: ‘snprintf’ output between 6 and 33 bytes into a destination of size 18 10573 | snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10574 | attr, i); | ~~~~~~~~ ../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/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/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/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/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/realtek/8139too.c:2247:9: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/realtek/8139too.c:2247:9: expected unsigned int [usertype] ../drivers/net/ethernet/realtek/8139too.c:2247:9: got restricted __le32 [usertype] ../drivers/net/ethernet/realtek/8139too.c:2248:9: warning: incorrect type in argument 1 (different base types) ../drivers/net/ethernet/realtek/8139too.c:2248:9: expected unsigned int [usertype] ../drivers/net/ethernet/realtek/8139too.c:2248:9: got restricted __le32 [usertype] ../drivers/net/ethernet/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/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_bm_bufs_add' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rxq_drop_pkts' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx_refill' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_buff_hdr_pool_put' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:1039:9: warning: context imbalance in 'mvpp2_rx' - different lock contexts for basic block ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:9: warning: context imbalance in 'mvpp2_tx' - different lock contexts for basic block ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:998:14: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1008:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1011:28: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1015:9: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1058:27: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1061:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1112:21: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1114:33: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1143:30: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1147:42: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1152:50: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1153:40: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1284:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1296:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1297:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1298:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1300:25: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1303:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1304:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1305:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1321:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1322:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1323:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1344:13: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1359:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1360:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1361:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1380:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1381:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1382:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1400:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1401:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1402:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1456:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1457:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: cast to restricted __le32 ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: expected unsigned int ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:1461:17: got restricted __le32 [usertype] ../drivers/net/ethernet/qualcomm/emac/emac-mac.c:951:21: warning: cast truncates bits from constant value (ffffffff7fffffff becomes 7fffffff) ../drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c:202:31: warning: cast to restricted __le32 ../drivers/net/ethernet/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_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/nvidia/forcedeth.c:4790:9: warning: context imbalance in 'nv_set_ringparam' - different lock contexts for basic block ../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 * 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/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/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/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/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/neterion/s2io.c:6959:41: warning: cast to restricted __be32 ../drivers/net/usb/sr9700.c:205:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:205:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:205:21: got int ../drivers/net/usb/sr9700.c:207:21: warning: incorrect type in assignment (different base types) ../drivers/net/usb/sr9700.c:207:21: expected restricted __le16 [addressable] [usertype] res ../drivers/net/usb/sr9700.c:207:21: got int ../drivers/net/usb/sr9700.c:212:16: warning: incorrect type in return expression (different base types) ../drivers/net/usb/sr9700.c:212:16: expected int ../drivers/net/usb/sr9700.c:212:16: got restricted __le16 [addressable] [usertype] res ../drivers/net/usb/lan78xx.c:3525:29: warning: cast to restricted __be16 ../drivers/net/usb/lan78xx.c:3525:27: warning: incorrect type in assignment (different base types) ../drivers/net/usb/lan78xx.c:3525:27: expected restricted __wsum [usertype] csum ../drivers/net/usb/lan78xx.c:3525:27: got unsigned short [usertype] ../drivers/net/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] In file included from ../include/linux/string.h:374, from ../include/linux/bitmap.h:13, from ../include/linux/cpumask.h:12, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/cpuid.h:62, from ../arch/x86/include/asm/processor.h:19, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10, from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In function ‘fortify_memcpy_chk’, inlined from ‘qlcnic_83xx_dcb_query_cee_param’ at ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:614:3: ../include/linux/fortify-string.h:580:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/smsc/smc91x.c:557:9: warning: context imbalance in 'smc_hardware_send_pkt' - different lock contexts for basic block ../drivers/net/ethernet/sfc/tx.c:503:9: warning: context imbalance in 'efx_xdp_tx_buffers' - different lock contexts for basic block ../drivers/net/ethernet/via/via-rhine.c:1135:39: warning: cast removes address space '__iomem' of expression ../drivers/net/usb/lg-vl600.c:134:13: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:134:13: warning: cast from restricted __le32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast to restricted __be32 ../drivers/net/usb/lg-vl600.c:135:25: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c: In function ‘xlgmac_alloc_channels’: ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:73: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:64: note: directive argument in the range [0, 4294967294] 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~ ../drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c:257:17: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16 257 | snprintf(channel->name, sizeof(channel->name), "channel-%u", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_shutdown' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_reset_task' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_link_timer' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_open' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_close' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_suspend' - different lock contexts for basic block ../drivers/net/ethernet/sun/cassini.c:236:9: warning: context imbalance in 'cas_resume' - different lock contexts for basic block ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:409:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_emaclite.c:418:36: warning: cast to restricted __be32 ../drivers/net/ethernet/via/via-velocity.c: note: in included file: ../drivers/net/ethernet/via/via-velocity.h:236:24: warning: mixed bitwiseness ../drivers/net/ethernet/via/via-velocity.c:88:26: warning: incorrect type in initializer (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:88:26: expected void *addr ../drivers/net/ethernet/via/via-velocity.c:88:26: got struct mac_regs [noderef] __iomem *mac_regs ../drivers/net/ethernet/via/via-velocity.c:91:49: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:91:49: expected restricted pci_power_t [usertype] state ../drivers/net/ethernet/via/via-velocity.c:91:49: got char state ../drivers/net/ethernet/via/via-velocity.c:93:36: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/via/via-velocity.c:93:36: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/via/via-velocity.c:93:36: got void * ../drivers/net/ethernet/via/via-velocity.c:1745:34: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/via/via-velocity.c:1745:34: expected unsigned long [usertype] __UNIQUE_ID_y_1683 ../drivers/net/ethernet/via/via-velocity.c:1745:34: got restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:1748:17: warning: cast to restricted __le16 ../drivers/net/ethernet/via/via-velocity.c:2241:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2241:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2241:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2249:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2249:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2249:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2436:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2436:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2436:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2449:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2449:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:2449:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:2874:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:2874:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:2874:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3145:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3145:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3145:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3151:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3151:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3151:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3203:40: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3203:40: expected char state ../drivers/net/ethernet/via/via-velocity.c:3203:40: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3273:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3273:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3273:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/via/via-velocity.c:3290:48: warning: incorrect type in argument 2 (different base types) ../drivers/net/ethernet/via/via-velocity.c:3290:48: expected char state ../drivers/net/ethernet/via/via-velocity.c:3290:48: got restricted pci_power_t [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:352:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: expected unsigned int [usertype] next ../drivers/net/ethernet/xilinx/ll_temac_main.c:357:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:373:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:374:36: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:375:37: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:779:16: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:786:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:797:41: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:810:24: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:880:29: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: expected unsigned int [usertype] app1 ../drivers/net/ethernet/xilinx/ll_temac_main.c:881:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:886:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:889:20: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:895:21: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:912:33: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:920:25: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:927:29: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:928:28: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: warning: invalid assignment: |= ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: left side has type unsigned int ../drivers/net/ethernet/xilinx/ll_temac_main.c:932:21: right side has type restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:985:39: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:999:17: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1005:26: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:37: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/ll_temac_main.c:1019:35: got restricted __be16 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: expected unsigned int [usertype] phys ../drivers/net/ethernet/xilinx/ll_temac_main.c:1085:26: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: expected unsigned int [usertype] len ../drivers/net/ethernet/xilinx/ll_temac_main.c:1086:25: got restricted __be32 [usertype] ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: expected unsigned int [usertype] app0 ../drivers/net/ethernet/xilinx/ll_temac_main.c:1087:26: got restricted __be32 [usertype] ../drivers/net/ethernet/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/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:23: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c:108:50: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: expected unsigned int [usertype] data ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:105:14: got restricted __be32 [usertype] val ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: expected unsigned int [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c:106:14: got restricted __be32 [usertype] mask ../drivers/net/ethernet/korina.c:408:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:408:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:408:33: got struct dma_reg [noderef] __iomem *tx_dma_regs ../drivers/net/ethernet/korina.c:415:33: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:415:33: expected struct dma_reg *ch ../drivers/net/ethernet/korina.c:415:33: got struct dma_reg [noderef] __iomem *rx_dma_regs ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/korina.c:391:20: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:391:20: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:391:20: got unsigned int * ../drivers/net/ethernet/korina.c:392:31: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:392:31: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:392:31: got unsigned int * ../drivers/net/ethernet/korina.c:394:33: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/korina.c:394:33: expected void const volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:394:33: got unsigned int * ../drivers/net/ethernet/korina.c:397:28: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:397:28: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:397:28: got unsigned int * ../drivers/net/ethernet/korina.c:400:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:400:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:400:20: got unsigned int * ../drivers/net/ethernet/korina.c:401:20: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/korina.c:401:20: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/korina.c:401:20: got unsigned int * ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:45: warning: cast to restricted __be32 ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: expected restricted __wsum [usertype] csum ../drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1131:43: got unsigned int [usertype] ../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/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/sun/niu.c: In function ‘niu_open’: ../drivers/net/ethernet/sun/niu.c:6031:52: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^ In function ‘niu_set_irq_name’, inlined from ‘niu_request_irq’ at ../drivers/net/ethernet/sun/niu.c:6049:2, inlined from ‘niu_open’ at ../drivers/net/ethernet/sun/niu.c:6115:8: ../drivers/net/ethernet/sun/niu.c:6031:17: note: ‘sprintf’ output between 8 and 23 bytes into a destination of size 22 6031 | sprintf(np->irq_name[2], "%s:SYSERR", np->dev->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../drivers/net/ethernet/ethoc.c:317:13: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:317:13: expected void *vma ../drivers/net/ethernet/ethoc.c:317:13: got void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:454:67: warning: incorrect type in argument 2 (different address spaces) ../drivers/net/ethernet/ethoc.c:454:67: expected void const volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:454:67: got void *src ../drivers/net/ethernet/ethoc.c:908:21: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/ethoc.c:908:21: expected void volatile [noderef] __iomem * ../drivers/net/ethernet/ethoc.c:908:21: got void *[assigned] dest ../drivers/net/ethernet/ethoc.c:1109:31: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/ethoc.c:1109:31: expected void [noderef] __iomem *membase ../drivers/net/ethernet/ethoc.c:1109:31: got void * ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:31:17: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:769:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:776:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:783:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:798:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:805:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:812:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:831:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:839:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:851:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:858:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:865:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:873:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:881:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:885:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:890:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:899:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:906:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:913:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:932:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:939:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:945:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:952:43: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:960:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:967:35: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:985:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1016:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1019:15: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1117:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: got unsigned long ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1129:27: warning: cast from restricted __le32 ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1175:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1183:16: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2653:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2664:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2691:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: expected restricted __le32 _var ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: got unsigned int [usertype] ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2701:13: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:2704:41: warning: too many warnings ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:563:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: expected restricted __le32 [usertype] packet ../drivers/net/ethernet/nxp/lpc_eth.c:574:35: got unsigned long long ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:576:36: got int ../drivers/net/ethernet/nxp/lpc_eth.c:909:31: warning: restricted __le32 degrades to integer ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: expected unsigned int [usertype] ethst ../drivers/net/ethernet/nxp/lpc_eth.c:912:23: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: warning: incorrect type in initializer (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: expected int si ../drivers/net/ethernet/nxp/lpc_eth.c:918:41: got restricted __le32 [usertype] statusinfo ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: expected restricted __le32 [usertype] control ../drivers/net/ethernet/nxp/lpc_eth.c:1061:28: got unsigned int ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: expected void [noderef] __iomem **mapbase ../drivers/net/ethernet/nxp/lpc_eth.c:1306:42: got void ** ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/jme.c:958:14: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/jme.c:958:14: expected unsigned short [usertype] csum ../drivers/net/ethernet/jme.c:958:14: got restricted __sum16 [usertype] check ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c: In function ‘stmmac_selftest_get_strings’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:52: warning: ‘%s’ directive output may be truncated writing up to 1535 bytes into a region of size 28 [-Wformat-truncation=] 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:2040:17: note: ‘snprintf’ output between 5 and 1540 bytes into a destination of size 32 2040 | snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2041 | stmmac_selftests[i].name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:66: warning: ‘-rx-’ directive output may be truncated writing 4 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:63: note: directive argument in the range [-2147483641, 254] 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:891:25: note: ‘snprintf’ output between 6 and 31 bytes into a destination of size 16 891 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 892 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:66: warning: ‘-rx-txc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:888:25: note: ‘snprintf’ output between 8 and 23 bytes into a destination of size 16 888 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-rx-txc", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | ndev->name); | ~~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_register_irq’: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:58: warning: ‘-txc-’ directive output may be truncated writing 5 bytes into a region of size between 1 and 16 [-Wformat-truncation=] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~ In function ‘xgene_enet_set_irq_name’, inlined from ‘xgene_enet_register_irq’ at ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:910:2: ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:55: note: directive argument in the range [-2147483641, 254] 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~ ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:898:17: note: ‘snprintf’ output between 7 and 32 bytes into a destination of size 16 898 | snprintf(ring->irq_name, IRQ_ID_SIZE, "%s-txc-%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | ndev->name, i); | ~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: expected restricted __be32 [usertype] mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1138:27: got int ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: expected restricted __be32 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1383:18: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: expected restricted __be32 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1384:18: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: expected restricted __be16 [addressable] [usertype] src ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1512:24: got unsigned int [usertype] src_mask ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: warning: incorrect type in assignment (different base types) ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: expected restricted __be16 [addressable] [usertype] dst ../drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1513:24: got unsigned int [usertype] dst_mask ../drivers/net/ethernet/sfc/siena/tx.c:290:9: warning: context imbalance in 'efx_siena_xdp_tx_buffers' - different lock contexts for basic block ../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/falcon/ethtool.c: In function ‘ef4_fill_test’: ../drivers/net/ethernet/sfc/falcon/ethtool.c:229:32: warning: ‘%-24s’ directive output may be truncated writing between 24 and 31 bytes into a region of size between 0 and 25 [-Wformat-truncation=] 229 | "%-6s %-24s", unit_str, test_str); | ^~~~~ ~~~~~~~~ ../drivers/net/ethernet/sfc/falcon/ethtool.c:227:17: note: ‘snprintf’ output between 32 and 64 bytes into a destination of size 32 227 | snprintf(strings + test_index * ETH_GSTRING_LEN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | ETH_GSTRING_LEN, | ~~~~~~~~~~~~~~~~ 229 | "%-6s %-24s", unit_str, test_str); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/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/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files 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/bpf/helpers.c:1194:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1194:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1194:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1882:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1883:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1884:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1885:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1886:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1887:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1888:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2114:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2128:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2159:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2167:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2173:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2218:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2228:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2261:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2266:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2271:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2327:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2337:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2350:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2361:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2366:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2379:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2396:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2409:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2429:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2449:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2469:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2486:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2527:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2612:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2645:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2664:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2671:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2681:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2691:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2707:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2712:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2722:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2751:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2770:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2784:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2801:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2815:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2820:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2853:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:2932:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit ../kernel/bpf/helpers.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/arraymap.c:603:35: warning: incorrect type in return expression (different address spaces) ../kernel/bpf/arraymap.c:603:35: expected void * ../kernel/bpf/arraymap.c:603:35: got void [noderef] __percpu * ../kernel/bpf/arraymap.c:622:35: warning: incorrect type in return expression (different address spaces) ../kernel/bpf/arraymap.c:622:35: expected void * ../kernel/bpf/arraymap.c:622:35: got void [noderef] __percpu * ../kernel/bpf/arraymap.c:655:53: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/arraymap.c:655:53: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/arraymap.c:655:53: got void [noderef] __percpu ** ../kernel/bpf/hashtab.c:1052:30: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/hashtab.c:1052:30: expected void [noderef] __percpu *[assigned] pptr ../kernel/bpf/hashtab.c:1052:30: got void * ../kernel/bpf/hashtab.c:1058:44: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/hashtab.c:1058:44: expected void *ptr_to_pptr ../kernel/bpf/hashtab.c:1058:44: got void [noderef] __percpu *[assigned] pptr ../kernel/bpf/hashtab.c:1059:34: warning: cast removes address space '__percpu' of expression ../kernel/bpf/hashtab.c:1059:30: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/hashtab.c:1059:30: expected void [noderef] __percpu *[assigned] pptr ../kernel/bpf/hashtab.c:1059:30: got void * ../kernel/bpf/hashtab.c:1439:27: warning: context imbalance in 'htab_map_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c:1473:27: warning: context imbalance in 'htab_lru_map_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c:1650:27: warning: context imbalance in '__htab_map_lookup_and_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:869:25: warning: context imbalance in '__htab_map_lookup_and_delete_batch' - unexpected unlock ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock ../kernel/bpf/memalloc.c:142:30: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/memalloc.c:142:30: expected void *pptr ../kernel/bpf/memalloc.c:142:30: got void [noderef] __percpu *_res ../kernel/bpf/memalloc.c:145:37: warning: incorrect type in argument 1 (different address spaces) ../kernel/bpf/memalloc.c:145:37: expected void [noderef] __percpu *__pdata ../kernel/bpf/memalloc.c:145:37: got void *pptr ../kernel/bpf/memalloc.c:256:43: warning: incorrect type in argument 1 (different address spaces) ../kernel/bpf/memalloc.c:256:43: expected void [noderef] __percpu *__pdata ../kernel/bpf/memalloc.c:256:43: got void * WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files 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/bpf/helpers.c:1194:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1194:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1194:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1882:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1883:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1884:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1885:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1886:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1887:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1888:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2114:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2128:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2159:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2167:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2173:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2218:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2228:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2261:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2266:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2271:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2327:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2337:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2350:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2361:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2366:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2379:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2396:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2409:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2429:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2449:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2469:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2486:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2527:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2612:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2645:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2664:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2671:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2681:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2691:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2707:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2712:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2722:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2751:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2770:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2784:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2801:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2815:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2820:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2853:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:2932:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit ../kernel/bpf/helpers.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/hashtab.c:1440:27: warning: context imbalance in 'htab_map_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c:1474:27: warning: context imbalance in 'htab_lru_map_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c:1651:27: warning: context imbalance in '__htab_map_lookup_and_delete_elem' - unexpected unlock ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:869:25: warning: context imbalance in '__htab_map_lookup_and_delete_batch' - unexpected unlock ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:869:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/ch341.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb_debug.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/mxuport.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/navman.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/qcaux.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/usb-serial-simple.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/serial/symbolserial.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?