Re: [PATCH 1/3] mfd: tps65219: Constify struct regmap_irq_sub_irq_map and tps65219_chip_data

From: Lee Jones
Date: Thu Jun 19 2025 - 07:48:20 EST


On Sun, 15 Jun 2025, Christophe JAILLET wrote:

> 'struct regmap_irq_sub_irq_map' and 'struct tps65219_chip_data' are not
> modified in this driver.
>
> Constifying these structures moves some data to a read-only section, so
> increases overall security.
>
> On a x86_64, with allmodconfig:
> Before:
> ======
> text data bss dec hex filename
> 27413 10272 256 37941 9435 drivers/mfd/tps65219.o
>
> After:
> =====
> text data bss dec hex filename
> 27893 9792 256 37941 9435 drivers/mfd/tps65219.o
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> Compile tested only
> ---
> drivers/mfd/tps65219.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)

Set doesn't apply. Please rebase.

--
Lee Jones [李琼斯]