mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
48d625e4c4
Currently the memory allocation failure checks on drv_data and
amdtee are using IS_ERR rather than checking for a null pointer.
Fix these checks to use the conventional null pointer check.
Addresses-Coverity: ("Dereference null return")
Fixes:
|
||
---|---|---|
.. | ||
amdtee_if.h | ||
amdtee_private.h | ||
call.c | ||
core.c | ||
Kconfig | ||
Makefile | ||
shm_pool.c |