[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171511816313.992987.6441539046108137631.b4-ty@bootlin.com>
Date: Tue, 7 May 2024 23:43:42 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-rtc@...r.kernel.org
Subject: Re: [PATCH] rtc: rx6110: Constify struct regmap_config
On Sun, 05 May 2024 00:43:07 +0200, Christophe JAILLET wrote:
> 'regmap_spi_config' and 'regmap_i2c_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
> 8896 1554 32 10482 28f2 drivers/rtc/rtc-rx6110.o
>
> [...]
Applied, thanks!
[1/1] rtc: rx6110: Constify struct regmap_config
https://git.kernel.org/abelloni/c/6a216cbadbe0
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists