csum_partial_copy_nocheck(): drop the last argument
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 Jul 2020 04:12:07 +0000 (00:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Aug 2020 19:45:14 +0000 (15:45 -0400)
commitcc44c17baf7f3f833d36b2f2a1edb1cc0b6f2cc4
tree78e1d7c77dfd8cc862ba559d4c4c6653a5002c1b
parent6e41c585e38ff696de3a11509a0ad0a11150b0c3
csum_partial_copy_nocheck(): drop the last argument

It's always 0.  Note that we theoretically could use ~0U as well -
result will be the same modulo 0xffff, _if_ the damn thing did the
right thing for any value of initial sum; later we'll make use of
that when convenient.

However, unlike csum_and_copy_..._user(), there are instances that
did not work for arbitrary initial sums; c6x is one such.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
27 files changed:
arch/alpha/include/asm/checksum.h
arch/alpha/lib/csum_partial_copy.c
arch/arm/include/asm/checksum.h
arch/arm/lib/csumpartialcopy.S
arch/c6x/include/asm/checksum.h
arch/c6x/lib/csum_64plus.S
arch/m68k/include/asm/checksum.h
arch/m68k/lib/checksum.c
arch/mips/include/asm/checksum.h
arch/mips/lib/csum_partial.S
arch/powerpc/include/asm/checksum.h
arch/sh/include/asm/checksum_32.h
arch/sparc/include/asm/checksum_32.h
arch/sparc/include/asm/checksum_64.h
arch/sparc/lib/csum_copy.S
arch/x86/include/asm/checksum_32.h
arch/x86/include/asm/checksum_64.h
arch/x86/lib/csum-wrappers_64.c
arch/xtensa/include/asm/checksum.h
drivers/net/ethernet/3com/typhoon.c
include/net/checksum.h
lib/iov_iter.c
net/core/skbuff.c
net/ipv4/icmp.c
net/ipv4/ip_output.c
net/ipv4/raw.c
net/ipv6/raw.c