[PATCH v8 1/4] firmware: arm_scmi: introduce helper get_max_msg_size

Dhruva Gole d-gole at ti.com
Mon Apr 8 03:22:43 PDT 2024


On Apr 05, 2024 at 09:59:32 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> When Agent sending data to SCMI server, the Agent driver could check
> the size to avoid protocol buffer overflow. So introduce the helper
> get_max_msg_size.
> 
> Reviewed-by: Cristian Marussi <cristian.marussi at arm.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  drivers/firmware/arm_scmi/driver.c    | 15 +++++++++++++++
>  drivers/firmware/arm_scmi/protocols.h |  2 ++
>  2 files changed, 17 insertions(+)

[...]

Reviewed-by: Dhruva Gole <d-gole at ti.com>

-- 
Best regards,
Dhruva



More information about the linux-arm-kernel mailing list