drivers/net/tokenring: fix warning: format not a string literal and no ...
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:44:19 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 01:38:00 +0000 (17:38 -0800)
Impact: Use 'static const char[]' instead of 'static char[]'.

Fix this warnings:
  drivers/net/tokenring/smctr.c:3644: warning: format not a string literal and no format arguments

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/smctr.c

index 50eb29ce3c87c5388ffa6be35e99f29b09147584..a8a5b4c4bd4d1ba164bbb444c6535599cc34b8cb 100644 (file)
@@ -61,7 +61,8 @@
 
 #include "smctr.h"               /* Our Stuff */
 
-static char version[] __initdata = KERN_INFO "smctr.c: v1.4 7/12/00 by jschlst@samba.org\n";
+static const char version[] __initdata =
+       KERN_INFO "smctr.c: v1.4 7/12/00 by jschlst@samba.org\n";
 static const char cardname[] = "smctr";