Re: [PATCH][next] wifi: brcmfmac: Make read-only array cfg_offset static const

From: Arend Van Spriel
Date: Thu Jun 19 2025 - 10:52:59 EST


On June 19, 2025 10:26:15 AM Colin Ian King <colin.i.king@xxxxxxxxx> wrote:

Don't populate the read-only array cfg_offset on the stack at run time,
instead make it static const.

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>

Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
---
.../broadcom/brcm80211/brcmfmac/pcie.c | 24 ++++++++++---------
1 file changed, 13 insertions(+), 11 deletions(-)