summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-22 00:02:44 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-22 19:54:46 -0800
commit01af4a0e3cce86212f6bf54ebe8f84d7219c862a (patch)
treea35b7f4be52f2fa08f47c3666ad6f69ed24af8f2 /net/llc
parent5747a1aacde268017784a6a56df06c3b40194381 (diff)
downloadkernel-crypto-01af4a0e3cce86212f6bf54ebe8f84d7219c862a.tar.gz
kernel-crypto-01af4a0e3cce86212f6bf54ebe8f84d7219c862a.tar.xz
kernel-crypto-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index 56fd85ab358..febae702685 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)