diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:44:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:38:00 -0500 |
commit | 1770e430ca1361fb8143c328037d1a3f34391602 (patch) | |
tree | 88c17db1414619cc4893b727b3184587ad13f671 /drivers/net/tokenring/smctr.c | |
parent | 6e470d261326801ff823a3b7a49581a8baae8698 (diff) |
drivers/net/tokenring: fix warning: format not a string literal and no ...
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>
Diffstat (limited to 'drivers/net/tokenring/smctr.c')
-rw-r--r-- | drivers/net/tokenring/smctr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c index 50eb29ce3c87..a8a5b4c4bd4d 100644 --- a/drivers/net/tokenring/smctr.c +++ b/drivers/net/tokenring/smctr.c | |||
@@ -61,7 +61,8 @@ | |||
61 | 61 | ||
62 | #include "smctr.h" /* Our Stuff */ | 62 | #include "smctr.h" /* Our Stuff */ |
63 | 63 | ||
64 | static char version[] __initdata = KERN_INFO "smctr.c: v1.4 7/12/00 by jschlst@samba.org\n"; | 64 | static const char version[] __initdata = |
65 | KERN_INFO "smctr.c: v1.4 7/12/00 by jschlst@samba.org\n"; | ||
65 | static const char cardname[] = "smctr"; | 66 | static const char cardname[] = "smctr"; |
66 | 67 | ||
67 | 68 | ||