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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [李琼斯]




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux