From: Namhyung Kim Date: Tue, 26 Oct 2010 21:22:47 +0000 (-0700) Subject: printk: fixup declaration of kmsg_reasons X-Git-Tag: v2.6.37-rc1~105^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c095efd82e8f6a98515426a733110f91cf0a709;p=platform%2Fkernel%2Flinux-3.10.git printk: fixup declaration of kmsg_reasons Move redundant 'const' after '*' to make pointer itself const Signed-off-by: Namhyung Kim Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/printk.c b/kernel/printk.c index 2531017..d18933a 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -1511,7 +1511,7 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper) } EXPORT_SYMBOL_GPL(kmsg_dump_unregister); -static const char const *kmsg_reasons[] = { +static const char * const kmsg_reasons[] = { [KMSG_DUMP_OOPS] = "oops", [KMSG_DUMP_PANIC] = "panic", [KMSG_DUMP_KEXEC] = "kexec",