Re: [PATCH][next] scsi: smartpqi: Replace one-element arrays with flexible-array members

From: Martin K. Petersen
Date: Wed Jun 28 2023 - 22:42:12 EST


On Wed, 21 Jun 2023 14:27:20 -0600, Gustavo A. R. Silva wrote:

> 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().
>
> [...]

Applied to 6.5/scsi-queue, thanks!

[1/1] scsi: smartpqi: Replace one-element arrays with flexible-array members
https://git.kernel.org/mkp/scsi/c/6f0a92fd7db1

--
Martin K. Petersen Oracle Linux Engineering