Re: [PATCH] ath9k: Make arrays prof_prio and channelmap static const
From: Kalle Valo
Date: Mon Oct 10 2022 - 05:46:30 EST
Colin Ian King <colin.i.king@xxxxxxxxx> wrote:
> Don't populate the read-only arrays prof_prio and channelmap
> on the stack but instead make them static const. Also makes the
> object code a little smaller.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> 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.
e161d4b60ae3 wifi: ath9k: Make arrays prof_prio and channelmap static const
--
https://patchwork.kernel.org/project/linux-wireless/patch/20221005155558.320556-1-colin.i.king@xxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches