Re: [PATCH 2/2] tpm: don't print error message in tpm_transmit_cmd when tpm still testing
From: Jarkko Sakkinen <hidden>
Date: 2019-01-31 16:08:45
Also in:
linux-integrity, lkml
From: Jarkko Sakkinen <hidden>
Date: 2019-01-31 16:08:45
Also in:
linux-integrity, lkml
On Wed, Jan 30, 2019 at 03:43:33PM -0700, Jerry Snitselaar wrote:
Currently tpm_transmit_cmd will print an error message if the tpm returns something other than TPM2_RC_SUCCESS. This means that if the tpm returns that it is testing an error message will be printed, and this can cause confusion for the end user. So avoid printing the error message if TPM2_RC_TESTING is the return code. Reviewed-by: Jarkko Sakkinen <redacted> Signed-off-by: Jerry Snitselaar <redacted>
Tags in wrong order but, but don't worry about it. I'll apply this patch and include to the next PR. Thanks. /Jarkko