[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250619114803.GI587864@google.com>
Date: Thu, 19 Jun 2025 12:48:03 +0100
From: Lee Jones <lee@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Aaro Koskinen <aaro.koskinen@....fi>,
Andreas Kemnade <andreas@...nade.info>,
Kevin Hilman <khilman@...libre.com>,
Roger Quadros <rogerq@...nel.org>, Tony Lindgren <tony@...mide.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-omap@...r.kernel.org
Subject: Re: [PATCH 1/3] mfd: tps65219: Constify struct
regmap_irq_sub_irq_map and tps65219_chip_data
On Sun, 15 Jun 2025, Christophe JAILLET wrote:
> 'struct regmap_irq_sub_irq_map' and 'struct tps65219_chip_data' are not
> modified in this driver.
>
> Constifying these structures moves some data to a read-only section, so
> increases overall security.
>
> On a x86_64, with allmodconfig:
> Before:
> ======
> text data bss dec hex filename
> 27413 10272 256 37941 9435 drivers/mfd/tps65219.o
>
> After:
> =====
> text data bss dec hex filename
> 27893 9792 256 37941 9435 drivers/mfd/tps65219.o
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> Compile tested only
> ---
> drivers/mfd/tps65219.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Set doesn't apply. Please rebase.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists