Files
linux/drivers/tee/amdtee
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 <[email protected]>
Acked-by: Rijo Thomas <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
2021-11-29 09:55:49 +01:00
..
…