Searched hist:"71 ecb9fa58ecef9e535f63b4d9d9e45dd4696e51" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_svc_storage.c | 71ecb9fa58ecef9e535f63b4d9d9e45dd4696e51 Thu Aug 08 03:44:25 UTC 2024 Pengguang Zhu <pengguang.zhu@amlogic.com> core: fix error handling in tee_svc_storage_read_head()
Prior to this all errors except TEE_ERROR_OUT_OF_MEMORY from fops->read() was reported as TEE_ERROR_CORRUPT_OBJECT leading to removal of the object. We should not treat all errors as corrupt, so remove the error code translation.
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|