[PATCH] firmware: arm_scmi: Fix signed error return values handling

Dan Carpenter dan.carpenter at linaro.org
Tue Jul 18 02:05:36 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>
> ---

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter at linaro.org>

regards,
dan carpenter




More information about the linux-arm-kernel mailing list