Re: [PATCH] clk: sunxi-ng: Constify struct ccu_reset_map

From: Chen-Yu Tsai
Date: Fri Oct 25 2024 - 12:12:18 EST


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@xxxxxxxxxx:linux-sunxi/linux-sunxi.git, thanks!

[1/1] clk: sunxi-ng: Constify struct ccu_reset_map
commit: c7e09a613bbddd0eea086e475855aba3b2410148

Best regards,
--
Chen-Yu Tsai <wens@xxxxxxxx>