]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
llc: fix non-const printk warning
authorStephen Hemminger <shemminger@vyatta.com>
Sun, 22 Feb 2009 08:02:44 +0000 (00:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2009 03:54:46 +0000 (19:54 -0800)
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>
net/llc/af_llc.c

index 56fd85ab358e3b9c93bf2ff811acd4a9499491ea..febae702685cf58726918601bc613caba15f3af6 100644 (file)
@@ -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)