Re: [PATCHv2 ath-next] wifi: ath9k: mark static arrays as const
From: Toke Høiland-Jørgensen
Date: Mon Jun 22 2026 - 07:49:51 EST
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?
-Toke