[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ad526791-a9d2-fa69-e989-5c74c3cfc704@embeddedor.com>
Date: Thu, 13 Feb 2020 12:53:36 -0600
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Jason Gunthorpe <jgg@...pe.ca>
Cc: Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] IB/core: Replace zero-length array with flexible-array
member
On 2/13/20 12:38, Jason Gunthorpe wrote:
>
> Any reason to skip these two?
>
> drivers/infiniband/core/mad_priv.h: u8 mad[0];
> drivers/infiniband/core/mad_priv.h: u8 data[0];
>
> And may as well touch these in the subsystem headers too:
>
> include/rdma/ib_fmr_pool.h: u64 page_list[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/ib_verbs.h: u8 real_sz[0];
> include/rdma/opa_vnic.h: char *dev_priv[0];
> include/rdma/rdmavt_mr.h: struct rvt_segarray *map[0]; /* the segments */
> include/rdma/rdmavt_qp.h: struct rvt_sge sg_list[0];
>
> ?
OK. Let me tweak my script a bit to catch all of those.
Thanks for the feedback.
--
Gustavo
Powered by blists - more mailing lists