[PATCH] uapi: fix linux/kexec.h userspace compilation errors

2017-02-22 Thread Dmitry V. Levin
Include (guarded by #ifndef __KERNEL__) to fix the following linux/kexec.h userspace compilation errors: /usr/include/linux/kexec.h:53:2: error: unknown type name 'size_t' size_t bufsz; /usr/include/linux/kexec.h:55:2: error: unknown type name 'size_t' size_t memsz; Sig

Re: [PATCH] uapi: fix linux/kexec.h userspace compilation errors

2017-03-06 Thread Dmitry V. Levin
On Thu, Feb 23, 2017 at 02:37:46PM +1300, Eric W. Biederman wrote: > "Dmitry V. Levin" writes: > > > Include (guarded by #ifndef __KERNEL__) to fix the following > > linux/kexec.h userspace compilation errors: > > > > /usr/include/linux/kexec.

Re: [PATCH v06 21/36] uapi linux/kexec.h: use __kernel_size_t instead of size_t

2017-08-09 Thread Dmitry V. Levin
On Sun, Aug 06, 2017 at 06:44:12PM +0200, Mikko Rapeli wrote: > Fixes userspace compilation error: > > error: unknown type name ‘size_t’ > size_t bufsz; > > Signed-off-by: Mikko Rapeli > Cc: kexec@lists.infradead.org > Cc: Eric Biederman > --- > include/uapi/linux/kexec.h | 4 ++-- > 1 file