Re: (subset) [PATCH] leds: is31fl319x: Constify struct regmap_config

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

 



On Sun, 05 May 2024 09:03:32 +0200, Christophe JAILLET wrote:
> 'is31fl3190_regmap_config' and 'is31fl3196_regmap_config' are not modified
> in this diver and are only used as a const struct regmap_config.
> 
> Constifying these structures moves some data to a read-only section, so
> increase overall security.
> 
> On a x86_64, with allmodconfig:
> Before:
>    text	   data	    bss	    dec	    hex	filename
>   13827	   2002	     32	  15861	   3df5	drivers/leds/leds-is31fl319x.o
> 
> [...]

Applied, thanks!

[1/1] leds: is31fl319x: Constify struct regmap_config
      commit: eccf45fdbfcbc9890a02d53c0a6c45271c37969e

--
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