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,
Dan Carpenter <dan.carpenter@oracle.com>
Subject: Re: [PATCH] IB/core, cache: Replace zero-length array with flexible-array member
Date: Thu, 20 Feb 2020 12:09:08 -0600 [thread overview]
Message-ID: <67d7c04f-026b-2829-cd7a-de0a889635c6@embeddedor.com> (raw)
In-Reply-To: <20200220173756.GA19347@ziepe.ca>
On 2/20/20 11:37, Jason Gunthorpe wrote:
>
> I squished the four drivers/infiniband patches together and added a
> few more, see below. Applied to for-next
>
Great! Thank you. :)
> It would be fanatstic to follow this up with some analysis to find
> cases where sizeof() is performed on a struct with a [] flex array -
> these days people should be using struct_size() (interested DanC?)
>
I've been working on both things:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?qt=grep&q=struct_size%28%29+helper
Thanks
--
Gustavo
prev parent reply other threads:[~2020-02-20 18:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 1:04 [PATCH] IB/core, cache: Replace zero-length array with flexible-array member Gustavo A. R. Silva
2020-02-13 1:08 ` Jason Gunthorpe
2020-02-13 18:36 ` Gustavo A. R. Silva
2020-02-13 18:37 ` Leon Romanovsky
2020-02-13 18:46 ` Gustavo A. R. Silva
2020-02-20 17:37 ` Jason Gunthorpe
2020-02-20 18:09 ` 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=67d7c04f-026b-2829-cd7a-de0a889635c6@embeddedor.com \
--to=gustavo@embeddedor.com \
--cc=dan.carpenter@oracle.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;
as well as URLs for NNTP newsgroup(s).