diff options
Diffstat (limited to 'security/integrity/ima/ima_template_lib.c')
-rw-r--r-- | security/integrity/ima/ima_template_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_template_lib.c b/security/integrity/ima/ima_template_lib.c index de0ce4fbdf69..2934e3d377f1 100644 --- a/security/integrity/ima/ima_template_lib.c +++ b/security/integrity/ima/ima_template_lib.c | |||
@@ -70,7 +70,8 @@ static void ima_show_template_data_ascii(struct seq_file *m, | |||
70 | enum data_formats datafmt, | 70 | enum data_formats datafmt, |
71 | struct ima_field_data *field_data) | 71 | struct ima_field_data *field_data) |
72 | { | 72 | { |
73 | u8 *buf_ptr = field_data->data, buflen = field_data->len; | 73 | u8 *buf_ptr = field_data->data; |
74 | u32 buflen = field_data->len; | ||
74 | 75 | ||
75 | switch (datafmt) { | 76 | switch (datafmt) { |
76 | case DATA_FMT_DIGEST_WITH_ALGO: | 77 | case DATA_FMT_DIGEST_WITH_ALGO: |