[PATCH v4 16/79] include/uapi/linux/agpgart.h: include stdlib.h in userspace

2015-10-15 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/agpgart.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/agpgart.h b/include/uapi/linux/agpgart.h index 4e828cf..f525104 100644 --- a/include/uapi/linux

[PATCH v4 17/79] include/uapi/sound/emu10k1.h: added EMU10K1 version of DECLARE_BITMAP macro

2015-10-15 Thread Mikko Rapeli
by Arnd Bergmann in message <2168807.4Yxh5gl11Q@wuerfel> and Takashi Iwai in message on lkml. Signed-off-by: Mikko Rapeli --- include/uapi/sound/emu10k1.h | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/include/uapi/sound/emu10k1.h b/include/uapi

[PATCH v4 18/79] dm-log-userspace.h: use __u32, __s32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors like: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/dm-log-userspace.h | 43 ++- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/include

[PATCH v4 14/79] include/uapi/drm/vmwgfx_drm.h: use __s32, __u32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/vmwgfx_drm.h | 264 +- 1 file changed, 132 insertions(+), 132 deletions(-) diff --git a/include/uapi/drm/vmwgfx_drm.h b/include

[PATCH v4 15/79] include/uapi/drm/qxl_drm.h: use __s32, __u32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/qxl_drm.h | 74 +++--- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/include/uapi/drm/qxl_drm.h b/include/uapi

[PATCH v4 09/79] via_drm.h: don't include non-existing via_drmclient.h

2015-10-15 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli --- include/uapi/drm/via_drm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 8b0533c..d19c0e2

[PATCH v4 08/79] r128_drm.h: include drm/drm.h

2015-10-15 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/r128_drm.h b

[PATCH v4 05/79] exynos_drm.h: use __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/exynos_drm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h

[PATCH v4 10/79] via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compile error since list_head is not exported to userspace headers. Suggested by Emil Velikov at https://lkml.org/lkml/2015/6/3/792 Signed-off-by: Mikko Rapeli --- drivers/gpu/drm/via/via_drv.h | 4 include/uapi/drm/via_drm.h| 4 2 files changed, 4 insertions

[PATCH v4 11/79] savage_drm.h: include

2015-10-15 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include

[PATCH v4 07/79] radeon_drm.h: use __u32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/radeon_drm.h | 128 +- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/include/uapi/drm

[PATCH v4 06/79] nouveau_drm.h: use __u32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors like: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/nouveau_drm.h | 86 +- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/include/uapi/drm

[PATCH v4 62/79] include/uapi/linux/btrfs.h: define NULL

2015-10-15 Thread Mikko Rapeli
Copied the NULL definition from include/linux/stddef.h which does not have it in userspace. Fixes userspace compilation error: error: ‘NULL’ undeclared (first use in this function) return NULL; Signed-off-by: Mikko Rapeli --- include/uapi/linux/btrfs.h | 6 ++ 1 file changed, 6

[PATCH v4 63/79] include/uapi/linux/kexec.h: use __kernel_size_t instead of size_t

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ size_t bufsz; Signed-off-by: Mikko Rapeli --- include/uapi/linux/kexec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/kexec.h b/include/uapi/linux/kexec.h index 99048e5..26be201

[PATCH v4 53/79] include/uapi/linux/errqueue.h: include linux/time.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: array type has incomplete element type struct timespec ts[3]; Signed-off-by: Mikko Rapeli --- include/uapi/linux/errqueue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/errqueue.h b/include/uapi/linux/errqueue.h index 07bdce1

[PATCH v4 68/79] arch/x86/include/uapi/asm/sembuf.h: include linux/types.h and linux/ipc.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compile errors like: error: field ‘sem_perm’ has incomplete type struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ error: unknown type name ‘__kernel_time_t’ __kernel_time_t sem_otime; /* last semop time */ Signed-off-by: Mikko Rapeli --- arch/x86/include/uapi/asm

[PATCH v4 78/79] include/uapi/linux/errqueue.h: include time.h in userspace

2015-10-15 Thread Mikko Rapeli
linux/time.h conflicts with userspace header time.h. Try to be compatible for kernel and userspace. Signed-off-by: Mikko Rapeli --- include/uapi/linux/errqueue.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/errqueue.h b/include/uapi/linux/errqueue.h index 6b1cdc6

[PATCH v4 75/79] include/uapi/xen/privcmd.h: fix compilation in userspace

2015-10-15 Thread Mikko Rapeli
ifdef for ARM is ugly but did not find better solutions for it. Fixes userspace compilation error: xen/privcmd.h:38:31: fatal error: xen/interface/xen.h: No such file or directory Signed-off-by: Mikko Rapeli --- arch/arm/include/asm/xen/interface.h | 2 +- include/uapi/xen/privcmd.h

[PATCH v4 76/79] coda_psdev.h: move upc_req definition from uapi to kernel side headers

2015-10-15 Thread Mikko Rapeli
_short uc_opcode; /* copied from data to save lookup */ ^ ./linux/coda_psdev.h:19:2: error: unknown type name ‘wait_queue_head_t’ wait_queue_head_t uc_sleep; /* process' wait queue */ ^ Signed-off-by: Mikko Rapeli --- include/linux/coda_psdev.h | 11 +++ include/uapi

[PATCH v4 66/79] include/uapi/linux/coda.h: use __kernel_pid_t and add u_short etc definitions for userspace

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors about unknown pid_t, u_short etc types. Signed-off-by: Mikko Rapeli --- include/uapi/linux/coda.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/coda.h b/include/uapi/linux/coda.h index 695fade..591bb42

[PATCH v4 56/79] include/uapi/linux/auto_fs.h: include linux/limits.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘NAME_MAX’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli --- include/uapi/linux/auto_fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/auto_fs.h b/include/uapi/linux/auto_fs.h index bb991df..edffdd5 100644

[PATCH v4 55/79] arch/x86/include/uapi/asm/signal.h: use __kernel_size_t instead of size_t

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- arch/x86/include/uapi/asm/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/uapi/asm/signal.h b/arch/x86/include/uapi/asm/signal.h index 8264f47

[PATCH v4 51/79] include/uapi/linux/ip6_tunnel.h: include linux/if.h and linux/in6.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compile errors like: error: ‘IFNAMSIZ’ undeclared here (not in a function) error: field ‘laddr’ has incomplete type struct in6_addr laddr; /* local tunnel end-point address */ Signed-off-by: Mikko Rapeli --- include/uapi/linux/ip6_tunnel.h | 2 ++ 1 file changed, 2 insertions

[PATCH v4 69/79] include/uapi/linux/dvb/video.h: remove stdint.h include

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h instead. Signed-off-by: Mikko Rapeli --- include/uapi/linux/dvb/video.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/uapi/linux/dvb/video.h b/include/uapi/linux/dvb/video.h index d3d14a59..4939256 100644 --- a/include/uapi/linux/dvb/video.h

[PATCH v4 65/79] include/uapi/linux/patchkey.h: change #error to #warning if file included directly

2015-10-15 Thread Mikko Rapeli
Would be nice to be able to compile all userspace header files also alone. Signed-off-by: Mikko Rapeli --- include/uapi/linux/patchkey.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/patchkey.h b/include/uapi/linux/patchkey.h index 1bda0e5..cee195d

[PATCH v4 67/79] include/uapi/linux/android/binder.h: use __kernel_pid_t and __kernel_uid_t

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors: error: unknown type name ‘pid_t’ pid_t sender_pid error: unknown type name ‘uid_t’ uid_t sender_euid; Signed-off-by: Mikko Rapeli --- include/uapi/linux/android/binder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include

[PATCH v4 52/79] include/uapi/netfilter/*.h: fix include files for compilation

2015-10-15 Thread Mikko Rapeli
Add missing header dependencies and other small changes so that each file compiles alone in userspace. Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter/ipset/ip_set_bitmap.h | 2 ++ include/uapi/linux/netfilter/ipset/ip_set_hash.h | 2 ++ include/uapi/linux/netfilter

[PATCH v4 77/79] include/uapi/linux/elfcore.h: remove non-compiling userspace parts

2015-10-15 Thread Mikko Rapeli
compiles but is generally not usable for things like core dump parsing but luckily userspace users already know this and have their own modified version of the needed definitions and headers. But at least this compiles now. Signed-off-by: Mikko Rapeli --- include/uapi/linux/elfcore.h | 21

[PATCH v4 79/79] arch/arm/include/uapi/asm/signal.h: use __kernel_size_t instead of size_t

2015-10-15 Thread Mikko Rapeli
Fixes uapi header compilation error from userspace on ARCH=arm: asm/signal.h:112:2: error: unknown type name ‘size_t’ size_t ss_size; Signed-off-by: Mikko Rapeli --- arch/arm/include/uapi/asm/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/uapi

[PATCH v4 50/79] include/uapi/linux/dlm_netlink.h: include linux/dlmconstants.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function) char resource_name[DLM_RESNAME_MAXLEN]; Signed-off-by: Mikko Rapeli --- include/uapi/linux/dlm_netlink.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/dlm_netlink.h b

[PATCH v4 70/79] include/uapi/mtd/mtd-user.h: remove stdint.h include

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h instead. Signed-off-by: Mikko Rapeli --- include/uapi/mtd/mtd-user.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/uapi/mtd/mtd-user.h b/include/uapi/mtd/mtd-user.h index 83327c8..e71d555 100644 --- a/include/uapi/mtd/mtd-user.h +++ b

[PATCH v4 58/79] include/uapi/linux/target_core_user.h: use __u8, __u16, __u32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/target_core_user.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/include/uapi/linux/target_core_user.h b/include/uapi

[PATCH v4 57/79] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index 32e07d8

[PATCH v4 60/79] include/uapi/linux/atm_zatm.h: include linux/time.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compile error: error: field ‘real’ has incomplete type struct timeval real; /* real (wall-clock) time */ Signed-off-by: Mikko Rapeli --- include/uapi/linux/atm_zatm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/atm_zatm.h b/include/uapi/linux

[PATCH v4 61/79] include/uapi/linux/scc.h: include linux/sockios.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘SIOCDEVPRIVATE’ undeclared here (not in a function) SIOCSCCRESERVED = SIOCDEVPRIVATE Signed-off-by: Mikko Rapeli --- include/uapi/linux/scc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/scc.h b/include/uapi/linux/scc.h

[PATCH v4 71/79] include/uapi/linux/fuse.h: use linux/types.h also in userspace

2015-10-15 Thread Mikko Rapeli
Kernel headers should not use stdint.h. Signed-off-by: Mikko Rapeli --- include/uapi/linux/fuse.h | 440 +++--- 1 file changed, 218 insertions(+), 222 deletions(-) diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h index c9aca04..a25e329

[PATCH v4 59/79] include/uapi/linux/omapfb.h: use __kernel_size_t instead of size_t

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/omapfb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/omapfb.h b/include/uapi/linux/omapfb.h index 7c97bc0..b637a92 100644

[PATCH v4 54/79] include/uapi/asm-generic/ucontext.h: include asm/signal.h and asm/sigcontext.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compiler errors: error: unknown type name ‘stack_t’ error: field ‘uc_mcontext’ has incomplete type struct sigcontext uc_mcontext; error: unknown type name ‘sigset_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/ucontext.h | 3 +++ 1 file changed, 3 insertions

[PATCH v4 72/79] include/linux/ipmi-fru.h: use linux/types.h instead of stdint.h

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h types. Signed-off-by: Mikko Rapeli --- include/linux/ipmi-fru.h | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/include/linux/ipmi-fru.h b/include/linux/ipmi-fru.h index 4d3a763..ceecf1f 100644

[PATCH v4 64/79] include/uapi/linux/reiserfs_xattr.h: use __kernel_size_t instead of size_t

2015-10-15 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ size_t length; Signed-off-by: Mikko Rapeli --- include/uapi/linux/reiserfs_xattr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/reiserfs_xattr.h b/include/uapi/linux

[PATCH v4 74/79] include/linux/xz.h: use linux/types.h types instead of stdint.h

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h types. Signed-off-by: Mikko Rapeli --- include/linux/xz.h | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/linux/xz.h b/include/linux/xz.h index 64cffa6..7686511 100644 --- a/include/linux/xz.h +++ b/include/linux

[PATCH v4 73/79] include/linux/sdb.h: use linux/types.h types instead of stdint.h

2015-10-15 Thread Mikko Rapeli
Kernel headers should use linux/types.h types. Signed-off-by: Mikko Rapeli --- include/linux/sdb.h | 62 + 1 file changed, 29 insertions(+), 33 deletions(-) diff --git a/include/linux/sdb.h b/include/linux/sdb.h index fbb76a4..e9ff976 100644

Re: [PATCH v4 02/79] scripts/headers_compile_test.sh: compile test script for exported headers

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 09:17:18AM +0200, Alexander Stein wrote: > Hi Mikko, > > On Thursday 15 October 2015 07:55:40, Mikko Rapeli wrote: > > Users of kernel header files would be happier if they did not contain > > kernel specific parts and would contain #include stateme

Re: [PATCH v4 75/79] include/uapi/xen/privcmd.h: fix compilation in userspace

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 11:29:12AM +0100, David Vrabel wrote: > On 15/10/15 06:56, Mikko Rapeli wrote: > > xen/interface/xen.h is not exported from kernel headers so remove the > > dependency and provide needed defines for domid_t and xen_pfn_t if they > > are not already defi

Re: [PATCH v4 75/79] include/uapi/xen/privcmd.h: fix compilation in userspace

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 12:24:39PM +0100, David Vrabel wrote: > On 15/10/15 12:18, Mikko Rapeli wrote: > > On Thu, Oct 15, 2015 at 11:29:12AM +0100, David Vrabel wrote: > >> On 15/10/15 06:56, Mikko Rapeli wrote: > >>> xen/interface/xen.h is not exported

Re: [PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 09:32:10AM -0400, Alex Deucher wrote: > On Thu, Oct 15, 2015 at 1:55 AM, Mikko Rapeli wrote: > > Fixes userspace compilation error: > > > > drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ > > > > Signed-off-by: Mikko Ra

Re: [PATCH v4 71/79] include/uapi/linux/fuse.h: use linux/types.h also in userspace

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 05:20:24PM +0200, Miklos Szeredi wrote: > On Thu, Oct 15, 2015 at 7:56 AM, Mikko Rapeli wrote: > > Kernel headers should not use stdint.h. > > Including breaks compile of library on non-Linux > archs. Allowing this patch would mean having

Re: [PATCH v4 18/79] dm-log-userspace.h: use __u32, __s32 and __u64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
Hi, On Thu, Oct 15, 2015 at 04:09:50AM -0400, Mike Snitzer wrote: > On Thu, Oct 15 2015 at 1:55am -0400, > Mikko Rapeli wrote: > > > Fixes userspace compilation errors like: > > > > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ > >

Re: [PATCH v4 45/79] linux/if.h linux/hdlc/ioctl.h: move IFNAMSIZ definition to hdlc/ioctl.h

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 10:49:17AM +0200, Frans Klaver wrote: > Hi, > > On Thu, Oct 15, 2015 at 7:56 AM, Mikko Rapeli wrote: > > And include linux/hdlc/ioctl.h from linux/if.h. > > That appears to have already been the case before this patch. You just > add a co

[PATCH] linux/if.h linux/hdlc/ioctl.h: move IFNAMSIZ definition to hdlc/ioctl.h

2015-10-15 Thread Mikko Rapeli
Fixes userspace compiler error: error: ‘IFNAMSIZ’ undeclared here (not in a function) Suggested by Frans Klaver on lkml message <20150530195223.ga15...@bugger.home>. Signed-off-by: Mikko Rapeli --- include/uapi/linux/hdlc/ioctl.h | 1 + include/uapi/linux/if.h | 6 ++ 2

Re: [PATCH v4 71/79] include/uapi/linux/fuse.h: use linux/types.h also in userspace

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 09:25:30PM +0200, Miklos Szeredi wrote: > On Thu, Oct 15, 2015 at 8:59 PM, Arnd Bergmann wrote: > > On Thursday 15 October 2015 20:32:45 Miklos Szeredi wrote: > >> > In my other patches I got review comments that kernel headers should not > >> > use and also

Re: [PATCH v4 23/79] rds.h: use __u8, __u16, __s16, __u32 and __s64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 07:06:14AM -0400, Sowmini Varadhan wrote: > On (10/15/15 07:56), Mikko Rapeli wrote: > > Date: Thu, 15 Oct 2015 07:56:01 +0200 > > From: Mikko Rapeli > > To: linux-kernel@vger.kernel.org > > Cc: mikko.rap...@iki.fi, "David S. Miller&

Re: [PATCH v4 23/79] rds.h: use __u8, __u16, __s16, __u32 and __s64 from linux/types.h

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 06:21:05PM -0400, Sowmini Varadhan wrote: > On (10/16/15 01:00), Mikko Rapeli wrote: > > > > What kind of portability should exported userspace headers from Linux kernel > > need? > > > > Reviews to my previous changes NACKed usage

Re: [PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t in virtgpu_drm.h

2015-12-07 Thread Mikko Rapeli
t; >>> CC: Emil Velikov > >>> CC: Mikko Rapeli > >>> > >>> --- > >>> include/uapi/drm/virtgpu_drm.h | 98 > >>> +- > >>> 1 file changed, 49 insertions(+), 49 del

Kernel uapi and glibc header conflicts (was Re: header conflict introduced by change to netfilter_ipv4/ip_tables.h )

2016-02-07 Thread Mikko Rapeli
On Thu, Jan 07, 2016 at 10:30:40AM -0800, Stephen Hemminger wrote: > On Thu, 7 Jan 2016 07:29:50 + > Mikko Rapeli wrote: > > > On Wed, Jan 06, 2016 at 09:20:07AM -0800, Stephen Hemminger wrote: > > > This commit breaks compilation of iproute2 with net-next. > >

[PATCH] uapi glibc compat: fix cases where glibc net/if.h is included before linux/if.h

2016-02-07 Thread Mikko Rapeli
/home/mcfrisk/src/linux-2.6/usr/headers_compile_test_include.ddxtNf -I /home/mcfrisk/src/linux-2.6/usr/headers_compile_test_include.ddxtNf/i586-linux-gnu -o /dev/null ./iproute2_bug.h Reported-by: Stephen Hemminger Reported-by: Josh Boyer Signed-off-by: Mikko Rapeli --- include/uapi/linu

Re: [PATCH] uapi glibc compat: fix cases where glibc net/if.h is included before linux/if.h

2016-02-25 Thread Mikko Rapeli
(Adding libc-alpha list, review of https://lkml.org/lkml/2016/2/7/89 ) On Wed, Feb 17, 2016 at 10:46:20AM -0500, David Miller wrote: > From: Mikko Rapeli > Date: Sun, 7 Feb 2016 16:03:21 +0200 > > > @@ -68,6 +72,8 @@ > > * @IFF_ECHO: echo sent packets. Volatil

Re: [PATCH 4.2.y-ckt 53/53] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-05-25 Thread Mikko Rapeli
On Tue, May 24, 2016 at 10:55:23AM -0700, Kamal Mostafa wrote: > 4.2.8-ckt11 -stable review patch. If anyone has any objections, please let > me know. > > ---8<---- > > From: Mikko Rapeli &

[PATCH v2] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-04-24 Thread Mikko Rapeli
rc/linux-2.6/usr/headers_compile_test_include.2uX2zH/i586-linux-gnu -o /dev/null ./linux/if.h_libc_before_kernel.h PASSED libc before kernel test: ./linux/if.h Reported-by: Jan Engelhardt Reported-by: Josh Boyer Reported-by: Stephen Hemminger Reported-by: Waldemar Brodkorb Cc: Gabriel Laskar Sign

Re: [PATCH v2] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-04-25 Thread Mikko Rapeli
On Mon, Apr 25, 2016 at 12:26:09PM +0100, Szabolcs Nagy wrote: > On 24/04/16 16:45, Mikko Rapeli wrote: > > glibc's net/if.h contains copies of definitions from linux/if.h and these > > conflict and cause build failures if both files are included by application > > source

<    5   6   7   8   9   10