[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171715001807.1011393.13624879216621879090.b4-ty@kernel.org>
Date: Fri, 31 May 2024 11:06:58 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-leds@...r.kernel.org
Subject: Re: (subset) [PATCH] leds: is31fl319x: Constify struct
regmap_config
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 [李琼斯]
Powered by blists - more mailing lists