Re: [PATCH] tpm: don't print error message in tpm_transmit_cmd when tpm still testing

2019-01-30 Thread Jarkko Sakkinen
On Tue, Jan 29, 2019 at 11:59:11AM -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 confus

[PATCH] tpm: don't print error message in tpm_transmit_cmd when tpm still testing

2019-01-29 Thread Jerry Snitselaar
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_TESTI