diff options
author | 2017-07-06 22:07:44 -0700 | |
---|---|---|
committer | 2017-07-06 22:07:44 -0700 | |
commit | dc502142b65b9e31eb90ab4344b3acadb2698317 (patch) | |
tree | 59be531fcce876dbe0bbc1ddf5a84fc9b3ee8a27 /arch/parisc | |
parent | Merge branch 'work.probe_kernel_read' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
parent | s390 keyboard.c: don't open-code strndup_user() (diff) | |
download | linux-dc502142b65b9e31eb90ab4344b3acadb2698317.tar.gz linux-dc502142b65b9e31eb90ab4344b3acadb2698317.tar.bz2 linux-dc502142b65b9e31eb90ab4344b3acadb2698317.zip |
Merge branch 'uaccess.strlen' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull user access str* updates from Al Viro:
"uaccess str...() dead code removal"
* 'uaccess.strlen' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
s390 keyboard.c: don't open-code strndup_user()
mips: get rid of unused __strnlen_user()
get rid of unused __strncpy_from_user() instances
kill strlen_user()
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/uaccess.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/uaccess.h b/arch/parisc/include/asm/uaccess.h index c3e114f67485..1fd962a07f52 100644 --- a/arch/parisc/include/asm/uaccess.h +++ b/arch/parisc/include/asm/uaccess.h @@ -209,7 +209,6 @@ extern long lstrnlen_user(const char __user *, long); #define user_addr_max() (~0UL) #define strnlen_user lstrnlen_user -#define strlen_user(str) lstrnlen_user(str, 0x7fffffffL) #define clear_user lclear_user #define __clear_user lclear_user |