From: Leon Romanovsky <leon@kernel.org>
To: Cheng Xu <chengyou@linux.alibaba.com>,
Kai Shen <kaishen@linux.alibaba.com>,
Jason Gunthorpe <jgg@ziepe.ca>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hardening@vger.kernel.org
Subject: Re: [PATCH][next] RDMA/erdma: Replace zero-length arrays with flexible-array members
Date: Sun, 15 Jan 2023 13:36:24 +0200 [thread overview]
Message-ID: <167378258448.161439.10223371948659974585.b4-ty@kernel.org> (raw)
In-Reply-To: <Y7zCBqwC1LtabRJ9@work>
On Mon, 09 Jan 2023 19:40:22 -0600, Gustavo A. R. Silva wrote:
> Zero-length arrays are deprecated[1] and we are moving towards
> adopting C99 flexible-array members instead. So, replace zero-length
> arrays, in a couple of structures, with flex-array members.
>
> This helps with the ongoing efforts to tighten the FORTIFY_SOURCE
> routines on memcpy() and help us make progress towards globally
> enabling -fstrict-flex-arrays=3 [2].
>
> [...]
Applied, thanks!
[1/1] RDMA/erdma: Replace zero-length arrays with flexible-array members
https://git.kernel.org/rdma/rdma/c/ed73a505480d54
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2023-01-15 11:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-10 1:40 Gustavo A. R. Silva
2023-01-10 11:15 ` Cheng Xu
2023-01-12 22:18 ` Kees Cook
2023-01-15 11:36 ` Leon Romanovsky [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=167378258448.161439.10223371948659974585.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=chengyou@linux.alibaba.com \
--cc=gustavoars@kernel.org \
--cc=jgg@ziepe.ca \
--cc=kaishen@linux.alibaba.com \
--cc=linux-hardening@vger.kernel.org \
--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
all inboxes | Powered by JetHome®