[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150517.141142.1468655984264035723.davem@davemloft.net>
Date: Sun, 17 May 2015 14:11:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: fix sparse error in csum_replace4()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 15 May 2015 08:52:19 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> make C=2 CF=-D__CHECK_ENDIAN__ net/ipv4/netfilter/nf_nat_l3proto_ipv4.o
> CHECK net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
> include/net/checksum.h:125:64: warning: incorrect type in argument 2 (different base types)
> include/net/checksum.h:125:64: expected restricted __wsum [usertype] addend
> include/net/checksum.h:125:64: got restricted __be32 [usertype] from
> include/net/checksum.h:125:71: warning: incorrect type in argument 2 (different base types)
> include/net/checksum.h:125:71: expected restricted __wsum [usertype] addend
> include/net/checksum.h:125:71: got restricted __be32 [usertype] to
> include/net/checksum.h:125:64: warning: incorrect type in argument 2 (different base types)
> include/net/checksum.h:125:64: expected restricted __wsum [usertype] addend
> include/net/checksum.h:125:64: got restricted __be32 [usertype] from
> include/net/checksum.h:125:71: warning: incorrect type in argument 2 (different base types)
> include/net/checksum.h:125:71: expected restricted __wsum [usertype] addend
> include/net/checksum.h:125:71: got restricted __be32 [usertype] to
>
> Fixes: 4565af0d406b ("net: optimise csum_replace4()")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
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