[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172987272580.802486.16073827596015670054.b4-ty@csie.org>
Date: Sat, 26 Oct 2024 00:12:05 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev
Subject: Re: [PATCH] clk: sunxi-ng: Constify struct ccu_reset_map
On Fri, 20 Sep 2024 22:25:24 +0200, Christophe JAILLET wrote:
> 'struct ccu_reset_map' are not modified in these drivers.
>
> Constifying this structure moves some data to a read-only section, so
> increase overall security.
>
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
> text data bss dec hex filename
> 1533 2224 0 3757 ead drivers/clk/sunxi-ng/ccu-sun20i-d1-r.o
>
> [...]
Applied to clk-for-6.13 in git@...hub.com:linux-sunxi/linux-sunxi.git, thanks!
[1/1] clk: sunxi-ng: Constify struct ccu_reset_map
commit: c7e09a613bbddd0eea086e475855aba3b2410148
Best regards,
--
Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists