diff options
author | Stafford Horne <shorne@gmail.com> | 2017-03-13 07:44:45 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-03-16 00:12:56 +0900 |
commit | 154e67cd8e8f964809d0e75e44bb121b169c75b3 (patch) | |
tree | 0139425db7a3ddf63990d2b727f1cec9753faeac /arch/openrisc | |
parent | 8af42949d1681379c1a97d230de9242c1f4f326a (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/openrisc')
-rw-r--r-- | arch/openrisc/include/asm/uaccess.h | 2 |
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) |