Skip to content

Commit

Permalink
drivers/net/tokenring: fix warning: format not a string literal and n…
Browse files Browse the repository at this point in the history
…o ...

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>
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 6e470d2 commit 1770e43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/tokenring/smctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";


Expand Down

0 comments on commit 1770e43

Please sign in to comment.