From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-rtc@vger.kernel.org
Subject: Re: [PATCH] rtc: rx6110: Constify struct regmap_config
Date: Tue, 7 May 2024 23:43:42 +0200 [thread overview]
Message-ID: <171511816313.992987.6441539046108137631.b4-ty@bootlin.com> (raw)
In-Reply-To: <833a7f612c0de9dcb1179a0b75b189c237a335ac.1714862560.git.christophe.jaillet@wanadoo.fr>
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
prev parent reply other threads:[~2024-05-07 21:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-04 22:43 [PATCH] rtc: rx6110: Constify struct regmap_config Christophe JAILLET
2024-05-07 21:43 ` Alexandre Belloni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=171511816313.992987.6441539046108137631.b4-ty@bootlin.com \
--to=alexandre.belloni@bootlin.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).