[PATCH] firmware: arm_scmi: Fix signed error return values handling
Cristian Marussi
cristian.marussi at arm.com
Tue Jul 18 02:46:28 PDT 2023
On Tue, Jul 18, 2023 at 01:55:29AM -0700, Sukrut Bellary wrote:
> Handle signed error return values returned by simple_write_to_buffer().
> In case of an error, return the error code.
>
> Fixes: 3c3d818a9317 ("firmware: arm_scmi: Add core raw transmission support")
> Reported-by: Dan Carpenter <dan.carpenter at linaro.org>
> Signed-off-by: Sukrut Bellary <sukrut.bellary at linux.com>
> ---
> This is based on static analysis. Compilation tested.
> ---
Hi Sukrut,
thanks for this.
Reviewed-by: Cristian Marussi <cristian.marussi at arm.com>
Tested-by: Cristian Marussi <cristian.marussi at arm.com>
Thanks,
Cristian
More information about the linux-arm-kernel
mailing list