Fix sparse warnings:
kernel/printk.c:1485:25: warning: duplicate const
Signed-off-by: Bill Pemberton <[email protected]>
CC: [email protected]
---
kernel/printk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/printk.c b/kernel/printk.c
index 444b770..c3b14c9 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1482,7 +1482,7 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper)
}
EXPORT_SYMBOL_GPL(kmsg_dump_unregister);
-static const char const *kmsg_reasons[] = {
+static const char *kmsg_reasons[] = {
[KMSG_DUMP_OOPS] = "oops",
[KMSG_DUMP_PANIC] = "panic",
[KMSG_DUMP_KEXEC] = "kexec",
--
1.7.0.6