From 1d60be3c25edf4b9554fdb02aa6fb6fd75695aa7 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 12 Jul 2020 22:56:34 -0400 Subject: arm: propagate the calling convention changes down to csum_partial_copy_from_user() ... and get rid of the "clean the destination on error" crap. Simplifies the fault handlers and the function itself... Signed-off-by: Al Viro --- arch/arm/lib/csumpartialcopygeneric.S | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/lib/csumpartialcopygeneric.S') diff --git a/arch/arm/lib/csumpartialcopygeneric.S b/arch/arm/lib/csumpartialcopygeneric.S index 0b706a39a677..0fd5c10e90a7 100644 --- a/arch/arm/lib/csumpartialcopygeneric.S +++ b/arch/arm/lib/csumpartialcopygeneric.S @@ -86,6 +86,7 @@ sum .req r3 FN_ENTRY save_regs + mov sum, #-1 cmp len, #8 @ Ensure that we have at least blo .Lless8 @ 8 bytes to copy. -- cgit v1.2.3