lkml.org 
[lkml]   [2022]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2][next] scsi: fc: Replace one-element arrays with flexible-array members
Date
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

\
 
 \ /
  Last update: 2022-03-02 06:14    [W:0.049 / U:3.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site