[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200619133927.654ab7d2@lwn.net>
Date: Fri, 19 Jun 2020 13:39:27 -0600
From: Jonathan Corbet <corbet@....net>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Kees Cook <keescook@...omium.org>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH v3] docs: deprecated.rst: Add zero-length and
one-element arrays
On Mon, 8 Jun 2020 16:37:11 -0500
"Gustavo A. R. Silva" <gustavoars@...nel.org> wrote:
> Add zero-length and one-element arrays to the list.
>
> While I continue replacing zero-length and one-element arrays with
> flexible-array members, I need a reference to point people to, so
> they don't introduce more instances of such arrays. And while here,
> add a note to the "open-coded arithmetic in allocator arguments"
> section, on the use of struct_size() and the arrays-to-deprecate
> mentioned here.
>
> Co-developed-by: Kees Cook <keescook@...omium.org>
> Signed-off-by: Kees Cook <keescook@...omium.org>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
> ---
> Changes in v3:
> - Add changes written by Kees.
> - Add Co-developed-by tag to include Kees in the changelog text.
>
> Changes in v2:
> - Adjust some markup links for readability.
>
> Documentation/process/deprecated.rst | 118 +++++++++++++++++++++++++++
> 1 file changed, 118 insertions(+)
Applied, thanks.
jon
Powered by blists - more mailing lists