Re: [PATCH] rtw89: rtw89_ser: add const to struct state_ent and event_ent
From: Kalle Valo
Date: Tue Apr 12 2022 - 09:38:02 EST
Joe Perches <joe@xxxxxxxxxxx> wrote:
> Change the struct and the uses to const to reduce data.
>
> $ size drivers/net/wireless/realtek/rtw89/ser.o* (x86-64 defconfig w/ rtw89)
> text data bss dec hex filename
> 3741 8 0 3749 ea5 drivers/net/wireless/realtek/rtw89/ser.o.new
> 3437 312 0 3749 ea5 drivers/net/wireless/realtek/rtw89/ser.o.old
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
Patch applied to wireless-next.git, thanks.
af5175acc8e2 rtw89: rtw89_ser: add const to struct state_ent and event_ent
--
https://patchwork.kernel.org/project/linux-wireless/patch/2fd88e6119f62b968477ef9781abb1832d399fd6.camel@xxxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches