[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164619702111.16127.16766138322408976398.b4-ty@oracle.com>
Date: Wed, 2 Mar 2022 00:13:24 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
Hannes Reinecke <hare@...e.de>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>,
linux-hardening@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH v2][next] scsi: fc: Replace one-element arrays with flexible-array members
On Mon, 14 Feb 2022 16:39:03 -0600, Gustavo A. R. Silva wrote:
> Use flexible-array members in struct fc_fdmi_attr_entry and
> fs_fdmi_attrs instead of one-element arrays, and refactor the
> code accordingly.
>
> Also, this helps with the ongoing efforts to globally enable
> -Warray-bounds and get us closer to being able to tighten the
> FORTIFY_SOURCE routines on memcpy().
>
> [...]
Applied to 5.18/scsi-queue, thanks!
[1/1] scsi: fc: Replace one-element arrays with flexible-array members
https://git.kernel.org/mkp/scsi/c/c5b483d5c1a2
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists