[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090220100420.6287eba7@extreme>
Date: Fri, 20 Feb 2009 10:04:20 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH] ip: ipip compile warning
Get rid of compile warning about non-const format
Signed-off-by: Stephen Hemminger <shemminger@...tta.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)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists