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

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Thu Jan 31 16:08:38 UTC 2019


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 <jarkko.sakkinen at linux.intel.com>
> Signed-off-by: Jerry Snitselaar <jsnitsel at redhat.com>

Tags in wrong order but, but don't worry about it. I'll apply this
patch and include to the next PR. Thanks.

/Jarkko



More information about the Linux-security-module-archive mailing list