[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 10 Oct 2012 11:54:02 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Dmitry Kozlov <xeb@...l.ru>
Cc: netdev@...r.kernel.org
Subject: Sparse warnings in IPV6 GRE
Looks like IPV6 GRE is probably not byte-endian safe?
CHECK net/ipv6/ip6_gre.c
net/ipv6/ip6_gre.c:472:37: warning: restricted __be32 degrades to integer
net/ipv6/ip6_gre.c:484:23: warning: restricted __be32 degrades to integer
net/ipv6/ip6_gre.c:964:26: warning: incorrect type in assignment (different base types)
net/ipv6/ip6_gre.c:964:26: expected unsigned char [unsigned] [addressable] [usertype] flowic_proto
net/ipv6/ip6_gre.c:964:26: got restricted __be16 [usertype] protocol
net/ipv6/ip6_gre.c:1510:33: warning: incorrect type in assignment (different base types)
net/ipv6/ip6_gre.c:1510:33: expected restricted __be32 [usertype] flowinfo
net/ipv6/ip6_gre.c:1510:33: got unsigned int
--
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