[PATCH] asm-generic: uaccess: avoid name conflicts for strncpy and str(n)len

2014-05-28 Thread Joel Porquet
asm-generic/uaccess.h defines 'strncpy_from_user', 'strnlen_user' and 'strlen_user' as static inline functions. It makes it impossible for an arch to include asm-generic/uaccess.h and benefits from its content, in addition to defining GENERIC_STRNCPY_FROM_USER and GENERIC_STRNLEN_USER. Both config

Re: [PATCH] asm-generic: uaccess: avoid name conflicts for strncpy and str(n)len

2014-05-28 Thread Arnd Bergmann
On Wednesday 28 May 2014 17:21:51 Joel Porquet wrote: > asm-generic/uaccess.h defines 'strncpy_from_user', 'strnlen_user' and > 'strlen_user' as static inline functions. It makes it impossible for an > arch to include asm-generic/uaccess.h and benefits from its content, in > addition to defining GE