From: Stephen Hemminger Date: Sun, 22 Feb 2009 08:02:44 +0000 (-0800) Subject: llc: fix non-const printk warning X-Git-Tag: upstream/snapshot3+hdmi~19925^2~594 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01af4a0e3cce86212f6bf54ebe8f84d7219c862a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git llc: fix non-const printk warning Mark some strings as const. Signed-off-by: Stephen Hemminger Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 56fd85a..febae70 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)