linux/drivers/tee
Dan Carpenter 73048a8325 optee: Fix a NULL vs IS_ERR() check
The tee_shm_get_va() function never returns NULL, it returns error
pointers.  Update the check to match.

Fixes: f0c8431568 ("optee: probe RPMB device using RPMB subsystem")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Link: https://lore.kernel.org/r/f8c12aed-b5d1-4522-bf95-622b8569706d@stanley.mountain
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2024-09-09 12:22:06 +02:00
..
amdtee tee: Refactor TEE subsystem header files 2024-04-03 09:19:31 +02:00
optee optee: Fix a NULL vs IS_ERR() check 2024-09-09 12:22:06 +02:00
tstee tee: tstee: Add Trusted Services TEE driver 2024-04-03 14:03:09 +02:00
Kconfig tee: tstee: Add Trusted Services TEE driver 2024-04-03 14:03:09 +02:00
Makefile tee: tstee: Add Trusted Services TEE driver 2024-04-03 14:03:09 +02:00
tee_core.c tee: add tee_device_set_dev_groups() 2024-08-26 13:16:20 +02:00
tee_private.h tee: Refactor TEE subsystem header files 2024-04-03 09:19:31 +02:00
tee_shm_pool.c tee: Refactor TEE subsystem header files 2024-04-03 09:19:31 +02:00
tee_shm.c tee: optee: Move pool_op helper functions 2024-04-03 13:58:20 +02:00