Re: [PATCH v3][next] scsi: smartpqi: Replace one-element array with flexible-array member

From: Martin K. Petersen
Date: Tue Feb 14 2023 - 11:58:01 EST


On Tue, 07 Feb 2023 15:59:43 -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 array with flexible-array
> member in struct report_log_lun_list.
>
> This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines
> on memcpy().
>
> [...]

Applied to 6.3/scsi-queue, thanks!

[1/1] scsi: smartpqi: Replace one-element array with flexible-array member
https://git.kernel.org/mkp/scsi/c/ead821268c14

--
Martin K. Petersen Oracle Linux Engineering