Re: [PATCH] scsi: megaraid_sas: Add flexible array member for SGLs

Martin K. Petersen
2023-01-18T23:24:00Z

Kees,

> struct MPI2_RAID_SCSI_IO_REQUEST ends with a single SGL, but expects
> to copy multiple. Add a flexible array member so the compiler can
> reason about the size of the memcpy(). This will avoid the run-time
> false positive warning:

Applied to 6.3/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering