Re: [PATCH] EDAC, sb_edac: Remove VLA usage
From: Borislav Petkov
Date: Tue Mar 13 2018 - 06:48:42 EST
On Mon, Mar 12, 2018 at 05:52:13PM -0500, Gustavo A. R. Silva wrote:
> Do you mean just adding a code comment?
No, I mean
#define MAX_INTERLEAVE (max_t(unsigned int, ARRAY_SIZE(knl_interleave_list), ...
which computes the max of all three array sizes.
Thx.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.