Re: [PATCHv2 ath-next] wifi: ath9k: mark static arrays as const

From: Rosen Penev

Date: Mon Jun 22 2026 - 17:12:25 EST


On Mon, Jun 22, 2026 at 4:49 AM Toke Høiland-Jørgensen <toke@xxxxxxx> wrote:
>
> Rosen Penev <rosenp@xxxxxxxxx> writes:
>
> > PN9Data is a read-only lookup table and is never modified. Adding const
> > lets the compiler place it in .rodata and prevents accidental writes.
> >
> > Use the same treatment for bits_per_symbol. It's not modified either.
> >
> > Assisted-by: opencode:big-pickle
> > Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
>
> Again, which actual bug are you fixing here?
Patches are required to be bugfixes?
>
> -Toke