Re: [PATCH] clk: qcom: Constify struct freq_tbl
From: Bjorn Andersson
Date: Sun Jul 28 2024 - 23:59:14 EST
On Sun, 14 Jul 2024 15:01:58 +0200, Christophe JAILLET wrote:
> 'struct freq_tbl' 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
> 7595 43696 0 51291 c85b drivers/clk/qcom/mmcc-apq8084.o
>
> [...]
Applied, thanks!
[1/1] clk: qcom: Constify struct freq_tbl
commit: da3c15ea05d8257c1987e527004e6331126e9451
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>