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: ../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 ../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. 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. 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/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/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/natsemi/ns83820.c:1703:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1703 | int loops = 0; | ^ 1 warning 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. ../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. 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/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/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. 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/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. ../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. ../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/infiniband/sw/rdmavt/vt.c:9: In file included from ../drivers/infiniband/sw/rdmavt/vt.h:9: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/mcast.c:9: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. 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/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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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/file_ops.c:16: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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/init.c:17: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 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/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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/qp.c:11: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/vnic_sdma.c:10: 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/vnic_main.c:13: In file included from ../drivers/infiniband/hw/hfi1/vnic.h:9: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. 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. ../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: ../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. 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. ../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/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. 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/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/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/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/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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/mcast.c:9: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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/affinity.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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/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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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/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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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/file_ops.c:16: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 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 ../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/firmware.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/init.c:17: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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/opfn.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/qp.c:11: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. In file included from ../drivers/infiniband/hw/hfi1/vnic_main.c:13: In file included from ../drivers/infiniband/hw/hfi1/vnic.h:9: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/vnic_sdma.c:10: 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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. 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. ../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: ../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. 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/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/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. 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. ../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/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/natsemi/ns83820.c:1703:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1703 | int loops = 0; | ^ 1 warning 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. 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. 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. ../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. ../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/infiniband/sw/rdmavt/vt.c:9: In file included from ../drivers/infiniband/sw/rdmavt/vt.h:9: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/sw/rdmavt/mcast.c:9: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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/sw/rdmavt/mr.c:9: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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/file_ops.c:16: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/init.c:17: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 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/pio_copy.c:6: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/qp.c:11: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 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/user_pages.c:11: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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. 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/vnic_main.c:13: In file included from ../drivers/infiniband/hw/hfi1/vnic.h:9: In file included from ../drivers/infiniband/hw/hfi1/hfi.h:32: ../include/rdma/rdma_vt.h:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning generated. In file included from ../drivers/infiniband/hw/hfi1/vnic_sdma.c:10: 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | 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:447: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] 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | __attribute__((format(printf, 2, 3))) 438 | const char *fmt, const char *name, 439 | const int unit) 440 | { 441 | /* 442 | * FIXME: rvt and its users want to touch the ibdev before 443 | * registration and have things like the name work. We don't have the 444 | * infrastructure in the core to support this directly today, hack it 445 | * to work by setting the name manually here. 446 | */ 447 | dev_set_name(&rdi->ibdev.dev, fmt, name, unit); | ^ ../include/rdma/rdma_vt.h:437:20: note: 'rvt_set_ibdev_name' declared here 437 | static inline void rvt_set_ibdev_name(struct rvt_dev_info *rdi, | ^ 1 warning 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.