summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2012-05-27 10:25:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-28 06:00:32 +0200
commitb48b2c3e50433ff6f7e46186daa7f986bd960215 (patch)
tree9a10b2130582f99df5ae7eae0b959425e791118c /arch/openrisc/Kconfig
parentpowerpc: Use the new generic strncpy_from_user() and strnlen_user() (diff)
downloadlinux-b48b2c3e50433ff6f7e46186daa7f986bd960215.tar.xz
linux-b48b2c3e50433ff6f7e46186daa7f986bd960215.zip
openrisc: use generic strnlen_user() function
The generic version is both easier to support and more correct. Signed-off-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r--arch/openrisc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 065623215c58..49765b53f637 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -20,6 +20,7 @@ config OPENRISC
select GENERIC_ATOMIC64
select GENERIC_CLOCKEVENTS
select GENERIC_STRNCPY_FROM_USER
+ select GENERIC_STRNLEN_USER
config MMU
def_bool y