Files
android_kernel_xiaomi_sm8450/arch/openrisc/include/asm
Stafford Horne 9cb2feb4d2 arch/openrisc: Fix issues with access_ok()
The commit 594cc251fd ("make 'user_access_begin()' do 'access_ok()'")
exposed incorrect implementations of access_ok() macro in several
architectures.  This change fixes 2 issues found in OpenRISC.

OpenRISC was not properly using parenthesis for arguments and also using
arguments twice.  This patch fixes those 2 issues.

I test booted this patch with v5.0-rc1 on qemu and it's working fine.

Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-01-08 18:22:30 -08:00
..
2011-07-22 18:46:39 +02:00
2017-02-25 04:12:38 +09:00
2017-11-03 14:01:13 +09:00
2011-07-22 18:46:39 +02:00
2013-02-26 02:46:08 -05:00
2011-07-22 18:46:33 +02:00
2011-07-22 18:46:39 +02:00
2017-11-03 14:01:13 +09:00
2011-07-22 18:46:28 +02:00
2018-10-31 08:54:12 -07:00
2017-11-03 14:01:13 +09:00
2017-11-03 14:01:13 +09:00
2017-11-03 14:01:13 +09:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:32 +02:00
2011-07-22 18:46:28 +02:00
2017-11-03 14:01:13 +09:00
2011-07-22 18:46:39 +02:00