]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - security/integrity/ima/ima_crypto.c
IMA: include the word IMA in printk messages
[mv-sheeva.git] / security / integrity / ima / ima_crypto.c
index 46642a19bc78928759aaf753429c10c07e1bcb54..acd4226f73ef085be8ec8b590958cb75f0356a85 100644 (file)
@@ -26,7 +26,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;
@@ -111,7 +111,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");
 }
 
 /*