diff options
Diffstat (limited to 'security/integrity/ima/ima_fs.c')
-rw-r--r-- | security/integrity/ima/ima_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c index 573780c76f1f..ffbe259700b1 100644 --- a/security/integrity/ima/ima_fs.c +++ b/security/integrity/ima/ima_fs.c | |||
@@ -137,7 +137,7 @@ static int ima_measurements_show(struct seq_file *m, void *v) | |||
137 | ima_putc(m, &namelen, sizeof namelen); | 137 | ima_putc(m, &namelen, sizeof namelen); |
138 | 138 | ||
139 | /* 4th: template name */ | 139 | /* 4th: template name */ |
140 | ima_putc(m, e->template_name, namelen); | 140 | ima_putc(m, (void *)e->template_name, namelen); |
141 | 141 | ||
142 | /* 5th: template specific data */ | 142 | /* 5th: template specific data */ |
143 | ima_template_show(m, (struct ima_template_data *)&e->template, | 143 | ima_template_show(m, (struct ima_template_data *)&e->template, |