tpm: invalid self test error message
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 1 Sep 2016 23:36:58 +0000 (02:36 +0300)
committerJames Morris <james.l.morris@oracle.com>
Fri, 2 Sep 2016 22:27:37 +0000 (08:27 +1000)
commit4a29b3484f857ff350f203a2d9bf3b428c9e0bf2
treef78f2ae46792d54a97b5328724499f1181aef429
parent15301a570754c7af60335d094dd2d1808b0641a5
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>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm2-cmd.c