aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 06:39:23 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-17 20:37:58 -0500
commit6ae038512ced0f179abd4d2387786cc69d2fb801 (patch)
treeeb14a97d47ef6c137ea9b82332adb659d808f31a
parent1aef47c411f4b4b6bb9c8ebcdb703d3a20de1551 (diff)
drivers/net/pcmcia: fix warning: format not a string literal and no ...
Impact: Use 'static const char[]' instead of 'static char[]' and while being at it prefix the message with KERN_INFO. Fix this warnings: drivers/net/pcmcia/axnet_cs.c:1716: 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>
-rw-r--r--drivers/net/pcmcia/axnet_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index 0afa72095810..871ad2958ff6 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -861,7 +861,7 @@ module_exit(exit_axnet_cs);
861 861
862 */ 862 */
863 863
864static const char *version_8390 = 864static const char version_8390[] = KERN_INFO \
865 "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@scyld.com)\n"; 865 "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@scyld.com)\n";
866 866
867#include <linux/bitops.h> 867#include <linux/bitops.h>