summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}