aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pstore/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pstore/platform.c')
-rw-r--r--fs/pstore/platform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index 163bb40511e7..49ff1de2178a 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -67,7 +67,8 @@ static void pstore_dump(struct kmsg_dumper *dumper,
67 unsigned long size, total = 0; 67 unsigned long size, total = 0;
68 char *dst, *why; 68 char *dst, *why;
69 u64 id; 69 u64 id;
70 int hsize, part = 1; 70 int hsize;
71 unsigned int part = 1;
71 72
72 if (reason < ARRAY_SIZE(reason_str)) 73 if (reason < ARRAY_SIZE(reason_str))
73 why = reason_str[reason]; 74 why = reason_str[reason];