Commit 01af4a0e3cce86212f6bf54ebe8f84d7219c862a

Authored by Stephen Hemminger
Committed by David S. Miller
1 parent 5747a1aacd

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>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -1118,11 +1118,11 @@
1118 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 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 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 1126 KERN_CRIT "LLC: Unable to register the network family\n";
1127 1127  
1128 1128 static int __init llc2_init(void)