diff options
author | Jonas Bonn <jonas@southpole.se> | 2012-05-27 10:25:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-28 06:00:32 +0200 |
commit | b48b2c3e50433ff6f7e46186daa7f986bd960215 (patch) | |
tree | 9a10b2130582f99df5ae7eae0b959425e791118c /arch/openrisc/Kconfig | |
parent | powerpc: Use the new generic strncpy_from_user() and strnlen_user() (diff) | |
download | linux-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/Kconfig | 1 |
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 |