diff options
Diffstat (limited to 'security/integrity/ima/ima_queue.c')
| -rw-r--r-- | security/integrity/ima/ima_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_queue.c b/security/integrity/ima/ima_queue.c index a0880e9c8e0..148a3d85e77 100644 --- a/security/integrity/ima/ima_queue.c +++ b/security/integrity/ima/ima_queue.c | |||
| @@ -70,7 +70,7 @@ static int ima_add_digest_entry(struct ima_template_entry *entry) | |||
| 70 | 70 | ||
| 71 | qe = kmalloc(sizeof(*qe), GFP_KERNEL); | 71 | qe = kmalloc(sizeof(*qe), GFP_KERNEL); |
| 72 | if (qe == NULL) { | 72 | if (qe == NULL) { |
| 73 | pr_err("OUT OF MEMORY ERROR creating queue entry.\n"); | 73 | pr_err("IMA: OUT OF MEMORY ERROR creating queue entry.\n"); |
| 74 | return -ENOMEM; | 74 | return -ENOMEM; |
| 75 | } | 75 | } |
| 76 | qe->entry = entry; | 76 | qe->entry = entry; |
| @@ -93,7 +93,7 @@ static int ima_pcr_extend(const u8 *hash) | |||
| 93 | 93 | ||
| 94 | result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash); | 94 | result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash); |
| 95 | if (result != 0) | 95 | if (result != 0) |
| 96 | pr_err("Error Communicating to TPM chip\n"); | 96 | pr_err("IMA: Error Communicating to TPM chip\n"); |
| 97 | return result; | 97 | return result; |
| 98 | } | 98 | } |
| 99 | 99 | ||
