]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - security/integrity/ima/ima_queue.c
IMA: include the word IMA in printk messages
[mv-sheeva.git] / security / integrity / ima / ima_queue.c
index a0880e9c8e054695c757818b7991b2c37daf38ab..148a3d85e7763ef6bf806eb937f58cd81d2ea60e 100644 (file)
@@ -70,7 +70,7 @@ static int ima_add_digest_entry(struct ima_template_entry *entry)
 
        qe = kmalloc(sizeof(*qe), GFP_KERNEL);
        if (qe == NULL) {
-               pr_err("OUT OF MEMORY ERROR creating queue entry.\n");
+               pr_err("IMA: OUT OF MEMORY ERROR creating queue entry.\n");
                return -ENOMEM;
        }
        qe->entry = entry;
@@ -93,7 +93,7 @@ static int ima_pcr_extend(const u8 *hash)
 
        result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash);
        if (result != 0)
-               pr_err("Error Communicating to TPM chip\n");
+               pr_err("IMA: Error Communicating to TPM chip\n");
        return result;
 }