diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2020-12-23 13:25:00 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-26 12:47:46 +0100 |
commit | 548fb67eef14f83d60310193415ac9d06a3bd286 (patch) | |
tree | df843f404c41455e20eea1c5847b50302c0f4d26 /drivers/sysreset/sysreset-ti-sci.c | |
parent | fbc326244ce6fb3bd42353f343a511b512b8e710 (diff) |
efi_loader: Extra checks while opening an OPTEE session
When opening an OP-TEE session we need to check the internal return
value of OP-TEE call arguments as well the return code of the
function itself.
The code was also ignoring to close the OP-TEE session in case the
shared memory registration failed.
Fixes: f042e47e8fb43 ("efi_loader: Implement EFI variable handling via OP-TEE")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/sysreset/sysreset-ti-sci.c')
0 files changed, 0 insertions, 0 deletions