netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ip: ipip  compile warning
@ 2009-02-20 18:04 Stephen Hemminger
  2009-02-22  8:02 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2009-02-20 18:04 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

Get rid of compile warning about non-const format

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ip: ipip compile warning
  2009-02-20 18:04 [PATCH] ip: ipip compile warning Stephen Hemminger
@ 2009-02-22  8:02 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-02-22  8:02 UTC (permalink / raw)
  To: shemminger; +Cc: netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-22  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-20 18:04 [PATCH] ip: ipip compile warning Stephen Hemminger
2009-02-22  8:02 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).