summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/checksum_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/checksum_32.h')
-rw-r--r--arch/sparc/include/asm/checksum_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/checksum_32.h b/arch/sparc/include/asm/checksum_32.h
index d1e53d7aed39..5fc98d80b03b 100644
--- a/arch/sparc/include/asm/checksum_32.h
+++ b/arch/sparc/include/asm/checksum_32.h
@@ -87,7 +87,7 @@ static inline __wsum
csum_partial_copy_to_user(const void *src, void __user *dst, int len,
__wsum sum, int *err)
{
- if (!access_ok (VERIFY_WRITE, dst, len)) {
+ if (!access_ok(dst, len)) {
*err = -EFAULT;
return sum;
} else {