aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-11-24 17:54:04 +0300
committerJens Wiklander <[email protected]>2021-11-29 09:55:49 +0100
commit9d7482771fac8d8e38e763263f2ca0ca12dd22c6 (patch)
tree9436a0008cfedb595e4c63a6146831cc98111458 /net/lapb/lapb_timer.c
parentd58071a8a76d779eedab38033ae4c821c30295a5 (diff)
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 <[email protected]> Acked-by: Rijo Thomas <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions