diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 11:48:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 19:34:48 -0800 |
commit | 5ee0d59335c551b7d3642f071bb4f3a30c287f59 (patch) | |
tree | 5cab635311af9f26790a0fafdb4a07ee551c395f /drivers/net/wan/lapbether.c | |
parent | 0227abc9d011892fd13f360b56a7b276ebea8b07 (diff) |
drivers/net/wan: fix warning: format not a string literal and no ...
Impact: Use 'static const char[]' instead of 'static char[]'.
Fix this compilation warnings:
drivers/net/wan/lapbether.c: In function 'lapbeth_init_driver':
drivers/net/wan/lapbether.c:441: warning: format not a string literal and no format arguments
drivers/net/wan/z85230.c: In function 'z85230_init_driver':
drivers/net/wan/z85230.c:1782: 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/wan/lapbether.c')
-rw-r--r-- | drivers/net/wan/lapbether.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index da9dcf59de2..06beba47ffd 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c @@ -430,7 +430,8 @@ static struct notifier_block lapbeth_dev_notifier = { .notifier_call = lapbeth_device_event, }; -static char banner[] __initdata = KERN_INFO "LAPB Ethernet driver version 0.02\n"; +static const char banner[] __initdata = + KERN_INFO "LAPB Ethernet driver version 0.02\n"; static int __init lapbeth_init_driver(void) { |