diff options
author | Sukrut Bellary <[email protected]> | 2023-07-18 01:55:29 -0700 |
---|---|---|
committer | Sudeep Holla <[email protected]> | 2023-07-18 10:50:57 +0100 |
commit | 81b233b8dd72f2d1df3da8bd4bd4f8c5e84937b9 (patch) | |
tree | 5e2f173b101c746b8bcfb5bdcf7175cfebada5d1 /lib/mpi/mpiutil.c | |
parent | d05799d7b4a39fa71c65aa277128ac7c843ffcdc (diff) |
firmware: arm_scmi: Fix signed error return values handling
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 <[email protected]>
Signed-off-by: Sukrut Bellary <[email protected]>
Reviewed-by: Cristian Marussi <[email protected]>
Tested-by: Cristian Marussi <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions