ppc: propagate the calling conventions change down to csum_partial_copy_generic()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jul 2020 14:09:24 +0000 (10:09 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Aug 2020 19:45:22 +0000 (15:45 -0400)
commit70d65cd555c5e43c613700f604a47f7ebcf7b6f1
tree5c0494b0c4bec1c753e158cf7b25e9f1ead37088
parentdaf52375c19feb4397cfd883302a7c907de2d6ad
ppc: propagate the calling conventions change down to csum_partial_copy_generic()

... and get rid of the pointless fallback in the wrappers.  On error it used
to zero the unwritten area and calculate the csum of the entire thing.  Not
wanting to do it in assembler part had been very reasonable; doing that in
the first place, OTOH...  In case of an error the caller discards the data
we'd copied, along with whatever checksum it might've had.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/include/asm/checksum.h
arch/powerpc/lib/checksum_32.S
arch/powerpc/lib/checksum_64.S
arch/powerpc/lib/checksum_wrappers.c