aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorStafford Horne <[email protected]>2019-01-08 22:15:15 +0900
committerLinus Torvalds <[email protected]>2019-01-08 18:22:30 -0800
commit9cb2feb4d21d97386eb25c7b67e2793efcc1e70a (patch)
treedb21536a3185148f4289bccf17eece5f4cbc04c8 /net/lapb/lapb_in.c
parent7b55851367136b1efd84d98fea81ba57a98304cf (diff)
arch/openrisc: Fix issues with access_ok()
The commit 594cc251fdd0 ("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 <[email protected]> Cc: Linus Torvalds <[email protected]> Reported-by: Linus Torvalds <[email protected]> Signed-off-by: Stafford Horne <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions