summaryrefslogtreecommitdiff
path: root/arch/score
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-12-27 22:50:40 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-03-29 01:23:57 +0300
commit4b4554f6d562c15159b053fad4146ced2201bc4c (patch)
tree4efbba60d5d333b19051b6f259386c9babaf1ab1 /arch/score
parent271abdc367e204821e19d71ae2bbc444059c8496 (diff)
downloadlinux-4b4554f6d562c15159b053fad4146ced2201bc4c.tar.xz
score: it's "VERIFY_WRITE", not "VERFITY_WRITE"...
... and the only reason it worked is that access_ok() discards the first argument before parser even gets a chance of looking at it. Still, no point keeping that typo. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/score')
-rw-r--r--arch/score/include/asm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/score/include/asm/uaccess.h b/arch/score/include/asm/uaccess.h
index 7a6c6982420a..79125fa6ed43 100644
--- a/arch/score/include/asm/uaccess.h
+++ b/arch/score/include/asm/uaccess.h
@@ -347,7 +347,7 @@ static inline unsigned long
copy_in_user(void *to, const void *from, unsigned long len)
{
if (access_ok(VERIFY_READ, from, len) &&
- access_ok(VERFITY_WRITE, to, len))
+ access_ok(VERIFY_WRITE, to, len))
return __copy_tofrom_user(to, from, len);
}