[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL2rwxpJtu8kTh=ia7-8ih5wad4vseU1WOu8vh--A1DY3gfc9Q@mail.gmail.com>
Date: Tue, 28 Jun 2022 14:41:40 +0530
From: Sumit Saxena <sumit.saxena@...adcom.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Kees Cook <keescook@...omium.org>,
LKML <linux-kernel@...r.kernel.org>,
Kashyap Desai <kashyap.desai@...adcom.com>,
Shivasharan S <shivasharan.srikanteshwara@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
"PDL,MEGARAIDLINUX" <megaraidlinux.pdl@...adcom.com>,
Linux SCSI List <linux-scsi@...r.kernel.org>,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2 3/4][next] scsi: megaraid_sas: Replace one-element
array with flexible-array member in MR_DRV_RAID_MAP
>
> BTW, I'd really like to get some input from the maintainers of this
> code. :)
Original patch along with the below change looks good.
@@ -1193,7 +1193,7 @@ struct MR_DRV_RAID_MAP {
struct MR_DRV_RAID_MAP_ALL {
struct MR_DRV_RAID_MAP raidMap;
- struct MR_LD_SPAN_MAP ldSpanMap[MAX_LOGICAL_DRIVES_DYN - 1];
+ struct MR_LD_SPAN_MAP ldSpanMap[MAX_LOGICAL_DRIVES_DYN];
} __packed;
I will test it and then can provide an Acked-by/Tested-by tag.
Thanks,
Sumit
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)
Powered by blists - more mailing lists