[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175084637296.4142064.14602531767494530713.b4-ty@kernel.org>
Date: Wed, 25 Jun 2025 11:12:52 +0100
From: Lee Jones <lee@...nel.org>
To: Matti Vaittinen <mazziesaccount@...il.com>, Lee Jones <lee@...nel.org>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: (subset) [PATCH] mfd: rohm-bd71828: Constify some structures
On Sun, 15 Jun 2025 18:32:48 +0200, Christophe JAILLET wrote:
> Several structures are not modified in this driver. Constifying them moves
> some data to a read-only section, so increases overall security, especially
> when the structure holds some function pointers. This is the case for
> 'gpio_keys_platform_data' and 'mfd_cell'.
>
> On a x86_64, with allmodconfig:
> Before:
> ======
> text data bss dec hex filename
> 18161 14112 192 32465 7ed1 drivers/mfd/rohm-bd71828.o
>
> [...]
Applied, thanks!
[1/1] mfd: rohm-bd71828: Constify some structures
commit: e905ffecc34f66c35c9d3209fe5b111686adc28a
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists