LKML Archive on
help / color / mirror / Atom feed
From: "Gustavo A. R. Silva" <>
	"Gustavo A. R. Silva" <>
Subject: Re: [PATCH][next] net/ipv4: Replace one-element array with flexible-array member
Date: Mon, 2 Aug 2021 13:46:08 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 8/2/21 09:20, wrote:
> Hello:
> This patch was applied to netdev/net-next.git (refs/heads/master):
> On Sat, 31 Jul 2021 12:08:30 -0500 you wrote:
>> There is a regular need in the kernel to provide a way to declare having
>> a dynamically sized set of trailing elements in a structure. Kernel code
>> should always use “flexible array members”[1] for these cases. The older
>> style of one-element or zero-length arrays should no longer be used[2].
>> Use an anonymous union with a couple of anonymous structs in order to
>> keep userspace unchanged:
>> [...]
> Here is the summary with links:
>   - [next] net/ipv4: Replace one-element array with flexible-array member

arghh... this has a bug. Sorry, Dave. I will send a fix for this, shortly.


  parent reply	other threads:[~2021-08-02 18:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31 17:08 Gustavo A. R. Silva
     [not found] ` <>
2021-08-02 18:46   ` Gustavo A. R. Silva [this message]
2021-08-02 19:15     ` Gustavo A. R. Silva

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH][next] net/ipv4: Replace one-element array with flexible-array member' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).