mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||