On Apr 05, 2024 at 09:59:32 +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@xxxxxxx> > > 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@xxxxxxx> > Signed-off-by: Peng Fan <peng.fan@xxxxxxx> > --- > 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@xxxxxx> -- Best regards, Dhruva