mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 08:23:38 +07: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 |