mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
62ade1bed2
The return from the call to tee_client_invoke_func can be a
negative error code however this is being assigned to an
unsigned variable 'ret' hence the check is always false.
Fix this by making 'ret' an int.
Detected by Coccinelle ("Unsigned expression compared with zero:
ret < 0")
Fixes:
|
||
---|---|---|
.. | ||
call.c | ||
core.c | ||
device.c | ||
Kconfig | ||
Makefile | ||
optee_msg.h | ||
optee_private.h | ||
optee_smc.h | ||
rpc.c | ||
shm_pool.c | ||
shm_pool.h | ||
supp.c |