[PATCH] tpm: improve output in sysfs files when the TPM fails
authorKylene Jo Hall <kjhall@us.ibm.com>
Fri, 24 Jun 2005 05:02:10 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:05:27 +0000 (00:05 -0700)
commit34d6e07570ef74b965131452a862b13dfa779188
tree74086d4c88ed889ac1d0b26cc76d3fe42264e639
parente234bc970451edc4021637fe2979b887da873f9a
[PATCH] tpm: improve output in sysfs files when the TPM fails

Since after reconsideration this is more debug output than an error (the
TPM is operating correctly given the current state) I have changed the
statements to dbg rather than err.

Also this patch corrects a memory leak if the error path is taken in the
tpm_show_pubek function.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm.c