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)
commitc15c0ab12fd62f2b19181d05c62d24bc9fa55a42
treea4cbc326af18b7d72de09cb187498ecb49440156
parent0ed661d5a48fa6df0b50ae64d27fe759a3ce42cf
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: 34ae6a1aa054 ("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