Patchwork ip: ipip compile warning

login
register
mail settings
Submitter stephen hemminger
Date Feb. 20, 2009, 6:04 p.m.
Message ID <20090220100420.6287eba7@extreme>
Download mbox | patch
Permalink /patch/23506/
State Accepted
Delegated to: David Miller
Headers show

Comments

stephen hemminger - Feb. 20, 2009, 6:04 p.m.
Get rid of compile warning about non-const format

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Feb. 22, 2009, 8:02 a.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 20 Feb 2009 10:04:20 -0800

> Get rid of compile warning about non-const format
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied, thanks Stephen.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/net/ipv4/ipip.c	2009-02-20 09:07:31.377370665 -0800
+++ b/net/ipv4/ipip.c	2009-02-20 09:07:46.958260669 -0800
@@ -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)