mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-22 02:20:40 +00:00
c23ca66a4d
This patch fixes the following Coccinelle error:
drivers/tee/optee/ffa_abi.c: 877: ERROR optee is NULL but dereferenced.
If memory allocation fails, optee is null pointer. the code will goto err
and release optee.
Fixes:
|
||
---|---|---|
.. | ||
call.c | ||
core.c | ||
device.c | ||
ffa_abi.c | ||
Kconfig | ||
Makefile | ||
optee_ffa.h | ||
optee_msg.h | ||
optee_private.h | ||
optee_rpc_cmd.h | ||
optee_smc.h | ||
optee_trace.h | ||
rpc.c | ||
smc_abi.c | ||
supp.c |