diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-22 09:02:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-23 04:54:46 +0100 |
commit | 01af4a0e3cce86212f6bf54ebe8f84d7219c862a (patch) | |
tree | a35b7f4be52f2fa08f47c3666ad6f69ed24af8f2 /net/llc | |
parent | ip: ipip compile warning (diff) | |
download | linux-01af4a0e3cce86212f6bf54ebe8f84d7219c862a.tar.xz linux-01af4a0e3cce86212f6bf54ebe8f84d7219c862a.zip |
llc: fix non-const printk warning
Mark some strings as const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
-rw-r--r-- | net/llc/af_llc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 56fd85ab358e..febae702685c 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c @@ -1118,11 +1118,11 @@ static const struct proto_ops llc_ui_ops = { .sendpage = sock_no_sendpage, }; -static char llc_proc_err_msg[] __initdata = +static const char llc_proc_err_msg[] __initconst = KERN_CRIT "LLC: Unable to register the proc_fs entries\n"; -static char llc_sysctl_err_msg[] __initdata = +static const char llc_sysctl_err_msg[] __initconst = KERN_CRIT "LLC: Unable to register the sysctl entries\n"; -static char llc_sock_err_msg[] __initdata = +static const char llc_sock_err_msg[] __initconst = KERN_CRIT "LLC: Unable to register the network family\n"; static int __init llc2_init(void) |