Re: [PATCH v2] wifi: ath12k: Constify struct ath12k_dp_arch_ops
Jeff Johnson <[email protected]> Fri, 17 Jul 2026 08:06:07 -0700
| Newsgroups | gmane.linux.kernel.janitors,gmane.linux.kernel,gmane.linux.kernel.wireless.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 14 Jul 2026 10:39:14 +0200, Christophe JAILLET wrote:
> 'struct ath12k_dp_arch_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
> 6318 3384 0 9702 25e6 drivers/net/wireless/ath/ath12k/wifi7/dp.o
>
> [...]
Applied, thanks!
[1/1] wifi: ath12k: Constify struct ath12k_dp_arch_ops
commit: ca435fd0650ac512ab6c5bdfeb90ed130b8f7574
Best regards,
--
Jeff Johnson <[email protected]>