Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1770e430 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller
Browse files

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e470d26
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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";