diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-22 03:02:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-22 22:54:46 -0500 |
commit | 01af4a0e3cce86212f6bf54ebe8f84d7219c862a (patch) | |
tree | a35b7f4be52f2fa08f47c3666ad6f69ed24af8f2 | |
parent | 5747a1aacde268017784a6a56df06c3b40194381 (diff) |
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>
-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 = { | |||
1118 | .sendpage = sock_no_sendpage, | 1118 | .sendpage = sock_no_sendpage, |
1119 | }; | 1119 | }; |
1120 | 1120 | ||
1121 | static char llc_proc_err_msg[] __initdata = | 1121 | static const char llc_proc_err_msg[] __initconst = |
1122 | KERN_CRIT "LLC: Unable to register the proc_fs entries\n"; | 1122 | KERN_CRIT "LLC: Unable to register the proc_fs entries\n"; |
1123 | static char llc_sysctl_err_msg[] __initdata = | 1123 | static const char llc_sysctl_err_msg[] __initconst = |
1124 | KERN_CRIT "LLC: Unable to register the sysctl entries\n"; | 1124 | KERN_CRIT "LLC: Unable to register the sysctl entries\n"; |
1125 | static char llc_sock_err_msg[] __initdata = | 1125 | static const char llc_sock_err_msg[] __initconst = |
1126 | KERN_CRIT "LLC: Unable to register the network family\n"; | 1126 | KERN_CRIT "LLC: Unable to register the network family\n"; |
1127 | 1127 | ||
1128 | static int __init llc2_init(void) | 1128 | static int __init llc2_init(void) |