tpm: invalid self test error message
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 1 Sep 2016 23:36:58 +0000 (02:36 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 15 Sep 2016 13:04:21 +0000 (16:04 +0300)
commitb7d7b28471072fc23e7b573aef89c14438092223
tree0359defb936618b5f1841763c66d714fb9aed593
parenta39f44faa8c7d84dff7d1fc0bc851c6499f94d7b
tpm: invalid self test error message

The driver emits invalid self test error message even though the init
succeeds.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fixes: cae8b441fc20 ("tpm: Factor out common startup code")
Reviewed-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm2-cmd.c