Re: [PATCH net-next] net: fix inet_proto_csum_replace4() sparse errors

2015-05-25 Thread David Miller
From: Eric Dumazet Date: Mon, 25 May 2015 18:50:01 -0700 > From: Eric Dumazet > > make C=2 CF=-D__CHECK_ENDIAN__ net/core/utils.o ... > Note we can use csum_replace4() helper > > Fixes: 58e3cac5613aa ("net: optimise inet_proto_csum_replace4()") > Signed-off-by: Eric Dumazet Also applied, th

[PATCH net-next] net: fix inet_proto_csum_replace4() sparse errors

2015-05-25 Thread Eric Dumazet
From: Eric Dumazet make C=2 CF=-D__CHECK_ENDIAN__ net/core/utils.o ... net/core/utils.c:307:72: warning: incorrect type in argument 2 (different base types) net/core/utils.c:307:72:expected restricted __wsum [usertype] addend net/core/utils.c:307:72:got restricted __be32 [usertype] from