diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2020-12-23 14:25:00 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-31 16:27:56 +0300 |
commit | ffa375e6e56f890468baf22bcb50ee3d0292a0c4 (patch) | |
tree | 292745e45ce8b109b271e4e5ab5f9ecc57ff1c12 /fs | |
parent | c0c21d67f0654f9d3641b9dd3bdfd635110c2bc1 (diff) | |
download | u-boot-ffa375e6e56f890468baf22bcb50ee3d0292a0c4.tar.xz |
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 'fs')
0 files changed, 0 insertions, 0 deletions