Jelajahi Sumber

ip: ipip compile warning

Get rid of compile warning about non-const format

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stephen Hemminger 16 tahun lalu
induk
melakukan
5747a1aacd
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      net/ipv4/ipip.c

+ 1 - 1
net/ipv4/ipip.c

@@ -750,7 +750,7 @@ static struct xfrm_tunnel ipip_handler = {
 	.priority	=	1,
 };
 
-static char banner[] __initdata =
+static const char banner[] __initconst =
 	KERN_INFO "IPv4 over IPv4 tunneling driver\n";
 
 static void ipip_destroy_tunnels(struct ipip_net *ipn)