mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-12 23:34:58 +00: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 | ||