04/02/2025 03:35, Stephen Hemminger:
> On Tue, 21 Jan 2025 11:44:21 +0800
> Junlong Wang <wang.junlo...@zte.com.cn> wrote:
> 
> > insert port tables in host.
> > 
> > Signed-off-by: Junlong Wang <wang.junlo...@zte.com.cn>
> > ---
> >  drivers/net/zxdh/meson.build   |   1 +
> >  drivers/net/zxdh/zxdh_ethdev.c |  24 ++
> >  drivers/net/zxdh/zxdh_msg.c    |  65 ++++
> >  drivers/net/zxdh/zxdh_msg.h    |  72 ++++
> >  drivers/net/zxdh/zxdh_np.c     | 648 ++++++++++++++++++++++++++++++++-
> >  drivers/net/zxdh/zxdh_np.h     | 210 +++++++++++
> >  drivers/net/zxdh/zxdh_pci.h    |   2 +
> >  drivers/net/zxdh/zxdh_tables.c | 105 ++++++
> >  drivers/net/zxdh/zxdh_tables.h | 148 ++++++++
> >  9 files changed, 1274 insertions(+), 1 deletion(-)
> >  create mode 100644 drivers/net/zxdh/zxdh_tables.c
> >  create mode 100644 drivers/net/zxdh/zxdh_tables.h
> 
> 
> This patch won't build if RTE_ASSERT's are enabled.
> 
>  $ CC=clang meson setup -Dc_args='-DRTE_ENABLE_ASSERT' build
> 
>  $ ninja -C build
> 
> ../drivers/net/zxdh/zxdh_msg.c:1094:33: error: use of undeclared identifier 
> 'zxdh_msg_reply_info'; did you mean 'zxdh_msg_chan_init'?
>  1094 |                 RTE_ASSERT(reply_len < sizeof(zxdh_msg_reply_info));
>       |                                               ^~~~~~~~~~~~~~~~~~~
>       |                                               zxdh_msg_chan_init

It is just a matter of adding "struct".
I am fixing it while pulling in the main branch.




Reply via email to