aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-26 17:22:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 19:52:16 -0400
commit6c095efd82e8f6a98515426a733110f91cf0a709 (patch)
tree32352a70fff2b51c6f948df514c80e2dd0cb053d /kernel/printk.c
parent5f2365d8c24aec8dbedf49c69b7601c7cfaee2c1 (diff)
printk: fixup declaration of kmsg_reasons
Move redundant 'const' after '*' to make pointer itself const Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 2531017795f..d18933a9281 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1511,7 +1511,7 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper)
1511} 1511}
1512EXPORT_SYMBOL_GPL(kmsg_dump_unregister); 1512EXPORT_SYMBOL_GPL(kmsg_dump_unregister);
1513 1513
1514static const char const *kmsg_reasons[] = { 1514static const char * const kmsg_reasons[] = {
1515 [KMSG_DUMP_OOPS] = "oops", 1515 [KMSG_DUMP_OOPS] = "oops",
1516 [KMSG_DUMP_PANIC] = "panic", 1516 [KMSG_DUMP_PANIC] = "panic",
1517 [KMSG_DUMP_KEXEC] = "kexec", 1517 [KMSG_DUMP_KEXEC] = "kexec",