diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-18 13:07:41 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-29 16:11:49 -0400 |
commit | 76666be8c9df456373a4e00ce51d2547f1d90627 (patch) | |
tree | a1245728e1f97d17492d19b2de4f31ddcd500f85 /arch/sparc/include/asm/checksum_64.h | |
parent | 77a8710ba7ef7ffcb71f0618bddf78c1b04f01d3 (diff) | |
download | lwn-76666be8c9df456373a4e00ce51d2547f1d90627.tar.gz lwn-76666be8c9df456373a4e00ce51d2547f1d90627.zip |
sparc: switch to providing csum_and_copy_from_user()
sparc64 already is equivalent to that (trivial access_ok());
add it into sparc32 csum_partial_copy_from_user() and we can
rename both to csum_and_copy_fromUser() and be done with that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/include/asm/checksum_64.h')
-rw-r--r-- | arch/sparc/include/asm/checksum_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/checksum_64.h b/arch/sparc/include/asm/checksum_64.h index e52450930e4e..0fa4433f5662 100644 --- a/arch/sparc/include/asm/checksum_64.h +++ b/arch/sparc/include/asm/checksum_64.h @@ -46,7 +46,7 @@ long __csum_partial_copy_from_user(const void __user *src, __wsum sum); static inline __wsum -csum_partial_copy_from_user(const void __user *src, +csum_and_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err) { |