diff options
author | 2021-11-24 17:54:04 +0300 | |
---|---|---|
committer | 2021-11-29 09:55:49 +0100 | |
commit | 9d7482771fac8d8e38e763263f2ca0ca12dd22c6 (patch) | |
tree | 9436a0008cfedb595e4c63a6146831cc98111458 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.16-rc3 (diff) | |
download | linux-dev-9d7482771fac8d8e38e763263f2ca0ca12dd22c6.tar.xz linux-dev-9d7482771fac8d8e38e763263f2ca0ca12dd22c6.zip |
tee: amdtee: fix an IS_ERR() vs NULL bug
The __get_free_pages() function does not return error pointers it returns
NULL so fix this condition to avoid a NULL dereference.
Fixes: 757cc3e9ff1d ("tee: add AMD-TEE driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions