Fixes userspace compilation errors like:
scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before
‘uint64_t’
Signed-off-by: Mikko Rapeli
Cc: linux-s...@vger.kernel.org
---
include/uapi/scsi/scsi_netlink_fc.h | 16
1 file changed, 8 insertions(+), 8
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
Cc: Al Viro
Cc: Ingo Molnar
Cc: Roland McGrath
Fixes userspace compilation errors like:
scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
Cc: linux-s...@vger.kernel.org
---
include/uapi/scsi/scsi_netlink.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli
Cc: Al Viro
Cc: Arnd Bergmann
Cc: H. Peter Anvin
---
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
Fixes userspace compilation error:
error: unknown type name ‘size_t’
size_t length;
Signed-off-by: Mikko Rapeli
Cc: reiserfs-de...@vger.kernel.org
---
include/uapi/linux/reiserfs_xattr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/reiserfs_xattr.h
kernel subsystem maintainers would
pick and apply patches from this series to their queues, and comment
if there are problems with any of them.
Mikko Rapeli (36):
Add scripts/headers_compile_test.sh: compile test for exported uapi
headers
uapi scsi/scsi_bsg_fc.h: use __u8, __u32 and __u64
Would be nice to be able to compile all userspace header files also alone.
Signed-off-by: Mikko Rapeli
Cc: alsa-de...@alsa-project.org
Cc: Andrew Veliath
Cc: Riccardo Facchetti
---
include/uapi/linux/patchkey.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi
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
Cc: Christine Caulfield
Cc: David Teigland
Cc: cluster-de...@redhat.com
---
include/uapi/linux/dlm_netlink.h | 1 +
1 file
These are defined in linux/types.h or drm/drm.h. Fixes
user space compilation errors like:
drm/armada_drm.h:26:2: error: unknown type name ‘uint32_t’
uint32_t handle;
^~~~
Signed-off-by: Mikko Rapeli
Cc: Emil Velikov
Cc: Gabriel Laskar
Cc: Russell King
Cc: Rob Clark
---
include
Arnd Bergmann doubts that __kernel_size_t could be used here
so trying to fall back to gcc's .
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
Cc: Arnd Bergmann
---
arch/arm
Fixes userspace compilation error:
error: ‘SIOCDEVPRIVATE’ undeclared here (not in a function)
SIOCSCCRESERVED = SIOCDEVPRIVATE
Signed-off-by: Mikko Rapeli
Cc: net...@vger.kernel.org
Cc: linux-h...@vger.kernel.org
Cc: Joerg Reuter
---
include/uapi/linux/scc.h | 1 +
1 file changed, 1
failed libc before kernel include test.
790 files passed libc before kernel include test.
Since I've been stubborn enough to work with this script and fixes to the
test failures for a few years, I added my self to MAINTAINERS.
Signed-off-by: Mikko Rapeli
Cc: Alexander Stein
Cc: Gabriel Laskar
Cc
It is not needed and not part of uapi headers, but causes
user space compilation error:
fatal error: net/tcp.h: No such file or directory
#include
^
Signed-off-by: Mikko Rapeli
Cc: Dave Watson
Cc: Ilya Lesokhin
Cc: Aviad Yehezkel
---
include/uapi/linux/tls.h | 2 ++
1
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli
Cc: Arnd Bergmann
Cc: David S. Miller
---
include/uapi/linux/sysctl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux
Fixes user space compilation error:
linux/fsmap.h:71:19: error: unknown type name ‘size_t’
static __inline__ size_t
^~
Signed-off-by: Mikko Rapeli
Cc: Darrick J. Wong
---
include/uapi/linux/fsmap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
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
Cc: H. Peter Anvin
Cc: Arnd Bergmann
Cc: Al Viro
---
include/uapi/asm-generic
_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
Cc: c...@cs.cmu.edu
Cc: Jan Harkes
---
include/linux/coda_p
struct sockaddr_in _sockaddr_in;
^~~~
rdma/rdma_user_rxe.h:61:23: error: field ‘_sockaddr_in6’ has incomplete type
struct sockaddr_in6 _sockaddr_in6;
^
Signed-off-by: Mikko Rapeli
Acked-by: Moni Shoua
Acked-by: Doug Ledford
Cc
Fixes userspace compiler error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli
Acked-by: Arnd Bergmann
Cc: Al Viro
Cc: H. Peter Anvin
---
include/uapi/asm-generic/signal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/asm-generic/signal.h
b
Fixes userspace compilation errors like:
error: field ‘msg_perm’ has incomplete type
struct ipc64_perm msg_perm
Signed-off-by: Mikko Rapeli
Acked-by: Arnd Bergmann
Cc: H.J. Lu
Cc: H. Peter Anvin
---
include/uapi/asm-generic/msgbuf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
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
Cc: Greg Kroah-Hartman
Cc: Arve Hjønnevåg
Cc: Riley Andrews
Cc: Todd Kjos
Cc: Martijn Coenen
Cc: de
It has definition of domid_t. Fixes userspace compiler error when
xen/privcmd.h is compiled alone:
xen/evtchn.h:100:2: error: unknown type name ‘domid_t’
domid_t domid;
^~~
Signed-off-by: Mikko Rapeli
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: xen-de...@lists.xenproject.org
Fixes userspace compilation errors like:
scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
Cc: linux-s...@vger.kernel.org
---
include/uapi/scsi/scsi_bsg_fc.h | 54 +
1 file changed, 28 insertions(+), 26 deletions
Fixes userspace compilation error:
error: unknown type name ‘__kernel_key_t’
Signed-off-by: Mikko Rapeli
Acked-by: Arnd Bergmann
Cc: "H. Peter Anvin"
Cc: H.J. Lu
---
include/uapi/asm-generic/ipcbuf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/asm-generic/i
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
Cc: Al Viro
Cc: Arnd Bergmann
linux/time.h conflicts with user space header time.h. Try to be compatible
with both.
Fixes userspace compilation error:
error: array type has incomplete element type
struct timespec ts[3];
Signed-off-by: Mikko Rapeli
Cc: Willem de Bruijn
Cc: Soheil Hassas Yeganeh
Cc: net...@vger.kernel.org
Both are needed to compile in userspace. Fixes these
userspace compile errors:
xen/gntdev.h:151:4: error: unknown type name ‘grant_ref_t’
grant_ref_t ref;
^
xen/gntdev.h:153:4: error: unknown type name ‘domid_t’
domid_t domid;
^
Signed-off-by: Mikko Rapeli
Cc: Boris Ostrovsky
Include instead of which on Linux includes
and on non-Linux platforms defines __u32 etc types.
Fixes user space compilation errors like:
linux/kfd_ioctl.h:33:2: error: unknown type name ‘uint32_t’
uint32_t major_version; /* from KFD */
^~~~
Signed-off-by: Mikko Rapeli
Cc: Yair
Fixes userspace compilation errors like:
error: field ‘msg_perm’ has incomplete type
struct ipc64_perm msg_perm;
error: unknown type name ‘__kernel_ulong_t’
Signed-off-by: Mikko Rapeli
Acked-by: Arnd Bergmann
Cc: H.J. Lu
Cc: H. Peter Anvin
---
include/uapi/asm-generic/sembuf.h | 2 ++
1
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli
Cc: Paul Durrant
Cc: David Vrabel
Cc: Stefano Stabellini
Cc: Russell King
---
include/uapi/xen/privcmd.h | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/include/uapi/xen/privcmd.h b/include/ua
Fixes userspace compilation errors like:
linux/sctp.h:652:2: error: unknown type name ‘uint32_t’
Acked-by: Neil Horman
Signed-off-by: Mikko Rapeli
Cc: Marcelo Ricardo Leitner
Cc: Xin Long
Cc: Phil Sutter
---
include/uapi/linux/sctp.h | 20 ++--
1 file changed, 10 insertions
On Sun, Aug 06, 2017 at 04:23:16PM -0400, Willem de Bruijn wrote:
> On Sun, Aug 6, 2017 at 12:44 PM, Mikko Rapeli wrote:
> > linux/time.h conflicts with user space header time.h. Try to be compatible
> > with both.
> >
> > Fixes userspace compilation error:
&g
On Sun, Aug 06, 2017 at 04:26:50PM -0400, Willem de Bruijn wrote:
> On Sun, Aug 6, 2017 at 4:23 PM, Willem de Bruijn
> wrote:
> > On Sun, Aug 6, 2017 at 12:44 PM, Mikko Rapeli wrote:
> >> linux/time.h conflicts with user space header time.h. Try to be compatible
> >&
Hi,
On Sun, Aug 06, 2017 at 11:22:53AM -0700, James Bottomley wrote:
> On Sun, 2017-08-06 at 18:43 +0200, Mikko Rapeli wrote:
> > Fixes userspace compilation errors like:
> >
> > scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list
> > before
On Sun, Aug 06, 2017 at 05:24:20PM -0400, Willem de Bruijn wrote:
> >> > +#ifdef __KERNEL__
> >> > +#include
> >> > +#else
> >> > +#include
> >> > +#endif /* __KERNEL__ */
> >>
> >> This will break applications that include manually.
> >> I previously sent a patch to use libc-compat to make
On Sun, Aug 06, 2017 at 05:42:13PM -0400, Willem de Bruijn wrote:
> On Sun, Aug 6, 2017 at 5:33 PM, Mikko Rapeli wrote:
> > On Sun, Aug 06, 2017 at 05:24:20PM -0400, Willem de Bruijn wrote:
> >> >> > +#ifdef __KERNEL__
> >> >> > +#include
> >&
On Sun, Aug 06, 2017 at 03:09:21PM -0700, James Bottomley wrote:
> On Sun, 2017-08-06 at 23:42 +0300, Mikko Rapeli wrote:
> > Hi,
> >
> > On Sun, Aug 06, 2017 at 11:22:53AM -0700, James Bottomley wrote:
> > >
> > > On Sun, 2017-08-06 at 18:43 +0200, Mik
Hi Dmitry and thanks for the comments.
I have only one question: why haven't your patches been applied yet?
-Mikko
rror: net/tcp.h: No such file or
> directory
>
> As to this point uapi/linux/tls.h was totaly unusuable for userspace,
> cleanup this header file further by moving other redundant includes
> to net/tls.h.
>
> Fixes: 3c4d7559159b ("tls: kernel TLS support")
> Cc: # v4.13+
&
Fixes compilation error:
xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/xen/gntalloc.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/xen/gntalloc.h b/include/uapi/xen/gntalloc.h
index 76bd580..184df7e 100644
Fixes compilation error:
drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/drm_mode.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index f104c26..93b25bae 100644
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
Fixes compiler error since list_head is not exported to userspace headers.
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/via_drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index 791531e..34ce658 100644
--- a/include/uapi
Fixes compilation error:
sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/sound/hdspm.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h
index d956c35..f799828 100644
Usefull when debugging the make scripts.
Signed-off-by: Mikko Rapeli
---
Makefile | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 25b85ab..df0eb14 100644
--- a/Makefile
+++ b/Makefile
@@ -855,13 +855,13 @@ quiet_cmd_link-vmlinux = LINK
Fixes compilation error:
linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/nfsd/cld.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/linux/nfsd/cld.h b/include/uapi/linux/nfsd/cld.h
index f14a9ab..9f60f9c
Fixes compilation error:
scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/scsi/scsi_bsg_fc.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h
index 3031b90
Fixes compilation error:
drm/vmwgfx_drm.h:31:17: fatal error: drm.h: No such file or directory
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/vmwgfx_drm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
index
Fixes compilation error:
scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before
‘uint64_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/scsi/scsi_netlink_fc.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/scsi/scsi_netlink_fc.h
b/include/uapi
Fixes compilation error:
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 | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/dm-log-userspace.h
b/include/uapi/linux/dm-log
Fixes compilation error:
linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/netfilter_bridge/ebtables.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/netfilter_bridge/ebtables.h
b/include
Fixes compilation error:
scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/scsi/scsi_netlink.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi/scsi/scsi_netlink.h
Fixes compilation error:
linux/rds.h:96:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/rds.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h
index 9195095..7ff0c70 100644
--- a/include/uapi
Fixes compilation error:
linux/sctp.h:652:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/sctp.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h
index 266022a..f68d79a 100644
--- a/include
Fixes compiler error:
linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/hsi/hsi_char.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/uapi/linux/hsi/hsi_char.h
b/include/uapi/linux/hsi
Fixes compiler error:
drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type
struct list_head obj_list;
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/sis_drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h
index
Fixes compilation error:
drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/nouveau_drm.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h
index 2a5769f..90b9b4a
Fixes compilation error:
xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/xen/gntdev.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/xen/gntdev.h b/include/uapi/xen/gntdev.h
index 5304bd3..f724f75 100644
--- a/include
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 | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h
index
Fixes compilation errors like:
drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/exynos_drm.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h
index d584412..59ee215
t;
1 drm.h: No such file or directory
1 ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function)
1 arpa/inet.h: No such file or directory
Signed-off-by: Mikko Rapeli
---
scripts/headers_compile_test.sh | 84 +
1 file changed, 84 inse
. Some problems like with via_drm.h seem several years old but
have not been fixed thus far:
http://marc.info/?l=linux-kbuild=122919682002000=2
Mikko Rapeli (27):
Compile test script for exported header files
scripts/headers.sh: add verbose option to make calls if defined
Makefile: propagate
Fixes compilation error:
drm/drm.h:132:2: error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/drm.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
index 9abbeb9..820fd01 100644
--- a/include/uapi/drm/drm.h
Useful when debugging the scripts.
Signed-off-by: Mikko Rapeli
---
scripts/headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/headers.sh b/scripts/headers.sh
index 978b42b..09e8a5c 100755
--- a/scripts/headers.sh
+++ b/scripts/headers.sh
@@ -7,7 +7,7 @@ set
Exit with error if using undefined variables or if any sub command fails
with error return value. unidef needs special handling since but this can
be done without the trap. Enables exaniming intermediate files if some
commands failed.
Signed-off-by: Mikko Rapeli
---
scripts/headers_install.sh
Fixes 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 | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index aefa2f6..6b12bbb7 100644
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
On Fri, Mar 20, 2015 at 08:25:40PM +, Emil Velikov wrote:
> On 23 February 2015 at 10:35, Mikko Rapeli wrote:
> > On Mon, Feb 23, 2015 at 10:26:58AM +, Emil Velikov wrote:
> >> On 16/02/15 23:05, Mikko Rapeli wrote:
> >> > Fixes compilation error:
> &
On Thu, Apr 09, 2015 at 05:00:48PM +0100, Emil Velikov wrote:
> Hi Mikko
>
> Pardon for the late response,
>
> On 21 March 2015 at 12:17, Mikko Rapeli wrote:
> > On Fri, Mar 20, 2015 at 08:25:40PM +, Emil Velikov wrote:
> >> On 23 February 2015 at 10:35, Mikk
On Wed, Jun 03, 2015 at 06:19:48PM +0100, Emil Velikov wrote:
> On 30 May 2015 at 16:37, Mikko Rapeli wrote:
> > Fixes userspace compilation error:
> >
> > drm/drm.h:132:2: error: unknown type name ‘size_t’
> >
> > Signed-off-by: Mikko Rapeli
> &
On Wed, Jun 03, 2015 at 05:50:22PM +0100, Emil Velikov wrote:
> Hi Mikko,
>
> On 30 May 2015 at 16:38, Mikko Rapeli wrote:
> > Fixes compiler error since list_head is not exported to userspace headers.
> >
> > Signed-off-by: Mikko Rapeli
> > ---
> > i
/lkml/2015/5/30/98
-Mikko
On Sat, May 30, 2015 at 05:39:26PM +0200, Mikko Rapeli wrote:
> I have no idea what I'm doing but this fixes header file compilation in
> userspace:
>
> error: field ‘sw_reserved’ has incomplete type
>struct _fpx_sw_bytes sw_reserved;
>
> Signed
On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli wrote:
>
> > Hi Ingo, Thomas and Peter,
> >
> > Do you have any pointers for me how arch/x86/include/uapi/asm/sigcontext32.h
> > could be fixed to also compile in userspac
On Fri, Sep 04, 2015 at 10:58:31AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli wrote:
>
> > On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote:
> > >
> > > * Mikko Rapeli wrote:
> > >
> > > > Hi Ingo, Thomas and Peter
On Sat, Sep 05, 2015 at 09:32:43AM +0200, Ingo Molnar wrote:
> Now that all type definitions are in the UAPI header, remove the
> wrapper.
>
> Cc: Andy Lutomirski
> Cc: Borislav Petkov
> Cc: Brian Gerst
> Cc: Denys Vlasenko
> Cc: H. Peter Anvin
> Cc: Linus T
On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli wrote:
>
> > > diff --git a/arch/x86/include/uapi/asm/sigcontext32.h
> > > b/arch/x86/include/uapi/asm/sigcontext32.h
> > > index a92b0f0dc09e..8b870175befa 100644
> > >
On Sun, Sep 06, 2015 at 08:41:45AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli wrote:
>
> > On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote:
> > >
> > > * Mikko Rapeli wrote:
> > >
> > > > > diff --git a/arch/x86/include/u
On Mon, Sep 07, 2015 at 09:37:50AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli wrote:
>
> > > > +++ b/arch/x86/include/uapi/asm/sigcontext32.h
> > > > @@ -3,6 +3,6 @@
> > > >
> > > > /* This is a legacy fil
o effect."
So for 32 bit userspace side
Tested-by: Mikko Rapeli
-Mikko
[1] http://lvc.github.io/abi-compliance-checker/
[2] API/ABI check results
https://mcfrisk.kapsi.fi/temp/headers_test_v04_to_headers_test_v04+test_ingo_x86_cleanup/
[3] abi checker still has some issues
On Sat, May 30, 2015 at 06:56:25PM +0100, Andrew Cooper wrote:
> On 30/05/15 16:39, Mikko Rapeli wrote:
> > privcmd.h depends on xen/interface/xen.h which is now exported to userspace.
> > xen/interface/xen.h then depends on asm/xen/interface.h which is now
> > exported
On Sun, May 31, 2015 at 07:19:13AM -0400, Jan Harkes wrote:
> On Sat, May 30, 2015 at 05:39:28PM +0200, Mikko Rapeli wrote:
> > Include linux/coda.h for caddr_t and use unsigned short type directly.
> > Userspace headers do not have list_head and wait_queue_head_t so just
> >
Hi Imre,
On Mon, Jun 22, 2015 at 04:43:50PM +0300, Imre Deak wrote:
>
> To summarize, since we extended the range of platforms to apply the
> workaround in
> commit ab3be73fa7b43f4c3648ce29b5fd649ea54d3adb
> Author: Imre Deak
> Date: Mon Mar 2 13:04:41 2015 +0200
>
> drm/i915: gen4: work
On Sat, May 30, 2015 at 05:46:56PM +0100, Russell King - ARM Linux wrote:
> Note that drm/drm.h is all that should need to be included - drm/drm.h
> takes care of including linux/types.h when building on Linux platforms.
> (note: if your compiler doesn't set __linux__ then you're probably not
>
On Sun, May 31, 2015 at 10:12:07AM +0200, Takashi Iwai wrote:
> At Sun, 31 May 2015 09:18:57 +0200,
> Takashi Iwai wrote:
> >
> > At Sat, 30 May 2015 17:38:10 +0200,
> > Mikko Rapeli wrote:
> > >
> > > Fixes userspace compilation error:
> > &
On Sat, May 30, 2015 at 10:17:30PM +0200, Frans Klaver wrote:
> On Sat, May 30, 2015 at 05:38:21PM +0200, Mikko Rapeli wrote:
> > Fixes compilation error:
> >
> > scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list
> > before ‘uint64_t’
> >
On Sun, May 31, 2015 at 09:11:54AM +0200, Takashi Iwai wrote:
> At Sat, 30 May 2015 17:38:22 +0200,
> Mikko Rapeli wrote:
> >
> > Fixes userspace compilation errors like:
> >
> > sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’
>
> Hmm, how do you
On Sat, May 30, 2015 at 10:22:53PM +0200, Frans Klaver wrote:
> On Sat, May 30, 2015 at 05:38:35PM +0200, Mikko Rapeli wrote:
> > Fixes userspace compiler error:
> >
> > error: ‘IFNAMSIZ’ undeclared here (not in a function)
> >
> > Signed-off-by: Mikko Rapeli
On Sun, May 31, 2015 at 08:15:48PM +0200, Jozsef Kadlecsik wrote:
> On Sat, 30 May 2015, Mikko Rapeli wrote:
>
> > Fixes userspace compilation error:
> >
> > error: ?IPSET_ERR_TYPE_SPECIFIC? undeclared here (not in a function)
> > IPSET_ERR_BITMAP_RANGE = IPSE
to get some
feedback and suggestions how to properly fix them.
Here's how to run the userspace compile tests:
$ make headers_install && cd usr/include && \
../../scripts/headers_compile_test.sh
Additionally tested an allyesconfig compilation on 32bit x86.
Mikko Rapeli (98):
he
’, ‘asm’ or ‘__attribute__’ before
‘snd_seq_client_type_t’
1 #error "patchkey.h included directly"
1 ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function)
Signed-off-by: Mikko Rapeli
---
scripts/headers_compile_test.sh | 143
1 file change
Fixes userspace compilation error:
error: array type has incomplete element type
struct drm_clip_rect boxes[I810_NR_SAREA_CLIPRECTS];
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/i810_drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/drm/i810_drm.h b/include/uapi/drm
Exit with error if using undefined variables or if any sub command fails
with error return value. unidef needs special handling since but this can
be done without the trap. Enables exaniming intermediate files if some
commands failed.
Signed-off-by: Mikko Rapeli
---
scripts/headers_install.sh
Fixes userspace compilation errors like:
error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/vmwgfx_drm.h | 260 +-
1 file changed, 130 insertions(+), 130 deletions(-)
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include
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 | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h
Fixes compiler error:
drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type
struct list_head obj_list;
Signed-off-by: Mikko Rapeli
---
include/uapi/drm/sis_drm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h
index
Fixes userspace compilation errors like:
scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/scsi/scsi_bsg_fc.h | 54 +
1 file changed, 28 insertions(+), 26 deletions(-)
diff --git a/include/uapi/scsi
Fixes userspace compilation errors like:
linux/rds.h:96:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/rds.h | 102 +++
1 file changed, 51 insertions(+), 51 deletions(-)
diff --git a/include/uapi/linux/rds.h
Fixes userspace compilation errors like:
sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/sound/hdspm.h | 40 ++--
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/include/uapi/sound/hdspm.h
Fixes userspace compilation error:
linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/netfilter_bridge/ebtables.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux
Fixes userspace compilation errors like:
error: field ‘iph’ has incomplete type
error: field ‘prefix’ has incomplete type
Signed-off-by: Mikko Rapeli
---
include/uapi/linux/if_tunnel.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux
501 - 600 of 960 matches
Mail list logo