Re: [PATCH] ath9k: make array voice_priority static const
From: Kalle Valo
Date: Wed Mar 09 2022 - 10:09:58 EST
Colin Ian King <colin.i.king@xxxxxxxxx> wrote:
> Don't populate the read-only array voice_priority 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>
> Reviewed-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>
Patch applied to ath-next branch of ath.git, thanks.
44d445c02388 ath9k: make array voice_priority static const
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220222121749.87513-1-colin.i.king@xxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches