Re: [PATCH rdma v4 2/2] RDMA/zrdma: Add hardware config code and improve driver init flow

From: kernel test robot

Date: Fri Jul 31 2026 - 22:42:34 EST


Hi Yanze,

kernel test robot noticed the following build errors:

[auto build test ERROR on rdma/for-next]
[also build test ERROR on linus/master v7.2-rc5 next-20260731]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Yanze-Zhang/RDMA-zrdma-Add-ZTE-Dinghai-Ethernet-Protocol-Driver-for-RDMA/20260801-003905
base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
patch link: https://lore.kernel.org/r/20260704082640.664061-3-zhang.yanze%40zte.com.cn
patch subject: [PATCH rdma v4 2/2] RDMA/zrdma: Add hardware config code and improve driver init flow
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260801/202608011042.ZdKTOgxW-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260801/202608011042.ZdKTOgxW-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608011042.ZdKTOgxW-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from drivers/infiniband/hw/zrdma/zrdma_main.h:11,
from drivers/infiniband/hw/zrdma/zrdma_main.c:14:
>> drivers/infiniband/hw/zrdma/zrdma_type.h:92:27: error: field 'msix_entries' has incomplete type
92 | struct msix_entry msix_entries;
| ^~~~~~~~~~~~


vim +/msix_entries +92 drivers/infiniband/hw/zrdma/zrdma_type.h

81
82 struct zxdh_core_dev_info {
83 struct pci_dev *pdev;
84 struct auxiliary_device *adev;
85 u32 __iomem *hw_addr;
86 struct zxdh_ver_info ver;
87 void *auxiliary_priv;
88 enum zxdh_function_type ftype;
89 u16 vport_id;
90 u16 slot_id;
91 struct net_device *netdev;
> 92 struct msix_entry msix_entries;
93 u16 msix_count;
94 void *dh_dev;
95 };
96

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki