ip: ipip compile warning

Submitted by stephen hemminger on Feb. 20, 2009, 6:04 p.m.

Details

Message ID 20090220100420.6287eba7@extreme
State Accepted
Delegated to: David Miller
Headers show

Commit Message

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

Comments

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 hide | download patch | download mbox

--- 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)