Re: [PATCH v2] ipv6: suppress sparse warnings in IP6_ECN_set_ce()

2016-08-14 Thread David Miller
From: Johannes Berg Date: Fri, 12 Aug 2016 07:48:21 +0200 > From: Johannes Berg > > Pass the correct type __wsum to csum_sub() and csum_add(). This doesn't > really change anything since __wsum really *is* __be32, but removes the > address space warnings from sparse. > > Cc: Eric Dumazet > Fi

Re: [PATCH v2] ipv6: suppress sparse warnings in IP6_ECN_set_ce()

2016-08-12 Thread Eric Dumazet
On Fri, 2016-08-12 at 07:48 +0200, Johannes Berg wrote: > From: Johannes Berg > > Pass the correct type __wsum to csum_sub() and csum_add(). This doesn't > really change anything since __wsum really *is* __be32, but removes the > address space warnings from sparse. > > Cc: Eric Dumazet > Fixes:

[PATCH v2] ipv6: suppress sparse warnings in IP6_ECN_set_ce()

2016-08-11 Thread Johannes Berg
From: Johannes Berg Pass the correct type __wsum to csum_sub() and csum_add(). This doesn't really change anything since __wsum really *is* __be32, but removes the address space warnings from sparse. Cc: Eric Dumazet Fixes: 34ae6a1aa054 ("ipv6: update skb->csum when CE mark is propagated") Sign