Re: [Xen-devel] [PATCH v3 1/3] xen/string: Clean up {xen, arm}/string.h

2017-05-31 Thread Julien Grall
Hi Andrew, On 05/12/2017 06:35 PM, Andrew Cooper wrote: * Drop __kernel_size_t entirely. It isn't useful distinction, especially as it means the the prototypes don't appear to match their common definitions. * Introduce __HAVE_ARCH_* guards for strpbrk(), strsep() and strspn(), which ma

Re: [Xen-devel] [PATCH v3 1/3] xen/string: Clean up {xen, arm}/string.h

2017-05-15 Thread Jan Beulich
>>> On 12.05.17 at 19:35, wrote: > * Drop __kernel_size_t entirely. It isn't useful distinction, especially as >it means the the prototypes don't appear to match their common definitions. > * Introduce __HAVE_ARCH_* guards for strpbrk(), strsep() and strspn(), which >match their impleme

[Xen-devel] [PATCH v3 1/3] xen/string: Clean up {xen, arm}/string.h

2017-05-12 Thread Andrew Cooper
* Drop __kernel_size_t entirely. It isn't useful distinction, especially as it means the the prototypes don't appear to match their common definitions. * Introduce __HAVE_ARCH_* guards for strpbrk(), strsep() and strspn(), which match their implementation in common/string.c * Apply consis