Re: [PATCH 1/3] mfd: tps65219: Constify struct regmap_irq_sub_irq_map and tps65219_chip_data
From: Lee Jones
Date: Wed Jun 25 2025 - 06:19:12 EST
On Sun, 15 Jun 2025 16:40:20 +0200, 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
>
> [...]
Applied, thanks!
[1/3] mfd: tps65219: Constify struct regmap_irq_sub_irq_map and tps65219_chip_data
commit: 33b7335e37896ffbc8cc5dcd46f82d5a0e654bf8
[2/3] mfd: tps65219: Remove an unused field from 'struct tps65219'
commit: 0bbdb525bfa39980bb2f4bdaddd73591eedb6346
[3/3] mfd: tps65219: Remove another unused field from 'struct tps65219'
commit: ea003d0598460c84effb55a13c362c9c1c6e1cd7
--
Lee Jones [李琼斯]