Fixes userspace compilation errors like:
xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/xen/gntdev.h | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/includ
Fixes userspace compilation error:
error: unknown type name ‘__kernel_key_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/ipcbuf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/asm-generic/ipcbuf.h
b/include/uapi/asm-generic/ipcbuf.h
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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/sysctl.h
index 0
Kernel headers should use linux/types.h based definitions.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/sound/hdspm.h | 40 ++--
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/include/uapi/sound/hdspm.h b/includ
On Thu, Oct 15, 2015 at 05:20:24PM +0200, Miklos Szeredi wrote:
> On Thu, Oct 15, 2015 at 7:56 AM, Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> > Kernel headers should not use stdint.h.
>
> Including breaks compile of library on non-Linux
> archs. Allowing this
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 <mikko.rap...@iki.fi> wrote:
>
> > Fixes userspace compilation errors like:
> >
> > linux/dm-log-userspace.h:416:2: error: unknown type na
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 <mikko.rap...@iki.fi> wrote:
> > And include linux/hdlc/ioctl.h from linux/if.h.
>
> That appears to have already been the case before this patch. You
Fixes userspace compiler error:
error: ‘IFNAMSIZ’ undeclared here (not in a function)
Suggested by Frans Klaver <franskla...@gmail.com> on lkml message
<20150530195223.ga15...@bugger.home>.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/hdlc/ioct
Trying to find out what would be an acceptable fix for elfcore.h but..
On Sat, May 30, 2015 at 05:39:29PM +0200, Mikko Rapeli wrote:
> __kernel_pid_t change feels like right one. Commenting out elf_greg_t
> things in userspace does not but exporting x86/include/asm/elf.h and its
> dep
Hi,
On Sat, May 30, 2015 at 05:39:30PM +0200, Mikko Rapeli wrote:
> linux/time.h conflicts with userspace header time.h. Try to be compatible
> for kernel and userspace.
Any comments about this change? I assume the and
incompatibility in userspace is a known thing and the resulting defin
On Wed, Jun 03, 2015 at 06:19:48PM +0100, Emil Velikov wrote:
On 30 May 2015 at 16:37, Mikko Rapeli mikko.rap...@iki.fi wrote:
Fixes userspace compilation error:
drm/drm.h:132:2: error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi
---
include/uapi/drm
On Fri, Sep 04, 2015 at 10:58:31AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote:
> > >
> > > * Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> > >
.com>
> Cc: Denys Vlasenko <dvlas...@redhat.com>
> Cc: H. Peter Anvin <h...@zytor.com>
> Cc: Linus Torvalds <torva...@linux-foundation.org>
> Cc: Mikko Rapeli <mikko.rap...@iki.fi>
> Cc: Peter Zijlstra <pet...@infradead.org>
> Cc: Thomas Gleixner <
On Mon, Sep 07, 2015 at 09:37:50AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > > > +++ b/arch/x86/include/uapi/asm/sigcontext32.h
> > > > @@ -3,6 +3,6 @@
> > > >
> > > > /* This is a lega
On Sun, Sep 06, 2015 at 08:41:45AM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote:
> > >
> > > * Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> >
On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote:
>
> * Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > > diff --git a/arch/x86/include/uapi/asm/sigcontext32.h
> > > b/arch/x86/include/uapi/asm/sigcontext32.h
> > > index a92b0f0dc09e..8b8701
o effect."
So for 32 bit userspace side
Tested-by: Mikko Rapeli <mikko.rap...@iki.fi>
-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
On Wed, Jun 03, 2015 at 05:50:22PM +0100, Emil Velikov wrote:
> Hi Mikko,
>
> On 30 May 2015 at 16:38, Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> > Fixes compiler error since list_head is not exported to userspace headers.
> >
> > Signed-off-by:
/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 <mikko.rap...@iki.fi> 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 a
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
> >
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
r <gabr...@lse.epita.fr> wrote:
> >>> Signed-off-by: Gabriel Laskar <gabr...@lse.epita.fr>
> >>> CC: Emil Velikov <emil.l.veli...@gmail.com>
> >>> CC: Mikko Rapeli <mikko.rap...@iki.fi>
> >>>
> >>> ---
> >>> inc
org>
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/if.h | 21 +
include/uapi/linux/libc-compat.h | 33 +
2 files changed, 54 insertions(+)
diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.
On Thu, Jan 07, 2016 at 10:30:40AM -0800, Stephen Hemminger wrote:
> On Thu, 7 Jan 2016 07:29:50 +
> Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > On Wed, Jan 06, 2016 at 09:20:07AM -0800, Stephen Hemminger wrote:
> > > This commit breaks compilation of iprou
(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 <mikko.rap...@iki.fi>
> Date: Sun, 7 Feb 2016 16:03:21 +0200
>
> > @@ -68,6 +72,8 @@
> > * @IFF_ECHO:
;shemm...@brocade.com>
Reported-by: Waldemar Brodkorb <m...@waldemar-brodkorb.de>
Cc: Gabriel Laskar <gabr...@lse.epita.fr>
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/if.h | 28 +
include/uapi/linux/libc-compat.h |
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
On Mon, May 09, 2016 at 11:35:35PM +0200, Pablo Neira Ayuso wrote:
> It seems linux-netdev was not Cc'ed. I cannot find this in David's
> patchwork [1].
>
> @Mikko: Could you resubmit including net...@vger.kernel.org? Thanks.
Done: http://patchwork.ozlabs.org/patch/620262/
-Mikko
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 <mikko.rap...@iki.fi
> Activate __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO only when
> it is needed. This should also make this work in case glibc will add
> these defines.
>
> Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
Looks good.
Reviewed-by: Mikko Rapeli <mikko.rap...@iki.fi>
> ---
> incl
the code. Basically, don't do cleanups in this header.
> >
> >Signed-off-by: Marek Olšák <marek.ol...@amd.com>
>
> I completely agree with you that this was a bad move, but I fear that we
> will run into opposition with that.
>
> Adding Mikko Rapeli who made the reverted
Cc'ing lkml too.
On Fri, Aug 19, 2016 at 11:54:21PM +0100, Emil Velikov wrote:
> Story time:
> I was dreaming of a day were we can stop installing these headers,
> thus making deprecation a bit easier process.
> Yet after failing to convince Dave and Daniel on a number of occasions
> I've
Cc'ing lkml.
On Sat, Aug 20, 2016 at 12:05:54PM +0200, Marek Olšák wrote:
> On Sat, Aug 20, 2016 at 12:54 AM, Emil Velikov
> wrote:
> > On 19 August 2016 at 15:26, Christian König wrote:
> >> Am 19.08.2016 um 15:50 schrieb Marek Olšák:
> >>>
>
Cc'ing lkml.
On Fri, Aug 19, 2016 at 09:18:24PM -0500, Ken Phillis Jr wrote:
> On Fri, Aug 19, 2016 at 8:46 PM, Rob Clark wrote:
>
> > perhaps, but if the target audience for driver specific APIs is
> > libdrm/mesa, which already uses stdint types, then I fail to see the
>
On Mon, Aug 22, 2016 at 09:48:10AM +0100, Emil Velikov wrote:
> On 20 August 2016 at 23:31, Rob Clark <robdcl...@gmail.com> wrote:
> > On Sat, Aug 20, 2016 at 1:58 PM, Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> >> Cc'ing lkml too.
> >>
> >> On Fri
rose.h:74:8: error: redefinition of ‘struct rose_cause_struct’
linux/rose.h:79:8: error: redefinition of ‘struct rose_facilities_struct’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/libc-compat.h | 30 ++
include/uapi/linux/rose.h|
f9c9.8000...@citrix.com>.
The 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 <mikko.rap...@iki.fi>
Cc: David Vrabel <da
This libc header has sockaddr definition for userspace.
Fixes userspace compilation errors like these from kernel headers including
only linux/socket.h:
error: field ‘ifru_addr’ has incomplete type
struct sockaddr ifru_addr;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
includ
Kernel headers should use linux/types.h types.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/linux/sdb.h | 62 +
1 file changed, 29 insertions(+), 33 deletions(-)
diff --git a/include/linux/sdb.h b/include/linux/sdb.h
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 <mikko.rap...@iki.fi>
---
arch/arm/include/uapi/asm/signal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Fixes userspace compile errors like:
error: field ‘mf6cc_origin’ has incomplete type
struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/mroute6.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/includ
efinition of ‘struct ax25_ctl_struct’
linux/ax25.h:98:8: error: redefinition of ‘struct ax25_info_struct’
linux/ax25.h:111:8: error: redefinition of ‘struct ax25_fwd_struct’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/ax25.h| 22
Fixes userspace compilation errors like:
error: unknown type name ‘__be32’
error: field ‘dest_addr’ has incomplete type
struct sockaddr_storage dest_addr;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Acked-by: Sowmini Varadhan <sowmini.varad...@oracle.com>
---
include/uapi
ipx_interface_definition’
./linux/ipx.h:49:8: error: redefinition of ‘struct ipx_config_data’
./linux/ipx.h:58:8: error: redefinition of ‘struct ipx_route_def’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/ipx.h | 13 -
include/uapi/linux/libc-co
is here.
^
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/sound/Kbuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/uapi/sound/Kbuild b/include/uapi/sound/Kbuild
index 691984c..6d8b203 100644
--- a/include/uapi/sound/Kbuild
+++ b/include/uapi/sound/Kbuild
@
al’
linux/time.h:67:0: warning: "TIMER_ABSTIME" redefined
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/libc-compat.h | 37 +
include/uapi/linux/time.h| 18 --
2 files changed, 53 insertions(+), 2 dele
Kernel headers should use linux/types.h types.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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/linu
linux/time.h conflicts with userspace header time.h. Try to be compatible
for kernel and userspace.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/errqueue.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/errqueue.h b/include/uapi
Fixes userspace compilation errors like:
error: field ‘iph’ has incomplete type
error: field ‘prefix’ has incomplete type
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/if_tunnel.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/uapi/linux/if_tunn
Kernel headers should use linux/types.h types.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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 4
Fixes userspace compile errors like:
error: field ‘rtmsg_dst’ has incomplete type
struct in6_addr rtmsg_dst;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/ipv6_route.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/ipv6_route.h b/i
Kernel headers should not use stdint.h.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Arnd Bergmann <a...@arndb.de>
Cc: Miklos Szeredi <mik...@szeredi.hu>
---
include/uapi/linux/fuse.h | 452 +++---
1 file changed, 224 insertions
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 <mikko.rap...@iki.fi>
---
include/uapi/xen/evtchn.h | 2 ++
1 file chan
Fixes this userspace compile error when glibc sys/uio.h is included
before linux/uio.h:
linux/uio.h:16:8: error: redefinition of ‘struct iovec’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/libc-compat.h | 10 ++
include/uapi/linux/uio.h | 4 +
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 <mikko.rap...@iki.fi>
---
include/uapi
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 <mikko.rap...@iki.fi>
---
include/uap
ne NCCS 32
^
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/termbits.h | 3 +++
include/uapi/asm-generic/termios.h | 5 +
include/uapi/linux/libc-compat.h| 28
3 files changed, 36 insertions(+)
diff --git a/include/uapi/asm-ge
On Thu, Aug 25, 2016 at 04:24:11AM +, Bart Van Assche wrote:
> On 08/23/16 13:42, Mikko Rapeli wrote:
> > On Tue, Aug 23, 2016 at 02:28:19PM +, Bart Van Assche wrote:
> >> On 08/23/16 06:57, Bart Van Assche wrote:
> >>> On 08/22/16 11:32, Mikko Rap
On Mon, Aug 29, 2016 at 12:34:25PM -0700, David Ranch wrote:
> Hello Mikko,
>
> Somewhat related, the ax25.h file from libax25-devel also has conflicts with
> the Glibc's ax.25.h. This creates trouble so if we could get a fix for
> that, that would be appreciated as well though it might be a
On Fri, Aug 26, 2016 at 05:38:00PM +0200, walter harms wrote:
> perhaps this not tested snipped would make sure that
> you have included linux/rose.h ?
>
> #ifndef ROSE_KERNEL_H
> #include
> #endif
>
> #include
Sorry, I did not quite get this.
has conflicting definitions with glibc .
The
Fixes userspace compilation errors like:
linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Bart Van Assche <bart.vanass...@sandisk.com>
---
include/uapi/linux/dm-log-userspace.h | 53 ++
On Mon, Aug 22, 2016 at 10:52:20PM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Aug 22, 2016 at 08:32:23PM +0200, Mikko Rapeli wrote:
> > Fixes userspace compilation errors due to missing timespec definition.
> >
> > Signed-off-by: Mikko Rapeli <mikko.rap..
On Mon, Aug 22, 2016 at 02:52:58PM -0400, Sowmini Varadhan wrote:
> On (08/22/16 20:32), Mikko Rapeli wrote:
> >
> > Fixes userspace compilation errors like:
> >
> > linux/rds.h:96:2: error: unknown type name ‘uint8_t’
> >
> > Signed-off-by: Mikko
On Tue, Aug 23, 2016 at 11:13:52AM -0700, Stefano Stabellini wrote:
> On Tue, 23 Aug 2016, Russell King - ARM Linux wrote:
> > On Mon, Aug 22, 2016 at 08:33:11PM +0200, Mikko Rapeli wrote:
> > > xen/interface/xen.h is not exported from kernel headers so remove the
> >
On Tue, Aug 23, 2016 at 02:28:19PM +, Bart Van Assche wrote:
> On 08/23/16 06:57, Bart Van Assche wrote:
> > On 08/22/16 11:32, Mikko Rapeli wrote:
> >> - * uint32_t (*get_region_size)(struct dm_dirty_log *log);
> >> + * __u32 (*get_region_size)(struct dm_dirty_
> https://github.com/0day-ci/linux/commits/Mikko-Rapeli/Userspace-compile-test-and-fixes-for-exported-uapi-header-files/20160823-034928
> config: x86_64-randconfig-v0-08230740 (attached as .config)
> compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
> reproduce:
> # save the attach
On Mon, Aug 22, 2016 at 04:32:51PM -0700, David Miller wrote:
> You have to post this properly to the netdev list.
>
> If netdev is not CC:'d it doesn't get properly logged in patchwork,
> and won't be applied.
Sorry, get_maintainers.pl did not find netdev list for these patches.
Could you
On Mon, Aug 22, 2016 at 12:39:38PM -0700, Stephen Hemminger wrote:
> On Mon, 22 Aug 2016 20:32:55 +0200
> Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > Fixes userspace compiler error:
> >
> > error: unknown type name ‘uint32_t’
> >
> > Sig
On Tue, Aug 23, 2016 at 09:16:22AM +0200, Miklos Szeredi wrote:
> On Mon, Aug 22, 2016 at 8:33 PM, Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> > Kernel headers should not use stdint.h.
> >
>
> NACK.
>
> This header is used by more than one OS. Having a diffe
On Mon, Aug 22, 2016 at 12:37:45PM -0700, Stephen Hemminger wrote:
> On Mon, 22 Aug 2016 20:32:38 +0200
> Mikko Rapeli <mikko.rap...@iki.fi> wrote:
>
> > Fixes userspace compilation error:
> >
> > error: ‘IFNAMSIZ’ undeclared here (not in a function)
>
On Mon, Aug 22, 2016 at 10:52:20PM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Aug 22, 2016 at 08:32:23PM +0200, Mikko Rapeli wrote:
> > Fixes userspace compilation errors due to missing timespec definition.
> >
> > Signed-off-by: Mikko Rapeli <mikko.rap..
Thanks! It never occurred to me to test kernel documentation builds.
I will have a look now.
-Mikko
Fixes userspace compilation errors like:
linux/rds.h:96:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/rds.h | 102 +++
1 file changed, 51 insertions(+), 51 deletions(-)
diff
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 examining intermediate files if some
commands failed.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
s
l header compile test.
libc and kernel header compatibility test statistics:
39 files failed libc before kernel include test.
745 files passed libc before kernel include test.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
scripts/headers_compile_test.sh | 329 +
’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/shmbuf.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/uapi/asm-generic/shmbuf.h
b/include/uapi/asm-generic/shmbuf.h
index 7e9fb2f..ae867ad 100644
--- a/include/uapi/asm-generic/sh
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 <mikko.rap...@iki.fi>
---
include/uapi/scsi/scsi_netlink_fc.h | 16
1 file changed, 8 insertions(+), 8 del
Fixes userspace compilation errors like:
scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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 <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/ipcbuf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/asm-generic/ipcbuf.h
b/include/uapi/asm-generic/ipcbuf.h
Fixes userspace compilation errors like:
error: field ‘msg_perm’ has incomplete type
struct ipc64_perm msg_perm
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/msgbuf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/asm-generic/msgbu
Fixes userspace compilation errors like:
scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/scsi/scsi_netlink.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/includ
Fixes userspace compilation errors like:
linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/dm-log-userspace.h | 43 ++-
1 file changed, 22 insertions(+), 21 del
Fixes userspace compilation error:
error: ‘SIOCDEVPRIVATE’ undeclared here (not in a function)
SIOCSCCRESERVED = SIOCDEVPRIVATE
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/scc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/scc.h b/i
Fixes userspace compilation errors like:
linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/nfsd/cld.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/include/uapi/linu
Fixes userspace compilation errors like:
linux/sctp.h:652:2: error: unknown type name ‘uint32_t’
Acked-by: Neil Horman <nhor...@tuxdriver.com>
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/sctp.h | 10 +-
1 file changed, 5 insertions(+), 5 deleti
Fixes userspace compilation error:
error: unknown type name ‘size_t’
size_t length;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/reiserfs_xattr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/reiserfs_xattr.h
b/includ
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 <mikko.rap...@iki.fi>
---
include/uapi/linux/android/binder.h | 4 ++--
1 file changed, 2 insertions(+), 2 del
Fixes userspace compiler error:
error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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/openvsw
Fixes userspace compilation errors like:
error: field ‘addr’ has incomplete type
struct sockaddr_in addr; /* IP address and port to send to */
^
error: field ‘addr’ has incomplete type
struct sockaddr_in6 addr; /* IP address and port to send to */
Signed-off-by: Mikko
Fixes userspace compilation errors like:
error: unknown type name ‘uint16_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/target_core_user.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/uapi
Fixes userspace compile error:
error: field ‘real’ has incomplete type
struct timeval real; /* real (wall-clock) time */
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/atm_zatm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/atm_za
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 <mikko.rap...@iki.fi>
---
include/uapi/linux/dlm_netlink.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/includ
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 <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/ucontext.h | 3 +++
1 file c
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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/ua
Fixes userspace compile error:
error: ‘IFHWADDRLEN’ undeclared here (not in a function)
unsigned char sllc_mac[IFHWADDRLEN];
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/llc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/llc.h b/i
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 <mikko.rap...@iki.fi>
---
include/uapi/linux/ip6_tunnel.h | 2 ++
Fixes userspace compilation error:
error: ‘NAME_MAX’ undeclared here (not in a function)
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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
Fixes userspace compilation error:
error: ‘MAX_ADDR_LEN’ undeclared here (not in a function)
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/packet_diag.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/packet_diag.h b/include/uapi
Fixes userspace compilation errors:
error: field ‘addr’ has incomplete type
struct sockaddr_in addr; /* IP address and port to send to */
error: field ‘addr’ has incomplete type
struct sockaddr_in6 addr; /* IP address and port to send to */
Signed-off-by: Mikko Rapeli <mikko.rap...@iki
301 - 400 of 960 matches
Mail list logo