summaryrefslogtreecommitdiffstats
path: root/arch/m68k/lib/checksum.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-02-18 20:15:37 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-29 22:11:49 +0200
commit8084c99b9af68621ff15562732bfc9f8e7cce93c (patch)
treefc58c5a3e49f16100b67a3de5aa9b4a5e206ab03 /arch/m68k/lib/checksum.c
parentxtensa: switch to providing csum_and_copy_from_user() (diff)
downloadlinux-8084c99b9af68621ff15562732bfc9f8e7cce93c.tar.xz
linux-8084c99b9af68621ff15562732bfc9f8e7cce93c.zip
m68k: convert to csum_and_copy_from_user()
trivial access_ok() there... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/m68k/lib/checksum.c')
-rw-r--r--arch/m68k/lib/checksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/lib/checksum.c b/arch/m68k/lib/checksum.c
index 5fa3d392e181..31797be9a3dc 100644
--- a/arch/m68k/lib/checksum.c
+++ b/arch/m68k/lib/checksum.c
@@ -129,7 +129,7 @@ EXPORT_SYMBOL(csum_partial);
*/
__wsum
-csum_partial_copy_from_user(const void __user *src, void *dst,
+csum_and_copy_from_user(const void __user *src, void *dst,
int len, __wsum sum, int *csum_err)
{
/*
@@ -316,7 +316,7 @@ csum_partial_copy_from_user(const void __user *src, void *dst,
return(sum);
}
-EXPORT_SYMBOL(csum_partial_copy_from_user);
+EXPORT_SYMBOL(csum_and_copy_from_user);
/*