diff options
author | Dan Carpenter <[email protected]> | 2024-09-05 16:17:06 +0300 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2024-09-09 12:22:06 +0200 |
commit | 73048a832587520c6222bacbe1bc7121409d8861 (patch) | |
tree | 2d8640d37afb1cd9130e633d29802a1204fe8aa3 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cf6444ba528f043398b112ac36e041a4d8685cb1 (diff) |
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: f0c8431568ee ("optee: probe RPMB device using RPMB subsystem")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions