Documentation/.renames.txt: warning: ignored by one of the .gitignore files Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead In file included from ../drivers/nfc/pn533/pn533.c:9: In file included from ../include/linux/device.h:15: In file included from ../include/linux/dev_printk.h:16: In file included from ../include/linux/ratelimit.h:6: In file included from ../include/linux/sched.h:13: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2301 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2336 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2505 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2505 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2854 function parameter 'handle' not described in 'snapshot_write_finalize' Warning: ../kernel/power/snapshot.c:469 function parameter 'zone' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'gfp_mask' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'safe_needed' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:469 function parameter 'ca' not described in 'add_rtree_block' Warning: ../kernel/power/snapshot.c:542 function parameter 'gfp_mask' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'safe_needed' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'ca' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'start' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:542 function parameter 'end' not described in 'create_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'zone' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:577 function parameter 'clear_nosave_free' not described in 'free_zone_bm_rtree' Warning: ../kernel/power/snapshot.c:685 function parameter 'bm' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'gfp_mask' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:685 function parameter 'safe_needed' not described in 'memory_bm_create' Warning: ../kernel/power/snapshot.c:727 function parameter 'clear_nosave_free' not described in 'memory_bm_free' Warning: ../kernel/power/snapshot.c:749 function parameter 'bm' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'pfn' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'addr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:749 function parameter 'bit_nr' not described in 'memory_bm_find_bit' Warning: ../kernel/power/snapshot.c:997 function parameter 'start_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:997 function parameter 'end_pfn' not described in 'register_nosave_region' Warning: ../kernel/power/snapshot.c:1316 function parameter 'zone' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1316 function parameter 'pfn' not described in 'saveable_highmem_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'zone' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1375 function parameter 'pfn' not described in 'saveable_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 'dst' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1452 function parameter 's_page' not described in 'safe_copy_page' Warning: ../kernel/power/snapshot.c:1693 function parameter 'x' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'multiplier' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1693 function parameter 'base' not described in '__fraction' Warning: ../kernel/power/snapshot.c:1991 function parameter 'nr_highmem' not described in 'count_pages_for_highmem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_pages' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2009 function parameter 'nr_highmem' not described in 'enough_free_mem' Warning: ../kernel/power/snapshot.c:2032 function parameter 'safe_needed' not described in 'get_highmem_buffer' Warning: ../kernel/power/snapshot.c:2045 function parameter 'bm' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2045 function parameter 'nr_highmem' not described in 'alloc_highmem_pages' Warning: ../kernel/power/snapshot.c:2080 function parameter 'copy_bm' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_pages' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2080 function parameter 'nr_highmem' not described in 'swsusp_alloc' Warning: ../kernel/power/snapshot.c:2301 function parameter 'bm' not described in 'mark_unsafe_pages' Warning: ../kernel/power/snapshot.c:2336 function parameter 'info' not described in 'load_header' Warning: ../kernel/power/snapshot.c:2505 function parameter 'page' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2505 function parameter 'ca' not described in 'get_highmem_page_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'bm' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2715 function parameter 'ca' not described in 'get_buffer' Warning: ../kernel/power/snapshot.c:2854 function parameter 'handle' not described in 'snapshot_write_finalize' ../drivers/block/rbd.c:6101:17: warning: result of comparison of constant 2305843009213693948 with expression of type 'u32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 6101 | if (snap_count > (SIZE_MAX - sizeof (struct ceph_snap_context)) | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6102 | / sizeof (u64)) { | ~~~~~~~~~~~~~~ 1 warning generated. ../drivers/message/fusion/mptsas.c:4790:17: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable] 4790 | unsigned long timeleft; | ^ 1 warning generated. Warning: ../block/partitions/aix.c:80 function parameter 'state' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'lba' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'buffer' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'count' not described in 'read_lba' Warning: ../block/partitions/aix.c:113 function parameter 'state' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:113 function parameter 'lba' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:138 function parameter 'state' not described in 'alloc_lvn' Warning: ../block/partitions/aix.c:138 function parameter 'lba' not described in 'alloc_lvn' Warning: ../block/partitions/aix.c:80 function parameter 'state' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'lba' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'buffer' not described in 'read_lba' Warning: ../block/partitions/aix.c:80 function parameter 'count' not described in 'read_lba' Warning: ../block/partitions/aix.c:113 function parameter 'state' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:113 function parameter 'lba' not described in 'alloc_pvd' Warning: ../block/partitions/aix.c:138 function parameter 'state' not described in 'alloc_lvn' Warning: ../block/partitions/aix.c:138 function parameter 'lba' not described in 'alloc_lvn' ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. Warning: ../drivers/spi/spi-axiado.c:226 expecting prototype for ax_spi_get_rx_byte(). Prototype was for ax_spi_get_rx_byte_for_irq() instead Warning: ../drivers/spi/spi-axiado.c:248 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * Helper function to process received bytes and check for transfer completion. Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead In file included from ../drivers/net/ethernet/broadcom/b44.c:17: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/scsi/qla1280.c:1714:15: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1714 | int err = 0, num, i; | ^ 1 warning generated. ../drivers/scsi/dc395x.c:2185:6: warning: variable 'fact' set but not used [-Wunused-but-set-variable] 2185 | int fact; | ^ 1 warning generated. ../drivers/media/platform/qcom/camss/camss-csiphy.c:566:44: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'csiphy_match_clock_name' [-Wmissing-format-attribute] 561 | static bool csiphy_match_clock_name(const char *clock_name, const char *format, | __attribute__((format(printf, 2, 3))) 562 | int index) 563 | { 564 | char name[16]; /* csiphyXXX_timer\0 */ 565 | 566 | snprintf(name, sizeof(name), format, index); | ^ ../drivers/media/platform/qcom/camss/camss-csiphy.c:561:13: note: 'csiphy_match_clock_name' declared here 561 | static bool csiphy_match_clock_name(const char *clock_name, const char *format, | ^ 1 warning generated. ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:934:24: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 934 | flags |= is_new_rate ? IWL_MAC_BEACON_CCK | ^ ~~~~~~~~~~~~~~~~~~ 935 | : IWL_MAC_BEACON_CCK_V1; | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1101:21: warning: conditional expression between different enumeration types ('enum iwl_mac_beacon_flags' and 'enum iwl_mac_beacon_flags_v1') [-Wenum-compare-conditional] 1101 | 0) > 10 ? | ^ 1102 | IWL_MAC_BEACON_FILS : | ~~~~~~~~~~~~~~~~~~~ 1103 | IWL_MAC_BEACON_FILS_V1; | ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/gpu/drm/vc4/vc4_drv.c:302:8: warning: cast to smaller integer type 'enum vc4_gen' from 'const void *' [-Wvoid-pointer-to-enum-cast] 302 | gen = (enum vc4_gen)of_device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ../drivers/scsi/aic7xxx/aic7xxx_core.c:4171:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 4171 | uint32_t data_addr; | ^ 1 warning generated. In file included from ../drivers/scsi/pm8001/pm8001_hwi.c:40: In file included from ../include/linux/slab.h:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:100: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/scsi/pm8001/pm80xx_hwi.c:40: In file included from ../include/linux/slab.h:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:100: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/natsemi/ns83820.c:1703:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1703 | int loops = 0; | ^ 1 warning generated. ../drivers/scsi/aic7xxx/aic79xx_core.c:5694:13: warning: variable 'data_addr' set but not used [-Wunused-but-set-variable] 5694 | uint64_t data_addr; | ^ 1 warning generated. In file included from ../drivers/scsi/qla2xxx/qla_init.c:6: In file included from ../drivers/scsi/qla2xxx/qla_def.h:12: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Warning: ../drivers/scsi/qla2xxx/qla_isr.c:3912 function parameter 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' ../drivers/gpu/drm/pl111/pl111_versatile.c:489:24: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 489 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/gpu/drm/pl111/pl111_versatile.c:509:26: warning: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Wvoid-pointer-to-enum-cast] 509 | versatile_clcd_type = (enum versatile_clcd)clcd_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. In file included from ../drivers/infiniband/sw/rdmavt/vt.c:9: In file included from ../drivers/infiniband/sw/rdmavt/vt.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/ah.c:7: In file included from ../drivers/infiniband/sw/rdmavt/ah.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/scsi/bnx2i/bnx2i_hwi.c:17: In file included from ../include/linux/gfp.h:7: In file included from ../include/linux/mmzone.h:8: In file included from ../include/linux/spinlock.h:59: In file included from ../include/linux/irqflags.h:18: In file included from ../arch/x86/include/asm/irqflags.h:100: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/cq.c:9: In file included from ../drivers/infiniband/sw/rdmavt/cq.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/mad.c:7: In file included from ../drivers/infiniband/sw/rdmavt/mad.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. ../drivers/net/ethernet/sfc/ethtool_common.c:274:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 257 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:257:13: note: 'efx_fill_test' declared here 257 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:352:28: warning: data argument not used by format string [-Wformat-extra-args] 352 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:354:29: warning: data argument not used by format string [-Wformat-extra-args] 354 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:356:33: warning: data argument not used by format string [-Wformat-extra-args] 356 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:363:24: warning: data argument not used by format string [-Wformat-extra-args] 363 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:367:24: warning: data argument not used by format string [-Wformat-extra-args] 367 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:371:30: warning: data argument not used by format string [-Wformat-extra-args] 371 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/ethtool_common.c:373:33: warning: data argument not used by format string [-Wformat-extra-args] 373 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/scsi/mpt3sas/mpt3sas_ctl.c:2913 expecting prototype for mpt3sas_send_passthru_cmd(). Prototype was for mpt3sas_send_mctp_passthru_req() instead In file included from ../drivers/infiniband/sw/rdmavt/mcast.c:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/mmap.c:10: In file included from ../drivers/infiniband/sw/rdmavt/mmap.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/pd.c:7: In file included from ../drivers/infiniband/sw/rdmavt/pd.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/mr.c:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/rc.c:6: In file included from ../include/rdma/rdmavt_qp.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/qp.c:15: In file included from ../drivers/infiniband/sw/rdmavt/qp.h:9: In file included from ../include/rdma/rdmavt_qp.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/srq.c:11: In file included from ../drivers/infiniband/sw/rdmavt/srq.h:9: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/aspm.c:7: In file included from ../drivers/infiniband/hw/hfi1/aspm.h:9: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/affinity.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/trace.c:7: In file included from ../drivers/infiniband/sw/rdmavt/trace.h:9: In file included from ../drivers/infiniband/sw/rdmavt/trace_rvt.h:12: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/device.c:10: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/driver.c:18: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4647:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4647 | u64 val; | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/efivar.c:9: In file included from ../drivers/infiniband/hw/hfi1/efivar.h:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/eprom.c:7: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/exp_rcv.c:6: In file included from ../drivers/infiniband/hw/hfi1/exp_rcv.h:8: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/chip.c:16: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/file_ops.c:16: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/intr.c:10: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/firmware.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. ../drivers/infiniband/hw/ionic/ionic_datapath.c:902:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 902 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, SEND); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:905:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 905 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, SEND_IMM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:909:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 909 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, SEND_INV); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:946:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 946 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, SEND); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:949:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 949 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, SEND_IMM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:978:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 978 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, RDMA_READ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:983:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 983 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, RDMA_WRITE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:986:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 986 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, RDMA_WRITE_IMM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:1023:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 1023 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, ATOMIC_CS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:1031:18: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 1031 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, ATOMIC_FA); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:1066:17: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 1066 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, LOCAL_INV); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:1101:17: warning: conditional expression between different enumeration types ('enum ionic_v1_op' and 'enum ionic_v2_op') [-Wenum-compare-conditional] 1101 | wqe->base.op = IONIC_OP(dev->lif_cfg.rdma_version, REG_MR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/infiniband/hw/ionic/ionic_datapath.c:13:17: note: expanded from macro 'IONIC_OP' 13 | ((version) < 2 ? IONIC_V1_OP_##opname : IONIC_V2_OP_##opname) | ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. In file included from ../drivers/infiniband/hw/hfi1/init.c:17: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/iowait.c:7: In file included from ../drivers/infiniband/hw/hfi1/trace_iowait.h:11: In file included from ../drivers/infiniband/hw/hfi1/verbs.h:22: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/ipoib_rx.c:7: In file included from ../drivers/infiniband/hw/hfi1/netdev.h:10: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/ipoib_main.c:11: In file included from ../drivers/infiniband/hw/hfi1/ipoib.h:23: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:19: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:578:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 578 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/ipoib_tx.c:14: In file included from ../drivers/infiniband/hw/hfi1/sdma.h:15: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/msix.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/mmu_rb.c:13: In file included from ../drivers/infiniband/hw/hfi1/mmu_rb.h:10: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/netdev_rx.c:11: In file included from ../drivers/infiniband/hw/hfi1/sdma.h:15: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/mad.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/pcie.c:13: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/opfn.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/pin_system.c:8: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/pio_copy.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/platform.c:8: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/pio.c:7: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/qsfp.c:10: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. Warning: ../drivers/infiniband/hw/mlx5/umr.c:987 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of In file included from ../drivers/infiniband/hw/hfi1/qp.c:11: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/ruc.c:8: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/sysfs.c:9: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' In file included from ../drivers/infiniband/hw/hfi1/uc.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/rc.c:7: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/user_pages.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/ud.c:9: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/sdma.c:15: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/user_exp_rcv.c:9: In file included from ../drivers/infiniband/hw/hfi1/mmu_rb.h:10: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/verbs_txreq.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/debugfs.c:15: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/user_sdma.c:25: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/fault.c:13: In file included from ../drivers/infiniband/hw/hfi1/fault.h:13: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/verbs.c:17: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/tid_rdma.c:7: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. ../drivers/net/ethernet/sfc/falcon/ethtool.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'ef4_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:209:13: note: 'ef4_fill_test' declared here 209 | static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:305:28: warning: data argument not used by format string [-Wformat-extra-args] 305 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:307:29: warning: data argument not used by format string [-Wformat-extra-args] 307 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:309:33: warning: data argument not used by format string [-Wformat-extra-args] 309 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:316:24: warning: data argument not used by format string [-Wformat-extra-args] 316 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:320:24: warning: data argument not used by format string [-Wformat-extra-args] 320 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:324:30: warning: data argument not used by format string [-Wformat-extra-args] 324 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/falcon/ethtool.c:326:33: warning: data argument not used by format string [-Wformat-extra-args] 326 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. ../drivers/net/ethernet/sfc/siena/ethtool_common.c:226:60: warning: diagnostic behavior may be improved by adding the 'format(printf, 7, 8)' attribute to the declaration of 'efx_fill_test' [-Wmissing-format-attribute] 209 | snprintf(test_str, sizeof(test_str), test_format, test_id); | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:209:13: note: 'efx_fill_test' declared here 209 | static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:304:28: warning: data argument not used by format string [-Wformat-extra-args] 304 | "phy", 0, "alive", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:306:29: warning: data argument not used by format string [-Wformat-extra-args] 306 | "core", 0, "nvram", NULL); | ~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:308:33: warning: data argument not used by format string [-Wformat-extra-args] 308 | "core", 0, "interrupt", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:315:24: warning: data argument not used by format string [-Wformat-extra-args] 315 | "eventq.dma", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:319:24: warning: data argument not used by format string [-Wformat-extra-args] 319 | "eventq.int", NULL); | ~~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:323:30: warning: data argument not used by format string [-Wformat-extra-args] 323 | "core", 0, "memory", NULL); | ~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ ../drivers/net/ethernet/sfc/siena/ethtool_common.c:325:33: warning: data argument not used by format string [-Wformat-extra-args] 325 | "core", 0, "registers", NULL); | ~~~~~~~~~~~ ^ ../include/linux/stddef.h:8:14: note: expanded from macro 'NULL' 8 | #define NULL ((void *)0) | ^ 8 warnings generated. In file included from ../drivers/infiniband/hw/hfi1/trace.c:6: In file included from ../drivers/infiniband/hw/hfi1/trace.h:15: In file included from ../drivers/infiniband/hw/hfi1/trace_dbg.h:12: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:457:47: warning: diagnostic behavior may be improved by adding the 'format(printf, 2, 3)' attribute to the declaration of 'rvt_set_ibdev_name' [-Wmissing-format-attribute] 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 448 | const char *fmt, const char *name, 449 | const int unit) 450 | { 451 | /* 452 | * FIXME: rvt and its users want to touch the ibdev before 453 | * registration and have things like the name work. We don't have the 454 | * infrastructure in the core to support this directly today, hack it 455 | * to work by setting the name manually here. 456 | */ 457 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:447:20: note: 'rvt_set_ibdev_name' declared here 447 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' Warning: ../drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:41 function parameter 'mode_clk_rate' not described in 'dpu_core_perf_adjusted_mode_clk' Warning: ../drivers/iio/adc/ade9000.c:2 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * ADE9000 driver Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files