From: Lee Jones <lee@kernel.org>
To: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-leds@vger.kernel.org
Subject: Re: (subset) [PATCH] leds: is31fl319x: Constify struct regmap_config
Date: Fri, 31 May 2024 11:06:58 +0100 [thread overview]
Message-ID: <171715001807.1011393.13624879216621879090.b4-ty@kernel.org> (raw)
In-Reply-To: <82a5cb26ff8af1865a790286bdbc3c4a2bd149f1.1714892598.git.christophe.jaillet@wanadoo.fr>
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 [李琼斯]
prev parent reply other threads:[~2024-05-31 10:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-05 7:03 [PATCH] leds: is31fl319x: Constify struct regmap_config Christophe JAILLET
2024-05-31 10:06 ` Lee Jones [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=171715001807.1011393.13624879216621879090.b4-ty@kernel.org \
--to=lee@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
/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).