diff options
author | Etienne Carriere <[email protected]> | 2023-04-20 09:49:23 +0200 |
---|---|---|
committer | Jens Wiklander <[email protected]> | 2023-04-20 14:52:25 +0200 |
commit | 654d0310007146fae87b0c1a68f81e53ad519b14 (patch) | |
tree | a337fda6c8e74dfe41e95f83ae432c8f1956f30b /tools/perf/util | |
parent | eeac8ede17557680855031c6f305ece2378af326 (diff) |
optee: fix uninited async notif value
Fixes an uninitialized variable in irq_handler() that could lead to
unpredictable behavior in case OP-TEE fails to handle SMC function ID
OPTEE_SMC_GET_ASYNC_NOTIF_VALUE. This change ensures that in that case
get_async_notif_value() properly reports there are no notification
event.
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Fixes: 6749e69c4dad ("optee: add asynchronous notifications")
Signed-off-by: Etienne Carriere <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions