mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
5747a1aacd
commit
01af4a0e3c
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue