Re: (subset) [PATCH] mfd: rohm-bd71828: Constify some structures
From: Lee Jones
Date: Wed Jun 25 2025 - 06:14:28 EST
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 [李琼斯]