========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/misc/sgi-gru/gruhandles.c:65:7: error: use of undeclared identifier 'GRU_OP_TIMEOUT_NSEC' 65 | if (GRU_OP_TIMEOUT_NSEC < (ktime_get() - start_time)) { | ^~~~~~~~~~~~~~~~~~~ 1 error generated. make[6]: *** [../scripts/Makefile.build:289: drivers/misc/sgi-gru/gruhandles.o] Error 1 make[5]: *** [../scripts/Makefile.build:548: drivers/misc/sgi-gru] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:548: drivers/misc] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/devfreq/event/exynos-ppmu.c:527:20: warning: cast to smaller integer type 'enum exynos_ppmu_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] 527 | info->ppmu_type = (enum exynos_ppmu_type)device_get_match_data(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'offset' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'irq_mask' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'config' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'regs' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'avg_count' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'boost_freq' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'target_freq' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'offset' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'irq_mask' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_coeff' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_up_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'boost_down_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:99 struct member 'avg_dependency_threshold' not described in 'tegra_devfreq_device_config' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'config' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'regs' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'avg_count' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'boost_freq' not described in 'tegra_devfreq_device' Warning: ../drivers/devfreq/tegra30-devfreq.c:170 struct member 'target_freq' not described in 'tegra_devfreq_device' Warning: ../drivers/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' Warning: ../drivers/accel/ethosu/ethosu_gem.c:680 function parameter 'data' not described in 'ethosu_gem_cmdstream_create' ../drivers/rapidio/rio_cm.c:669:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 669 | int rc; | ^ 1 warning generated. make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2105: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/misc/sgi-gru/gruhandles.c:65:7: error: use of undeclared identifier 'GRU_OP_TIMEOUT_NSEC' 65 | if (GRU_OP_TIMEOUT_NSEC < (ktime_get() - start_time)) { | ^~~~~~~~~~~~~~~~~~~ 1 error generated. make[6]: *** [../scripts/Makefile.build:289: drivers/misc/sgi-gru/gruhandles.o] Error 1 make[5]: *** [../scripts/Makefile.build:548: drivers/misc/sgi-gru] Error 2 make[4]: *** [../scripts/Makefile.build:548: drivers/misc] Error 2 make[4]: *** Waiting for unfinished jobs.... Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2105: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/misc/sgi-gru/gruhandles.c:65:7: error: use of undeclared identifier 'GRU_OP_TIMEOUT_NSEC' 65 | if (GRU_OP_TIMEOUT_NSEC < (ktime_get() - start_time)) { | ^~~~~~~~~~~~~~~~~~~ 1 error generated. make[6]: *** [../scripts/Makefile.build:289: drivers/misc/sgi-gru/gruhandles.o] Error 1 make[5]: *** [../scripts/Makefile.build:548: drivers/misc/sgi-gru] Error 2 make[4]: *** [../scripts/Makefile.build:548: drivers/misc] Error 2 make[4]: *** Waiting for unfinished jobs.... Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' 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. Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' 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/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/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/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/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/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/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/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/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/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/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/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/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. 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/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/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/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/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/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/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/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. ../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/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/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/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. 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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_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/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/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. 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. Warning: ../drivers/iio/adc/ade9000.c:2 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * ADE9000 driver 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. make[3]: *** [../scripts/Makefile.build:548: drivers] Error 2 make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2105: .] Error 2 make[1]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.alVNVB3KhJ 2026-04-10 14:32:39.602729452 -0400 +++ /tmp/tmp.HlxY7oAgby 2026-04-10 14:33:07.538571766 -0400 @@ -10,2 +10,1264 @@ -Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' -Warning: ../drivers/nvdimm/core.c:219 function parameter 'len' not described in 'nd_uuid_store' +Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' +Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' +Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' +Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' +Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' +Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' +Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' +Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' +Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' +Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' +Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' +Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' +Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' +Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' +Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' +Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' +Warning: ../drivers/dca/dca-core.c:171 function parameter 'dev' not described in 'dca_add_requester' +Warning: ../drivers/dca/dca-core.c:226 function parameter 'dev' not described in 'dca_remove_requester' +Warning: ../drivers/dca/dca-core.c:258 function parameter 'dev' not described in 'dca_common_get_tag' +Warning: ../drivers/dca/dca-core.c:258 function parameter 'cpu' not described in 'dca_common_get_tag' +Warning: ../drivers/dca/dca-core.c:283 function parameter 'dev' not described in 'dca3_get_tag' +Warning: ../drivers/dca/dca-core.c:283 function parameter 'cpu' not described in 'dca3_get_tag' +Warning: ../drivers/dca/dca-core.c:296 function parameter 'cpu' not described in 'dca_get_tag' +Warning: ../drivers/dca/dca-core.c:308 function parameter 'ops' not described in 'alloc_dca_provider' +Warning: ../drivers/dca/dca-core.c:308 function parameter 'priv_size' not described in 'alloc_dca_provider' +Warning: ../drivers/dca/dca-core.c:328 function parameter 'dca' not described in 'free_dca_provider' +Warning: ../drivers/dca/dca-core.c:339 function parameter 'dca' not described in 'register_dca_provider' +Warning: ../drivers/dca/dca-core.c:339 function parameter 'dev' not described in 'register_dca_provider' +Warning: ../drivers/dca/dca-core.c:396 function parameter 'dca' not described in 'unregister_dca_provider' +Warning: ../drivers/dca/dca-core.c:396 function parameter 'dev' not described in 'unregister_dca_provider' +Warning: ../drivers/dca/dca-core.c:428 function parameter 'nb' not described in 'dca_register_notify' +Warning: ../drivers/dca/dca-core.c:437 function parameter 'nb' not described in 'dca_unregister_notify' +Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' +Warning: ../drivers/memstick/host/r592.c:47 function parameter 'tpc' not described in 'memstick_debug_get_tpc_name' +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. +Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' +Warning: ../drivers/ntb/msi.c:32 function parameter 'desc_changed' not described in 'ntb_msi_init' +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/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/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/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/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/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/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/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/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/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/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/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/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. +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/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/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/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/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/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/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/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. +../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/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/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/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. +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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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_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/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/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. +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. +Warning: ../drivers/iio/adc/ade9000.c:2 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst + * ADE9000 driver +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. @@ -13 +1274,0 @@ -make[3]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.vy1SAVMZCJ 2026-04-10 14:33:07.543571738 -0400 +++ /tmp/tmp.ydqAbsdBZ6 2026-04-10 14:33:07.545571727 -0400 @@ -0,0 +1 @@ + 12 ../drivers/infiniband/hw/ionic/ionic_datapath.c @@ -1,0 +3 @@ + 57 ../include/rdma/rdma_vt.h