[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180809150911.7D1F660AD8@smtp.codeaurora.org>
Date: Thu, 9 Aug 2018 15:09:11 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Kees Cook <keescook@...omium.org>
Cc: Stanislaw Gruszka <sgruszka@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH wireless-drivers] mt76x0: Remove VLA usage
Kees Cook <keescook@...omium.org> 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=qPXydAacU1RqZWA@mail.gmail.com
>
> Fixes: e87b5039511a ("mt76x0: eeprom files")
> Signed-off-by: Kees Cook <keescook@...omium.org>
> Acked-by: Stanislaw Gruszka <sgruszka@...hat.com>
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
Powered by blists - more mailing lists