[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175620458844.1761583.10265205606346566256.b4-ty@arm.com>
Date: Tue, 26 Aug 2025 11:37:40 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Cristian Marussi <cristian.marussi@....com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Sudeep Holla <sudeep.holla@....com>,
linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
arm-scmi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/2] firmware: arm_scmi: Constify struct scmi_voltage_proto_ops
On Tue, 29 Jul 2025 21:15:03 +0200, Christophe JAILLET wrote:
> 'struct scmi_voltage_proto_ops' is not modified in this driver.
>
> Constifying this structure moves some data to a read-only section, so
> increases overall security, especially when the structure holds some
> function pointers.
>
> On a x86_64, with allmodconfig, as an example:
> Before:
> ======
> text data bss dec hex filename
> 13142 1808 0 14950 3a66 drivers/firmware/arm_scmi/voltage.o
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi/updates), thanks!
[1/2] firmware: arm_scmi: Constify struct scmi_voltage_proto_ops
https://git.kernel.org/sudeep.holla/c/abd658d3e733
[2/2] firmware: arm_scmi: Constify struct scmi_transport_ops
https://git.kernel.org/sudeep.holla/c/224dcf2968ca
--
Regards,
Sudeep
Powered by blists - more mailing lists