projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aef47c
)
drivers/net/pcmcia: fix warning: format not a string literal and no ...
author
Hannes Eder
<
[email protected]
>
Sat, 14 Feb 2009 11:39:23 +0000
(11:39 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 18 Feb 2009 01:37:58 +0000
(17:37 -0800)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/pcmcia/axnet_cs.c
patch
|
blob
|
history
diff --git
a/drivers/net/pcmcia/axnet_cs.c
b/drivers/net/pcmcia/axnet_cs.c
index 0afa72095810e0f9ace213d48f5858bcbf5c5cf7..871ad2958ff6e8c0b9e5c3ad622b61f00df1422f 100644
(file)
--- a/
drivers/net/pcmcia/axnet_cs.c
+++ b/
drivers/net/pcmcia/axnet_cs.c
@@
-861,7
+861,7
@@
module_exit(exit_axnet_cs);
*/
-static const char
*version_8390 =
+static const char
version_8390[] = KERN_INFO \
"8390.c:v1.10cvs 9/23/94 Donald Becker (
[email protected]
)\n";
#include <linux/bitops.h>