Re: [PATCH] scsi: mpi3mr: Replace 1-element array with flex-array

From: Martin K. Petersen
Date: Tue Feb 21 2023 - 19:48:30 EST



Kees,

> Nothing else defined MPI3_NVME_ENCAP_CMD_MAX, so the "command" buffer
> was being defined as a fake flexible array of size 1. Replace this
> with a proper flex array. Avoids this GCC 13 warning under
> -fstrict-flex-arrays=3:

Applied to 6.3/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering