Re: [PATCH] wifi: cfg80211: Constify struct cfg80211_ops
From: Jeff Johnson
Date: Sun Jul 19 2026 - 11:04:17 EST
On Tue, 14 Jul 2026 09:14:00 +0200, Christophe JAILLET wrote:
> 'struct cfg80211_ops' is not modified in this driver.
>
> Constifying this structure moves some data to a read-only section, so
> increases overall security, especially when the structure holds some
> function pointers.
>
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
> text data bss dec hex filename
> 143726 34579 192 178497 2b941 drivers/net/wireless/ath/ath6kl/cfg80211.o
>
> [...]
Applied, thanks!
[1/1] wifi: cfg80211: Constify struct cfg80211_ops
commit: 612701854b588759c0df3094197d415869ada159
Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>