mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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>
This commit is contained in:
parent
5f2365d8c2
commit
6c095efd82
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user