Re: [PATCH] brcmfmac: make the read-only array pktflags static const

From: Kalle Valo
Date: Thu Mar 10 2022 - 11:20:50 EST


Colin Ian King <colin.i.king@xxxxxxxxx> wrote:

> Don't populate the read-only array pktflags on the stack but
> instead make it static const. Also makes the object code a little
> smaller.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Patch applied to wireless-next.git, thanks.

2386f64ceb33 brcmfmac: make the read-only array pktflags static const

--
https://patchwork.kernel.org/project/linux-wireless/patch/20220307223227.165963-1-colin.i.king@xxxxxxxxx/

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