summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-03-13 07:44:45 +0900
committerStafford Horne <shorne@gmail.com>2017-03-16 00:12:56 +0900
commit154e67cd8e8f964809d0e75e44bb121b169c75b3 (patch)
tree0139425db7a3ddf63990d2b727f1cec9753faeac /arch
parent8af42949d1681379c1a97d230de9242c1f4f326a (diff)
openrisc: fix issue handling 8 byte get_user calls
Was getting the following error with allmodconfig: ERROR: "__get_user_bad" [lib/test_user_copy.ko] undefined! This was simply a missing break statement, causing an unwanted fall through. Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/openrisc/include/asm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/include/asm/uaccess.h b/arch/openrisc/include/asm/uaccess.h
index 140faa16685a..1311e6b13991 100644
--- a/arch/openrisc/include/asm/uaccess.h
+++ b/arch/openrisc/include/asm/uaccess.h
@@ -211,7 +211,7 @@ do { \
case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \
case 2: __get_user_asm(x, ptr, retval, "l.lhz"); break; \
case 4: __get_user_asm(x, ptr, retval, "l.lwz"); break; \
- case 8: __get_user_asm2(x, ptr, retval); \
+ case 8: __get_user_asm2(x, ptr, retval); break; \
default: (x) = __get_user_bad(); \
} \
} while (0)