linux/drivers/tee/optee
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
..
call.c tee: Refactor TEE subsystem header files 2024-04-03 09:19:31 +02:00
core.c optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
device.c optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
ffa_abi.c optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
Kconfig optee: add RPMB dependency 2024-09-03 14:34:45 +02:00
Makefile optee: separate notification functions 2021-11-17 14:08:56 +01:00
notif.c optee: add timeout parameter for notification wait 2024-06-27 16:44:37 +02:00
optee_ffa.h optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
optee_msg.h tee: optee: Add SMC for loading OP-TEE image 2023-04-03 08:57:49 +02:00
optee_private.h optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
optee_rpc_cmd.h optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
optee_smc.h optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
optee_trace.h tee: optee: add invoke_fn tracepoints 2021-03-15 12:04:01 +01:00
rpc.c optee: Fix a NULL vs IS_ERR() check 2024-09-09 12:22:06 +02:00
smc_abi.c optee: probe RPMB device using RPMB subsystem 2024-08-26 13:16:20 +02:00
supp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00