Prev: [git pull] spi & OF fixes and documentation cleanup.
Next: arm/mach-msm: Add CONFIG conditional for board-trout
From: Bill Pemberton on 30 Apr 2010 14:00 Fix sparse warnings: kernel/printk.c:1485:25: warning: duplicate const Signed-off-by: Bill Pemberton <wfp5p(a)virginia.edu> CC: linux-kernel(a)vger.kernel.org --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |