Re: [PATCH v3] EDAC, sb_edac: Remove VLA usage

From: Gustavo A. R. Silva
Date: Wed Mar 14 2018 - 14:23:36 EST




On 03/14/2018 01:03 PM, Borislav Petkov wrote:

[..]

struct interleave_pkg {
unsigned char start;
@@ -1899,7 +1904,7 @@ static int get_memory_error_data(struct mem_ctl_info *mci,
int n_rir, n_sads, n_tads, sad_way, sck_xch;
int sad_interl, idx, base_ch;
int interleave_mode, shiftup = 0;
- unsigned sad_interleave[pvt->info.max_interleave];

Where's the hunk removing ->max_interleave ?


Oh. I forgot to remove it.

I already sent v4: https://patchwork.kernel.org/patch/10283289/

Thanks
--
Gustavo