Subject: Re: [PATCH wireless-drivers] mt76x0: Remove VLA usage

From: Kalle Valo <[email-masked]>
Date: Thu, 9 Aug 2018 15:09:11 +0000 (UTC)

Kees Cook <[email-masked]> wrote:

> Even with "const" variables, the compiler will generate warnings about
> VLA usage. In the quest to remove all VLAs from the kernel[1], this uses
> a #define instead of a const to do the array sizing.
> 
> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=[email-masked]
> 
> Fixes: e87b5039511a ("mt76x0: eeprom files")
> Signed-off-by: Kees Cook <[email-masked]>
> Acked-by: Stanislaw Gruszka <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

17ad18fd12a3 mt76x0: Remove VLA usage

-- 
https://patchwork.kernel.org/patch/10559297/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches