openrisc: fix issue handling 8 byte get_user calls
authorStafford Horne <shorne@gmail.com>
Sun, 12 Mar 2017 22:44:45 +0000 (07:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:07:22 +0000 (10:07 +0100)
commitfd2530a4ee62c17bc8e8715cc6f449c1a1f7f212
treeb2d1ddfd819e1dfe0ad853cde49c5bc15f567984
parent18b39b61b2c66556396f8584f0769f221d3383f6
openrisc: fix issue handling 8 byte get_user calls

[ Upstream commit 154e67cd8e8f964809d0e75e44bb121b169c75b3 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/openrisc/include/asm/uaccess.h