TPM: integrity fix
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Thu, 5 Feb 2009 15:06:30 +0000 (13:06 -0200)
committerJames Morris <jmorris@namei.org>
Thu, 5 Feb 2009 22:06:43 +0000 (09:06 +1100)
commit8920d5ad6ba74ae8ab020e90cc4d976980e68701
tree0ab5e0f47ed226a91e5520d9dcceee7d76ac7cac
parent64c61d80a6e4c935a09ac5ff1d952967ca1268f8
TPM: integrity fix

Fix to function which is called by IMA, now tpm_chip_find_get() considers the case in which the machine doesn't have a TPM or, if it has, its TPM isn't enabled.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
drivers/char/tpm/tpm.c