linux/arch/openrisc
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
..
boot/dts DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
configs openrisc: add simple_smp dts and defconfig for simulators 2017-11-03 14:01:15 +09:00
include arch/openrisc: Fix issues with access_ok() 2019-01-08 18:22:30 -08:00
kernel Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
lib OpenRISC updates for v4.15 2017-11-13 12:12:00 -08:00
mm mm: treewide: remove unused address argument from pte_alloc functions 2019-01-04 13:13:47 -08:00
Kconfig Kconfig updates for v4.21 2018-12-29 13:03:29 -08:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile kbuild: remove redundant LDFLAGS clearing in arch/*/Makefile 2018-07-19 08:40:27 +09:00