[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172305096402.4000819.13600350959712094717.kvalo@kernel.org>
Date: Wed, 7 Aug 2024 17:16:05 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
linux-wireless@...r.kernel.org, b43-dev@...ts.infradead.org
Subject: Re: [PATCH v2] wifi: b43: Constify struct lpphy_tx_gain_table_entry
Christophe JAILLET <christophe.jaillet@...adoo.fr> wrote:
> 'struct lpphy_tx_gain_table_entry' are not modified in this driver.
>
> Constifying this structure moves some data to a read-only section, so
> increase overall security.
>
> On a x86_64, with allmodconfig:
> Before:
> ======
> text data bss dec hex filename
> 16481 6232 0 22713 58b9 drivers/net/wireless/broadcom/b43/tables_lpphy.o
>
> After:
> =====
> text data bss dec hex filename
> 22305 395 0 22700 58ac drivers/net/wireless/broadcom/b43/tables_lpphy.o
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> Acked-By: Michael Büsch <m@...s.ch>
Patch applied to wireless-next.git, thanks.
4ab9f870a633 wifi: b43: Constify struct lpphy_tx_gain_table_entry
--
https://patchwork.kernel.org/project/linux-wireless/patch/e33bc9e6dff4a5b6cd8d0ab5399aa1abac5bef9d.1722753127.git.christophe.jaillet@wanadoo.fr/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists