aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_fs.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2015-06-18 23:28:40 +1000
committerJames Morris <james.l.morris@oracle.com>2015-06-18 23:28:40 +1000
commitb3bddffd35a0b77eee89760eb94cafa18dc431f5 (patch)
tree58c0f6c79c121dfbe91f2058210c79d7ee25acc2 /security/integrity/ima/ima_fs.c
parenttpm, tpm_crb: fix le64_to_cpu conversions in crb_acpi_add() (diff)
parentima: update builtin policies (diff)
downloadlinux-dev-b3bddffd35a0b77eee89760eb94cafa18dc431f5.tar.xz
linux-dev-b3bddffd35a0b77eee89760eb94cafa18dc431f5.zip
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into next
Diffstat (limited to 'security/integrity/ima/ima_fs.c')
-rw-r--r--security/integrity/ima/ima_fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c
index 461215e5fd31..816d175da79a 100644
--- a/security/integrity/ima/ima_fs.c
+++ b/security/integrity/ima/ima_fs.c
@@ -190,9 +190,9 @@ static const struct file_operations ima_measurements_ops = {
.release = seq_release,
};
-void ima_print_digest(struct seq_file *m, u8 *digest, int size)
+void ima_print_digest(struct seq_file *m, u8 *digest, u32 size)
{
- int i;
+ u32 i;
for (i = 0; i < size; i++)
seq_printf(m, "%02x", *(digest + i));