public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Doug Ledford <dledford@redhat.com>,
	linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IB/core: Replace zero-length array with flexible-array member
Date: Thu, 13 Feb 2020 12:53:36 -0600	[thread overview]
Message-ID: <ad526791-a9d2-fa69-e989-5c74c3cfc704@embeddedor.com> (raw)
In-Reply-To: <20200213183850.GM31668@ziepe.ca>



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

      reply	other threads:[~2020-02-13 18:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13 18:37 [PATCH] IB/core: Replace zero-length array with flexible-array member Gustavo A. R. Silva
2020-02-13 18:38 ` Jason Gunthorpe
2020-02-13 18:53   ` Gustavo A. R. Silva [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad526791-a9d2-fa69-e989-5c74c3cfc704@embeddedor.com \
    --to=gustavo@embeddedor.com \
    --cc=dledford@redhat.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox