On Wed Oct 23, 2024 at 8:46 PM EEST, Stefan Berger wrote:
On 10/21/24 1:39 AM, Jarkko Sakkinen wrote:
tpm2_sessions_init() does not ignore the result of tpm2_create_null_primary(). Address this by returning -ENODEV to the caller. Given that upper layers cannot help healing the situation
It looks like returning -ENODEV applied to a previous version of the patch.
further, deal with the TPM error here by
This sounds like an incomplete sentence...
It looks like totally corrupted, thanks for the remark.
"tpm2_sessions_init() ignores the return value of tpm2_create_null_primary(). Fail early and return back to the caller if it fails. Fine-tune the error message while at it." Is this sufficient?
BR, Jarkko