Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH v2][next] scsi: fc: Replace one-element arrays with flexible-array members | Date | Wed, 2 Mar 2022 00:13:24 -0500 |
| |
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
| |