========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files Warning: ../security/smack/smack_access.c:584 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:692 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:692 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/ruleset.c:209 Invalid param: const struct landlock_layer (*const layers)[] Warning: ../security/landlock/ruleset.c:209 function parameter 'const struct landlock_layer (*const layers' not described in 'insert_rule' Warning: ../security/landlock/ruleset.c:692 Invalid param: layer_mask_t (*const layer_masks)[] Warning: ../security/landlock/ruleset.c:692 function parameter 'layer_mask_t (*const layer_masks' not described in 'landlock_init_layer_masks' Warning: ../security/landlock/fs.c:765 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:765 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:765 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:765 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1057 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1057 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' Warning: ../security/landlock/fs.c:765 Invalid param: layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:765 function parameter 'layer_mask_t (*const layer_masks_parent1' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:765 Invalid param: layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:765 function parameter 'layer_mask_t (*const layer_masks_parent2' not described in 'is_access_to_paths_allowed' Warning: ../security/landlock/fs.c:1057 Invalid param: layer_mask_t (*const layer_masks_dom)[LANDLOCK_NUM_ACCESS_FS] Warning: ../security/landlock/fs.c:1057 function parameter 'layer_mask_t (*const layer_masks_dom' not described in 'collect_domain_accesses' Warning: ../security/apparmor/af_unix.c:618 Cannot find identifier on line: * Warning: ../security/apparmor/af_unix.c:626 function parameter 'subj_cred' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'op' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'request' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_sk' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 function parameter 'peer_label' not described in 'aa_unix_peer_perm' Warning: ../security/apparmor/af_unix.c:626 expecting prototype for Requires(). Prototype was for aa_unix_peer_perm() instead In file included from ../drivers/net/ethernet/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 2 warnings generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:11: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:386: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:10:8: error: redefinition of 'hwrm_cmd_hdr' 10 | struct hwrm_cmd_hdr { | ^ ../include/linux/bnxt/hsi.h:18:8: note: previous definition is here 18 | struct hwrm_cmd_hdr { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:19:8: error: redefinition of 'hwrm_resp_hdr' 19 | struct hwrm_resp_hdr { | ^ ../include/linux/bnxt/hsi.h:27:8: note: previous definition is here 27 | struct hwrm_resp_hdr { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:52:8: error: redefinition of 'tlv' 52 | struct tlv { | ^ ../include/linux/bnxt/hsi.h:62:8: note: previous definition is here 62 | struct tlv { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:68:8: error: redefinition of 'input' 68 | struct input { | ^ ../include/linux/bnxt/hsi.h:78:8: note: previous definition is here 78 | struct input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:77:8: error: redefinition of 'output' 77 | struct output { | ^ ../include/linux/bnxt/hsi.h:87:8: note: previous definition is here 87 | struct output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:85:8: error: redefinition of 'hwrm_short_input' 85 | struct hwrm_short_input { | ^ ../include/linux/bnxt/hsi.h:95:8: note: previous definition is here 95 | struct hwrm_short_input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:99:8: error: redefinition of 'cmd_nums' 99 | struct cmd_nums { | ^ ../include/linux/bnxt/hsi.h:109:8: note: previous definition is here 109 | struct cmd_nums { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:590:8: error: redefinition of 'ret_codes' 590 | struct ret_codes { | ^ ../include/linux/bnxt/hsi.h:593:8: note: previous definition is here 593 | struct ret_codes { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:621:8: error: redefinition of 'hwrm_err_output' 621 | struct hwrm_err_output { | ^ ../include/linux/bnxt/hsi.h:624:8: note: previous definition is here 624 | struct hwrm_err_output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:643:9: warning: 'HWRM_VERSION_MINOR' macro redefined [-Wmacro-redefined] 643 | #define HWRM_VERSION_MINOR 15 | ^ ../include/linux/bnxt/hsi.h:645:9: note: previous definition is here 645 | #define HWRM_VERSION_MINOR 10 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:644:9: warning: 'HWRM_VERSION_UPDATE' macro redefined [-Wmacro-redefined] 644 | #define HWRM_VERSION_UPDATE 1 | ^ ../include/linux/bnxt/hsi.h:646:9: note: previous definition is here 646 | #define HWRM_VERSION_UPDATE 3 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:645:9: warning: 'HWRM_VERSION_RSVD' macro redefined [-Wmacro-redefined] 645 | #define HWRM_VERSION_RSVD 1 | ^ ../include/linux/bnxt/hsi.h:647:9: note: previous definition is here 647 | #define HWRM_VERSION_RSVD 151 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:646:9: warning: 'HWRM_VERSION_STR' macro redefined [-Wmacro-redefined] 646 | #define HWRM_VERSION_STR "1.15.1.1" | ^ ../include/linux/bnxt/hsi.h:648:9: note: previous definition is here 648 | #define HWRM_VERSION_STR "1.10.3.151" | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:649:8: error: redefinition of 'hwrm_ver_get_input' 649 | struct hwrm_ver_get_input { | ^ ../include/linux/bnxt/hsi.h:651:8: note: previous definition is here 651 | struct hwrm_ver_get_input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:662:8: error: redefinition of 'hwrm_ver_get_output' 662 | struct hwrm_ver_get_output { | ^ ../include/linux/bnxt/hsi.h:664:8: note: previous definition is here 664 | struct hwrm_ver_get_output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:762:8: error: redefinition of 'eject_cmpl' 762 | struct eject_cmpl { | ^ ../include/linux/bnxt/hsi.h:758:8: note: previous definition is here 758 | struct eject_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:789:8: error: redefinition of 'hwrm_cmpl' 789 | struct hwrm_cmpl { | ^ ../include/linux/bnxt/hsi.h:785:8: note: previous definition is here 785 | struct hwrm_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:803:8: error: redefinition of 'hwrm_fwd_req_cmpl' 803 | struct hwrm_fwd_req_cmpl { | ^ ../include/linux/bnxt/hsi.h:799:8: note: previous definition is here 799 | struct hwrm_fwd_req_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:820:8: error: redefinition of 'hwrm_fwd_resp_cmpl' 820 | struct hwrm_fwd_resp_cmpl { | ^ ../include/linux/bnxt/hsi.h:816:8: note: previous definition is here 816 | struct hwrm_fwd_resp_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:836:8: error: redefinition of 'hwrm_async_event_cmpl' 836 | struct hwrm_async_event_cmpl { | ^ ../include/linux/bnxt/hsi.h:832:8: note: previous definition is here 832 | struct hwrm_async_event_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:894:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS' macro redefined [-Wmacro-redefined] 894 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x53UL | ^ ../include/linux/bnxt/hsi.h:888:10: note: previous definition is here 888 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x51UL | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:896:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID' macro redefined [-Wmacro-redefined] 896 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x55UL | ^ ../include/linux/bnxt/hsi.h:889:10: note: previous definition is here 889 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x52UL | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:912:8: error: redefinition of 'hwrm_async_event_cmpl_link_status_change' 912 | struct hwrm_async_event_cmpl_link_status_change { | ^ ../include/linux/bnxt/hsi.h:904:8: note: previous definition is here 904 | struct hwrm_async_event_cmpl_link_status_change { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:942:8: error: redefinition of 'hwrm_async_event_cmpl_port_conn_not_allowed' 942 | struct hwrm_async_event_cmpl_port_conn_not_allowed { | ^ ../include/linux/bnxt/hsi.h:934:8: note: previous definition is here 934 | struct hwrm_async_event_cmpl_port_conn_not_allowed { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:971:8: error: redefinition of 'hwrm_async_event_cmpl_link_speed_cfg_change' 971 | struct hwrm_async_event_cmpl_link_speed_cfg_change { | ^ ../include/linux/bnxt/hsi.h:963:8: note: previous definition is here 963 | struct hwrm_async_event_cmpl_link_speed_cfg_change { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. make[7]: *** [../scripts/Makefile.build:287: drivers/infiniband/hw/bng_re/bng_dev.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:544: drivers/infiniband/hw/bng_re] Error 2 make[6]: *** Waiting for unfinished jobs.... Warning: ../drivers/infiniband/hw/mlx5/umr.c:986 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * This function makes an mkey non-present by zapping the translation entries of ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make[5]: *** [../scripts/Makefile.build:544: drivers/infiniband/hw] Error 2 make[4]: *** [../scripts/Makefile.build:544: drivers/infiniband] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:544: drivers] Error 2 make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2054: .] 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/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. Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:10:8: error: redefinition of 'hwrm_cmd_hdr' 10 | struct hwrm_cmd_hdr { | ^ ../include/linux/bnxt/hsi.h:18:8: note: previous definition is here 18 | struct hwrm_cmd_hdr { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:19:8: error: redefinition of 'hwrm_resp_hdr' 19 | struct hwrm_resp_hdr { | ^ ../include/linux/bnxt/hsi.h:27:8: note: previous definition is here 27 | struct hwrm_resp_hdr { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:52:8: error: redefinition of 'tlv' 52 | struct tlv { | ^ ../include/linux/bnxt/hsi.h:62:8: note: previous definition is here 62 | struct tlv { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:68:8: error: redefinition of 'input' 68 | struct input { | ^ ../include/linux/bnxt/hsi.h:78:8: note: previous definition is here 78 | struct input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:77:8: error: redefinition of 'output' 77 | struct output { | ^ ../include/linux/bnxt/hsi.h:87:8: note: previous definition is here 87 | struct output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:85:8: error: redefinition of 'hwrm_short_input' 85 | struct hwrm_short_input { | ^ ../include/linux/bnxt/hsi.h:95:8: note: previous definition is here 95 | struct hwrm_short_input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:99:8: error: redefinition of 'cmd_nums' 99 | struct cmd_nums { | ^ ../include/linux/bnxt/hsi.h:109:8: note: previous definition is here 109 | struct cmd_nums { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:590:8: error: redefinition of 'ret_codes' 590 | struct ret_codes { | ^ ../include/linux/bnxt/hsi.h:593:8: note: previous definition is here 593 | struct ret_codes { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:621:8: error: redefinition of 'hwrm_err_output' 621 | struct hwrm_err_output { | ^ ../include/linux/bnxt/hsi.h:624:8: note: previous definition is here 624 | struct hwrm_err_output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:643:9: warning: 'HWRM_VERSION_MINOR' macro redefined [-Wmacro-redefined] 643 | #define HWRM_VERSION_MINOR 15 | ^ ../include/linux/bnxt/hsi.h:645:9: note: previous definition is here 645 | #define HWRM_VERSION_MINOR 10 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:644:9: warning: 'HWRM_VERSION_UPDATE' macro redefined [-Wmacro-redefined] 644 | #define HWRM_VERSION_UPDATE 1 | ^ ../include/linux/bnxt/hsi.h:646:9: note: previous definition is here 646 | #define HWRM_VERSION_UPDATE 3 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:645:9: warning: 'HWRM_VERSION_RSVD' macro redefined [-Wmacro-redefined] 645 | #define HWRM_VERSION_RSVD 1 | ^ ../include/linux/bnxt/hsi.h:647:9: note: previous definition is here 647 | #define HWRM_VERSION_RSVD 151 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:646:9: warning: 'HWRM_VERSION_STR' macro redefined [-Wmacro-redefined] 646 | #define HWRM_VERSION_STR "1.15.1.1" | ^ ../include/linux/bnxt/hsi.h:648:9: note: previous definition is here 648 | #define HWRM_VERSION_STR "1.10.3.151" | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:649:8: error: redefinition of 'hwrm_ver_get_input' 649 | struct hwrm_ver_get_input { | ^ ../include/linux/bnxt/hsi.h:651:8: note: previous definition is here 651 | struct hwrm_ver_get_input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:662:8: error: redefinition of 'hwrm_ver_get_output' 662 | struct hwrm_ver_get_output { | ^ ../include/linux/bnxt/hsi.h:664:8: note: previous definition is here 664 | struct hwrm_ver_get_output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:762:8: error: redefinition of 'eject_cmpl' 762 | struct eject_cmpl { | ^ ../include/linux/bnxt/hsi.h:758:8: note: previous definition is here 758 | struct eject_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:789:8: error: redefinition of 'hwrm_cmpl' 789 | struct hwrm_cmpl { | ^ ../include/linux/bnxt/hsi.h:785:8: note: previous definition is here 785 | struct hwrm_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:803:8: error: redefinition of 'hwrm_fwd_req_cmpl' 803 | struct hwrm_fwd_req_cmpl { | ^ ../include/linux/bnxt/hsi.h:799:8: note: previous definition is here 799 | struct hwrm_fwd_req_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:820:8: error: redefinition of 'hwrm_fwd_resp_cmpl' 820 | struct hwrm_fwd_resp_cmpl { | ^ ../include/linux/bnxt/hsi.h:816:8: note: previous definition is here 816 | struct hwrm_fwd_resp_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:836:8: error: redefinition of 'hwrm_async_event_cmpl' 836 | struct hwrm_async_event_cmpl { | ^ ../include/linux/bnxt/hsi.h:832:8: note: previous definition is here 832 | struct hwrm_async_event_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:894:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS' macro redefined [-Wmacro-redefined] 894 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x53UL | ^ ../include/linux/bnxt/hsi.h:888:10: note: previous definition is here 888 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x51UL | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:896:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID' macro redefined [-Wmacro-redefined] 896 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x55UL | ^ ../include/linux/bnxt/hsi.h:889:10: note: previous definition is here 889 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x52UL | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:912:8: error: redefinition of 'hwrm_async_event_cmpl_link_status_change' 912 | struct hwrm_async_event_cmpl_link_status_change { | ^ ../include/linux/bnxt/hsi.h:904:8: note: previous definition is here 904 | struct hwrm_async_event_cmpl_link_status_change { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:942:8: error: redefinition of 'hwrm_async_event_cmpl_port_conn_not_allowed' 942 | struct hwrm_async_event_cmpl_port_conn_not_allowed { | ^ ../include/linux/bnxt/hsi.h:934:8: note: previous definition is here 934 | struct hwrm_async_event_cmpl_port_conn_not_allowed { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:971:8: error: redefinition of 'hwrm_async_event_cmpl_link_speed_cfg_change' 971 | struct hwrm_async_event_cmpl_link_speed_cfg_change { | ^ ../include/linux/bnxt/hsi.h:963:8: note: previous definition is here 963 | struct hwrm_async_event_cmpl_link_speed_cfg_change { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. make[7]: *** [../scripts/Makefile.build:287: drivers/infiniband/hw/bng_re/bng_debugfs.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:10:8: error: redefinition of 'hwrm_cmd_hdr' 10 | struct hwrm_cmd_hdr { | ^ ../include/linux/bnxt/hsi.h:18:8: note: previous definition is here 18 | struct hwrm_cmd_hdr { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:19:8: error: redefinition of 'hwrm_resp_hdr' 19 | struct hwrm_resp_hdr { | ^ ../include/linux/bnxt/hsi.h:27:8: note: previous definition is here 27 | struct hwrm_resp_hdr { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:52:8: error: redefinition of 'tlv' 52 | struct tlv { | ^ ../include/linux/bnxt/hsi.h:62:8: note: previous definition is here 62 | struct tlv { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:68:8: error: redefinition of 'input' 68 | struct input { | ^ ../include/linux/bnxt/hsi.h:78:8: note: previous definition is here 78 | struct input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:77:8: error: redefinition of 'output' 77 | struct output { | ^ ../include/linux/bnxt/hsi.h:87:8: note: previous definition is here 87 | struct output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:85:8: error: redefinition of 'hwrm_short_input' 85 | struct hwrm_short_input { | ^ ../include/linux/bnxt/hsi.h:95:8: note: previous definition is here 95 | struct hwrm_short_input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:99:8: error: redefinition of 'cmd_nums' 99 | struct cmd_nums { | ^ ../include/linux/bnxt/hsi.h:109:8: note: previous definition is here 109 | struct cmd_nums { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:590:8: error: redefinition of 'ret_codes' 590 | struct ret_codes { | ^ ../include/linux/bnxt/hsi.h:593:8: note: previous definition is here 593 | struct ret_codes { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:621:8: error: redefinition of 'hwrm_err_output' 621 | struct hwrm_err_output { | ^ ../include/linux/bnxt/hsi.h:624:8: note: previous definition is here 624 | struct hwrm_err_output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:643:9: warning: 'HWRM_VERSION_MINOR' macro redefined [-Wmacro-redefined] 643 | #define HWRM_VERSION_MINOR 15 | ^ ../include/linux/bnxt/hsi.h:645:9: note: previous definition is here 645 | #define HWRM_VERSION_MINOR 10 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:644:9: warning: 'HWRM_VERSION_UPDATE' macro redefined [-Wmacro-redefined] 644 | #define HWRM_VERSION_UPDATE 1 | ^ ../include/linux/bnxt/hsi.h:646:9: note: previous definition is here 646 | #define HWRM_VERSION_UPDATE 3 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:645:9: warning: 'HWRM_VERSION_RSVD' macro redefined [-Wmacro-redefined] 645 | #define HWRM_VERSION_RSVD 1 | ^ ../include/linux/bnxt/hsi.h:647:9: note: previous definition is here 647 | #define HWRM_VERSION_RSVD 151 | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:646:9: warning: 'HWRM_VERSION_STR' macro redefined [-Wmacro-redefined] 646 | #define HWRM_VERSION_STR "1.15.1.1" | ^ ../include/linux/bnxt/hsi.h:648:9: note: previous definition is here 648 | #define HWRM_VERSION_STR "1.10.3.151" | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:649:8: error: redefinition of 'hwrm_ver_get_input' 649 | struct hwrm_ver_get_input { | ^ ../include/linux/bnxt/hsi.h:651:8: note: previous definition is here 651 | struct hwrm_ver_get_input { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:662:8: error: redefinition of 'hwrm_ver_get_output' 662 | struct hwrm_ver_get_output { | ^ ../include/linux/bnxt/hsi.h:664:8: note: previous definition is here 664 | struct hwrm_ver_get_output { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:762:8: error: redefinition of 'eject_cmpl' 762 | struct eject_cmpl { | ^ ../include/linux/bnxt/hsi.h:758:8: note: previous definition is here 758 | struct eject_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:789:8: error: redefinition of 'hwrm_cmpl' 789 | struct hwrm_cmpl { | ^ ../include/linux/bnxt/hsi.h:785:8: note: previous definition is here 785 | struct hwrm_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:803:8: error: redefinition of 'hwrm_fwd_req_cmpl' 803 | struct hwrm_fwd_req_cmpl { | ^ ../include/linux/bnxt/hsi.h:799:8: note: previous definition is here 799 | struct hwrm_fwd_req_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:820:8: error: redefinition of 'hwrm_fwd_resp_cmpl' 820 | struct hwrm_fwd_resp_cmpl { | ^ ../include/linux/bnxt/hsi.h:816:8: note: previous definition is here 816 | struct hwrm_fwd_resp_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:836:8: error: redefinition of 'hwrm_async_event_cmpl' 836 | struct hwrm_async_event_cmpl { | ^ ../include/linux/bnxt/hsi.h:832:8: note: previous definition is here 832 | struct hwrm_async_event_cmpl { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:894:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS' macro redefined [-Wmacro-redefined] 894 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x53UL | ^ ../include/linux/bnxt/hsi.h:888:10: note: previous definition is here 888 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x51UL | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:896:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID' macro redefined [-Wmacro-redefined] 896 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x55UL | ^ ../include/linux/bnxt/hsi.h:889:10: note: previous definition is here 889 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x52UL | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:912:8: error: redefinition of 'hwrm_async_event_cmpl_link_status_change' 912 | struct hwrm_async_event_cmpl_link_status_change { | ^ ../include/linux/bnxt/hsi.h:904:8: note: previous definition is here 904 | struct hwrm_async_event_cmpl_link_status_change { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:942:8: error: redefinition of 'hwrm_async_event_cmpl_port_conn_not_allowed' 942 | struct hwrm_async_event_cmpl_port_conn_not_allowed { | ^ ../include/linux/bnxt/hsi.h:934:8: note: previous definition is here 934 | struct hwrm_async_event_cmpl_port_conn_not_allowed { | ^ In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: ../include/linux/bnge/hsi.h:971:8: error: redefinition of 'hwrm_async_event_cmpl_link_speed_cfg_change' 971 | struct hwrm_async_event_cmpl_link_speed_cfg_change { | ^ ../include/linux/bnxt/hsi.h:963:8: note: previous definition is here 963 | struct hwrm_async_event_cmpl_link_speed_cfg_change { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. make[7]: *** [../scripts/Makefile.build:287: drivers/infiniband/hw/bng_re/bng_dev.o] Error 1 make[6]: *** [../scripts/Makefile.build:544: drivers/infiniband/hw/bng_re] Error 2 make[5]: *** [../scripts/Makefile.build:544: drivers/infiniband/hw] Error 2 make[4]: *** [../scripts/Makefile.build:544: drivers/infiniband] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:544: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2054: .] 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.YIvgcM7Mnf 2026-01-30 21:47:31.382334975 -0500 +++ /tmp/tmp.24fhcfvKkP 2026-01-30 21:49:05.951053593 -0500 @@ -2,73 +2,416 @@ -../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/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:10:8: error: redefinition of 'hwrm_cmd_hdr' + 10 | struct hwrm_cmd_hdr { + | ^ +../include/linux/bnxt/hsi.h:18:8: note: previous definition is here + 18 | struct hwrm_cmd_hdr { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:19:8: error: redefinition of 'hwrm_resp_hdr' + 19 | struct hwrm_resp_hdr { + | ^ +../include/linux/bnxt/hsi.h:27:8: note: previous definition is here + 27 | struct hwrm_resp_hdr { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:52:8: error: redefinition of 'tlv' + 52 | struct tlv { + | ^ +../include/linux/bnxt/hsi.h:62:8: note: previous definition is here + 62 | struct tlv { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:68:8: error: redefinition of 'input' + 68 | struct input { + | ^ +../include/linux/bnxt/hsi.h:78:8: note: previous definition is here + 78 | struct input { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:77:8: error: redefinition of 'output' + 77 | struct output { + | ^ +../include/linux/bnxt/hsi.h:87:8: note: previous definition is here + 87 | struct output { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:85:8: error: redefinition of 'hwrm_short_input' + 85 | struct hwrm_short_input { + | ^ +../include/linux/bnxt/hsi.h:95:8: note: previous definition is here + 95 | struct hwrm_short_input { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:99:8: error: redefinition of 'cmd_nums' + 99 | struct cmd_nums { + | ^ +../include/linux/bnxt/hsi.h:109:8: note: previous definition is here + 109 | struct cmd_nums { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:590:8: error: redefinition of 'ret_codes' + 590 | struct ret_codes { + | ^ +../include/linux/bnxt/hsi.h:593:8: note: previous definition is here + 593 | struct ret_codes { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:621:8: error: redefinition of 'hwrm_err_output' + 621 | struct hwrm_err_output { + | ^ +../include/linux/bnxt/hsi.h:624:8: note: previous definition is here + 624 | struct hwrm_err_output { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:643:9: warning: 'HWRM_VERSION_MINOR' macro redefined [-Wmacro-redefined] + 643 | #define HWRM_VERSION_MINOR 15 + | ^ +../include/linux/bnxt/hsi.h:645:9: note: previous definition is here + 645 | #define HWRM_VERSION_MINOR 10 + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:644:9: warning: 'HWRM_VERSION_UPDATE' macro redefined [-Wmacro-redefined] + 644 | #define HWRM_VERSION_UPDATE 1 + | ^ +../include/linux/bnxt/hsi.h:646:9: note: previous definition is here + 646 | #define HWRM_VERSION_UPDATE 3 + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:645:9: warning: 'HWRM_VERSION_RSVD' macro redefined [-Wmacro-redefined] + 645 | #define HWRM_VERSION_RSVD 1 + | ^ +../include/linux/bnxt/hsi.h:647:9: note: previous definition is here + 647 | #define HWRM_VERSION_RSVD 151 + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:646:9: warning: 'HWRM_VERSION_STR' macro redefined [-Wmacro-redefined] + 646 | #define HWRM_VERSION_STR "1.15.1.1" + | ^ +../include/linux/bnxt/hsi.h:648:9: note: previous definition is here + 648 | #define HWRM_VERSION_STR "1.10.3.151" + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:649:8: error: redefinition of 'hwrm_ver_get_input' + 649 | struct hwrm_ver_get_input { + | ^ +../include/linux/bnxt/hsi.h:651:8: note: previous definition is here + 651 | struct hwrm_ver_get_input { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:662:8: error: redefinition of 'hwrm_ver_get_output' + 662 | struct hwrm_ver_get_output { + | ^ +../include/linux/bnxt/hsi.h:664:8: note: previous definition is here + 664 | struct hwrm_ver_get_output { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:762:8: error: redefinition of 'eject_cmpl' + 762 | struct eject_cmpl { + | ^ +../include/linux/bnxt/hsi.h:758:8: note: previous definition is here + 758 | struct eject_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:789:8: error: redefinition of 'hwrm_cmpl' + 789 | struct hwrm_cmpl { + | ^ +../include/linux/bnxt/hsi.h:785:8: note: previous definition is here + 785 | struct hwrm_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:803:8: error: redefinition of 'hwrm_fwd_req_cmpl' + 803 | struct hwrm_fwd_req_cmpl { + | ^ +../include/linux/bnxt/hsi.h:799:8: note: previous definition is here + 799 | struct hwrm_fwd_req_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:820:8: error: redefinition of 'hwrm_fwd_resp_cmpl' + 820 | struct hwrm_fwd_resp_cmpl { + | ^ +../include/linux/bnxt/hsi.h:816:8: note: previous definition is here + 816 | struct hwrm_fwd_resp_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:836:8: error: redefinition of 'hwrm_async_event_cmpl' + 836 | struct hwrm_async_event_cmpl { + | ^ +../include/linux/bnxt/hsi.h:832:8: note: previous definition is here + 832 | struct hwrm_async_event_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:894:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS' macro redefined [-Wmacro-redefined] + 894 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x53UL + | ^ +../include/linux/bnxt/hsi.h:888:10: note: previous definition is here + 888 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x51UL + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:896:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID' macro redefined [-Wmacro-redefined] + 896 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x55UL + | ^ +../include/linux/bnxt/hsi.h:889:10: note: previous definition is here + 889 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x52UL + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:912:8: error: redefinition of 'hwrm_async_event_cmpl_link_status_change' + 912 | struct hwrm_async_event_cmpl_link_status_change { + | ^ +../include/linux/bnxt/hsi.h:904:8: note: previous definition is here + 904 | struct hwrm_async_event_cmpl_link_status_change { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:942:8: error: redefinition of 'hwrm_async_event_cmpl_port_conn_not_allowed' + 942 | struct hwrm_async_event_cmpl_port_conn_not_allowed { + | ^ +../include/linux/bnxt/hsi.h:934:8: note: previous definition is here + 934 | struct hwrm_async_event_cmpl_port_conn_not_allowed { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_debugfs.c:10: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:971:8: error: redefinition of 'hwrm_async_event_cmpl_link_speed_cfg_change' + 971 | struct hwrm_async_event_cmpl_link_speed_cfg_change { + | ^ +../include/linux/bnxt/hsi.h:963:8: note: previous definition is here + 963 | struct hwrm_async_event_cmpl_link_speed_cfg_change { + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +6 warnings and 20 errors generated. +make[7]: *** [../scripts/Makefile.build:287: drivers/infiniband/hw/bng_re/bng_debugfs.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:10:8: error: redefinition of 'hwrm_cmd_hdr' + 10 | struct hwrm_cmd_hdr { + | ^ +../include/linux/bnxt/hsi.h:18:8: note: previous definition is here + 18 | struct hwrm_cmd_hdr { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:19:8: error: redefinition of 'hwrm_resp_hdr' + 19 | struct hwrm_resp_hdr { + | ^ +../include/linux/bnxt/hsi.h:27:8: note: previous definition is here + 27 | struct hwrm_resp_hdr { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:52:8: error: redefinition of 'tlv' + 52 | struct tlv { + | ^ +../include/linux/bnxt/hsi.h:62:8: note: previous definition is here + 62 | struct tlv { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:68:8: error: redefinition of 'input' + 68 | struct input { + | ^ +../include/linux/bnxt/hsi.h:78:8: note: previous definition is here + 78 | struct input { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:77:8: error: redefinition of 'output' + 77 | struct output { + | ^ +../include/linux/bnxt/hsi.h:87:8: note: previous definition is here + 87 | struct output { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:85:8: error: redefinition of 'hwrm_short_input' + 85 | struct hwrm_short_input { + | ^ +../include/linux/bnxt/hsi.h:95:8: note: previous definition is here + 95 | struct hwrm_short_input { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:99:8: error: redefinition of 'cmd_nums' + 99 | struct cmd_nums { + | ^ +../include/linux/bnxt/hsi.h:109:8: note: previous definition is here + 109 | struct cmd_nums { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:590:8: error: redefinition of 'ret_codes' + 590 | struct ret_codes { + | ^ +../include/linux/bnxt/hsi.h:593:8: note: previous definition is here + 593 | struct ret_codes { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:621:8: error: redefinition of 'hwrm_err_output' + 621 | struct hwrm_err_output { + | ^ +../include/linux/bnxt/hsi.h:624:8: note: previous definition is here + 624 | struct hwrm_err_output { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:643:9: warning: 'HWRM_VERSION_MINOR' macro redefined [-Wmacro-redefined] + 643 | #define HWRM_VERSION_MINOR 15 + | ^ +../include/linux/bnxt/hsi.h:645:9: note: previous definition is here + 645 | #define HWRM_VERSION_MINOR 10 + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:644:9: warning: 'HWRM_VERSION_UPDATE' macro redefined [-Wmacro-redefined] + 644 | #define HWRM_VERSION_UPDATE 1 + | ^ +../include/linux/bnxt/hsi.h:646:9: note: previous definition is here + 646 | #define HWRM_VERSION_UPDATE 3 + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:645:9: warning: 'HWRM_VERSION_RSVD' macro redefined [-Wmacro-redefined] + 645 | #define HWRM_VERSION_RSVD 1 + | ^ +../include/linux/bnxt/hsi.h:647:9: note: previous definition is here + 647 | #define HWRM_VERSION_RSVD 151 + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:646:9: warning: 'HWRM_VERSION_STR' macro redefined [-Wmacro-redefined] + 646 | #define HWRM_VERSION_STR "1.15.1.1" + | ^ +../include/linux/bnxt/hsi.h:648:9: note: previous definition is here + 648 | #define HWRM_VERSION_STR "1.10.3.151" + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:649:8: error: redefinition of 'hwrm_ver_get_input' + 649 | struct hwrm_ver_get_input { + | ^ +../include/linux/bnxt/hsi.h:651:8: note: previous definition is here + 651 | struct hwrm_ver_get_input { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:662:8: error: redefinition of 'hwrm_ver_get_output' + 662 | struct hwrm_ver_get_output { + | ^ +../include/linux/bnxt/hsi.h:664:8: note: previous definition is here + 664 | struct hwrm_ver_get_output { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:762:8: error: redefinition of 'eject_cmpl' + 762 | struct eject_cmpl { + | ^ +../include/linux/bnxt/hsi.h:758:8: note: previous definition is here + 758 | struct eject_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:789:8: error: redefinition of 'hwrm_cmpl' + 789 | struct hwrm_cmpl { + | ^ +../include/linux/bnxt/hsi.h:785:8: note: previous definition is here + 785 | struct hwrm_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:803:8: error: redefinition of 'hwrm_fwd_req_cmpl' + 803 | struct hwrm_fwd_req_cmpl { + | ^ +../include/linux/bnxt/hsi.h:799:8: note: previous definition is here + 799 | struct hwrm_fwd_req_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:820:8: error: redefinition of 'hwrm_fwd_resp_cmpl' + 820 | struct hwrm_fwd_resp_cmpl { + | ^ +../include/linux/bnxt/hsi.h:816:8: note: previous definition is here + 816 | struct hwrm_fwd_resp_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:836:8: error: redefinition of 'hwrm_async_event_cmpl' + 836 | struct hwrm_async_event_cmpl { + | ^ +../include/linux/bnxt/hsi.h:832:8: note: previous definition is here + 832 | struct hwrm_async_event_cmpl { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:894:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS' macro redefined [-Wmacro-redefined] + 894 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x53UL + | ^ +../include/linux/bnxt/hsi.h:888:10: note: previous definition is here + 888 | #define ASYNC_EVENT_CMPL_EVENT_ID_ADPTV_QOS 0x51UL + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:896:10: warning: 'ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID' macro redefined [-Wmacro-redefined] + 896 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x55UL + | ^ +../include/linux/bnxt/hsi.h:889:10: note: previous definition is here + 889 | #define ASYNC_EVENT_CMPL_EVENT_ID_MAX_RGTR_EVENT_ID 0x52UL + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:912:8: error: redefinition of 'hwrm_async_event_cmpl_link_status_change' + 912 | struct hwrm_async_event_cmpl_link_status_change { + | ^ +../include/linux/bnxt/hsi.h:904:8: note: previous definition is here + 904 | struct hwrm_async_event_cmpl_link_status_change { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:942:8: error: redefinition of 'hwrm_async_event_cmpl_port_conn_not_allowed' + 942 | struct hwrm_async_event_cmpl_port_conn_not_allowed { + | ^ +../include/linux/bnxt/hsi.h:934:8: note: previous definition is here + 934 | struct hwrm_async_event_cmpl_port_conn_not_allowed { + | ^ +In file included from ../drivers/infiniband/hw/bng_re/bng_dev.c:13: +In file included from ../drivers/net/ethernet/broadcom/bnge/bnge.h:11: +../include/linux/bnge/hsi.h:971:8: error: redefinition of 'hwrm_async_event_cmpl_link_speed_cfg_change' + 971 | struct hwrm_async_event_cmpl_link_speed_cfg_change { + | ^ +../include/linux/bnxt/hsi.h:963:8: note: previous definition is here + 963 | struct hwrm_async_event_cmpl_link_speed_cfg_change { + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +6 warnings and 20 errors generated. +make[7]: *** [../scripts/Makefile.build:287: drivers/infiniband/hw/bng_re/bng_dev.o] Error 1 +make[6]: *** [../scripts/Makefile.build:544: drivers/infiniband/hw/bng_re] Error 2 +make[5]: *** [../scripts/Makefile.build:544: drivers/infiniband/hw] Error 2 +make[4]: *** [../scripts/Makefile.build:544: drivers/infiniband] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:544: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:2054: .] Error 2 +make[1]: *** [/srv/nipa-poller/net-next/wt-1/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.DSJSrIHFGB 2026-01-30 21:49:05.956053549 -0500 +++ /tmp/tmp.lFJSSYAerR 2026-01-30 21:49:05.957053540 -0500 @@ -1 +1 @@ - 12 ../drivers/infiniband/hw/ionic/ionic_datapath.c + 50 ../include/linux/bnge/hsi.h