Re: [PATCH] scsi: megaraid_sas: Add flexible array member for SGLs
From: Martin K. Petersen
Date: Wed Jan 18 2023 - 18:24:00 EST
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