Re: [PATCH wireless-next 2/7] wifi: brcmsmac: embed modulecb array instead of separate allocation
From: Arend van Spriel
Date: Tue Nov 24 2026 - 15:14:29 EST
On Tue, 10 Nov 2026 20:25:49 -0800, Rosen Penev <rosenp@xxxxxxxxx> wrote:
> Replace the separately allocated module callback array with a
> directly embedded fixed-size array in struct brcms_c_info,
> removing one kzalloc()/kfree() pair and its OOM error path.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c | 8 --------
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h | 2 +-
> 2 files changed, 1 insertion(+), 9 deletions(-)
Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Regards,
Arend