Subject: Re: [PATCH net-next] tunnel: use the correct endian for some fields

From: Nicolas Dichtel <[email-masked]>
Date: Thu, 15 Nov 2012 09:57:38 +0100

Le 15/11/2012 09:51, Cong Wang a écrit :
> Fengguang reported:
>
> net/ipv6/ip6_tunnel.c:1571:33: sparse: incorrect type in assignment (different base types)
> net/ipv6/ip6_tunnel.c:1571:33:    expected restricted __be32 [usertype] flowinfo
> net/ipv6/ip6_tunnel.c:1571:33:    got unsigned int
>
> for these fields, we need to use the correct endian wrapers.
>
> Reported-by: Fengguang Wu <[email-masked]>
> Cc: Nicolas Dichtel <[email-masked]>
> Cc: David S. Miller <[email-masked]>
> Signed-off-by: Cong Wang <[email-masked]>
Just one minute before my patch.
Your patch does not fix all warnings (i_flags & SIT_ISATAP in ip6_tunnel.c).