projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[platform/kernel/linux-rpi.git]
/
arch
/
arm64
/
kernel
/
sys_compat.c
diff --git
a/arch/arm64/kernel/sys_compat.c
b/arch/arm64/kernel/sys_compat.c
index
bc348ab
..
c832a5c
100644
(file)
--- a/
arch/arm64/kernel/sys_compat.c
+++ b/
arch/arm64/kernel/sys_compat.c
@@
-58,7
+58,7
@@
do_compat_cache_op(unsigned long start, unsigned long end, int flags)
if (end < start || flags)
return -EINVAL;
- if (!access_ok(
VERIFY_READ,
(const void __user *)start, end - start))
+ if (!access_ok((const void __user *)start, end - start))
return -EFAULT;
return __do_compat_cache_op(start, end);