Prev: [PATCH 1/2] Fix 'key f70f4b50 not in .data' in thermal_sys
Next: printk.c: remove duplicate const
From: H Hartley Sweeten on 1 Apr 2010 21:20 Noticed during a sparse build. Signed-off-by: H Hartley Sweeten <hsweeten(a)visionengravers.com> --- diff --git a/kernel/printk.c b/kernel/printk.c index 75077ad..9abc79c 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -1457,7 +1457,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",
|
Pages: 1 Prev: [PATCH 1/2] Fix 'key f70f4b50 not in .data' in thermal_sys Next: printk.c: remove duplicate const |