linux-stable/drivers/tee
Dan Carpenter 9d7482771f 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: 757cc3e9ff ("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>
2021-11-29 09:55:49 +01:00
..
amdtee tee: amdtee: fix an IS_ERR() vs NULL bug 2021-11-29 09:55:49 +01:00
optee optee: fix kfree NULL pointer 2021-11-16 14:41:23 +01:00
Kconfig tee: fix crypto select 2020-05-28 12:38:00 +02:00
Makefile
tee_core.c tee: Fix fall-through warnings for Clang 2021-05-17 18:40:54 -05:00
tee_private.h
tee_shm.c dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
tee_shm_pool.c