Messages in this thread | | | Subject | Re: [PATCH 1/2][next] scsi: lpfc: Replace one-element array with flexible-array member | From | "Martin K. Petersen" <> | Date | Mon, 22 May 2023 18:02:21 -0400 |
| |
Gustavo,
> One-element arrays are deprecated, and we are replacing them with flexible > array members instead. So, replace one-element arrays with flexible-array > members in a couple of structures, and refactor the rest of the code, > accordingly. > > This helps with the ongoing efforts to tighten the FORTIFY_SOURCE > routines on memcpy() and help us make progress towards globally > enabling -fstrict-flex-arrays=3 [1]. > > This results in no differences in binary output.
Applied to 6.5/scsi-staging, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |