]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/net/tulip: fix warning: format not a string literal and no ...
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:46:59 +0000 (11:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 03:34:46 +0000 (19:34 -0800)
commit65d9b8b19dd21eeff8c051484b9e972e0b932ff2
tree554668559c135463d31d69382af4f1833cb4fda1
parent05076c1824a5cc164c3d714f7b16ac61cb9bbbf5
drivers/net/tulip: fix warning: format not a string literal and no ...

Impact: Use 'static const char[]' instead of 'static char[]' and while
being at it add a KERN_INFO prefix.

Fix this warning:
  drivers/net/tulip/de4x5.c: In function 'de4x5_hw_init':
  drivers/net/tulip/de4x5.c:1268: warning: format not a string literal and no format arguments
  drivers/net/tulip/winbond-840.c: In function 'w840_init':
  drivers/net/tulip/winbond-840.c:1666: 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/tulip/de4x5.c
drivers/net/tulip/winbond-840.c