[PATCH 10/11] printk: remove duplicate const

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bill Pemberton
Date: Friday, April 30, 2010 - 6:34 am

Fix sparse warnings:

kernel/printk.c:1485:25: warning: duplicate const

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
CC: linux-kernel@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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 10/11] printk: remove duplicate const, Bill Pemberton, (Fri Apr 30, 6:34 am)