]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: suppress sparse warnings in IP6_ECN_set_ce()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 12 Aug 2016 05:48:21 +0000 (07:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 22:08:00 +0000 (15:08 -0700)
commitf5cb8b2b3875aa8a085a81f2949aae32a153a7d7
treea4cbc326af18b7d72de09cb187498ecb49440156
parent2bb8c367139ac3a82f9e349817deec0e40e37b5a
ipv6: suppress sparse warnings in IP6_ECN_set_ce()

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 <edumazet@google.com>
Fixes: 5b241530c33d ("ipv6: update skb->csum when CE mark is propagated")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_ecn.h