X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=security%2Fintegrity%2Fima%2Fima_crypto.c;h=9b3ade7468b283412fa962fa291f0c3f6413812f;hb=2a8ba8f032160552a3beffab8aae9019ff477504;hp=952e51373f5810ac43aef5615c0e6ee166e4eb04;hpb=53ba4f2fa73225113a488584df0d85d3cba52943;p=mv-sheeva.git diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/ima_crypto.c index 952e51373f5..9b3ade7468b 100644 --- a/security/integrity/ima/ima_crypto.c +++ b/security/integrity/ima/ima_crypto.c @@ -27,7 +27,7 @@ static int init_desc(struct hash_desc *desc) desc->tfm = crypto_alloc_hash(ima_hash, 0, CRYPTO_ALG_ASYNC); if (IS_ERR(desc->tfm)) { - pr_info("failed to load %s transform: %ld\n", + pr_info("IMA: failed to load %s transform: %ld\n", ima_hash, PTR_ERR(desc->tfm)); rc = PTR_ERR(desc->tfm); return rc; @@ -112,7 +112,7 @@ static void __init ima_pcrread(int idx, u8 *pcr) return; if (tpm_pcr_read(TPM_ANY_NUM, idx, pcr) != 0) - pr_err("Error Communicating to TPM chip\n"); + pr_err("IMA: Error Communicating to TPM chip\n"); } /*