Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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 7
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/ioctl.h
Fixes userspace compile errors like:
error: field ‘vifc_lcl_addr’ has incomplete type
struct in_addr vifc_lcl_addr; /* Local interface address */
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/mroute.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/i
Fixes userspace compilation error:
error: array type has incomplete element type
struct timespec ts[3];
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/errqueue.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/errqueue.h b/include/uapi
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 <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/sembuf.h | 2 ++
1 file changed, 2 insertions(+)
we could finally
settle this by for example agreeing that C99 stdint.h types are allowed in some
uapi subsystems, e.g. drm and fuse. Help would be appreciated here.
Mikko Rapeli (72):
headers_install.sh: enhance error handling
scripts/headers_compile_test.sh: compile test script for expo
Fixes userspace compiler error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/signal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/asm-generic/signal.h
b/include/uapi/asm-generic/si
.
I will continue to maintain this script as a hobby.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Alexander Stein <alexander.st...@systec-electronic.com>
Cc: Gabriel Laskar <gabr...@lse.epita.fr>
---
MAINTAINERS | 5 +
sc
Fixes userspace compiler errors like:
linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/hsi/hsi_char.h | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/include/uapi
Fixes userspace compilation errors due to missing timespec definition.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/hsi/cs-protocol.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/hsi/cs-protocol.h
b/include/uapi/linux/hsi/cs-protocol.h
Fixes userspace compile error:
error: unknown type name ‘__kernel_long_t’
__kernel_long_t mq_flags; /* message queue flags */
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/mqueue.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/mque
Both are needed to compile wihtout compiler warnings
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
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 <mikko.rap...@iki.fi>
---
include/uapi/linux/btrfs.h | 6 +++
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 d
Kernel uapi header are supposed to use them. Fixes userspace compile error:
linux/openvswitch.h:583:2: error: unknown type name ‘uint32_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/openvswitch.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Would be nice to be able to compile all userspace header files also alone.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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
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 <mikko.rap...@iki.fi>
---
Fixes userspace compilation errors about unknown pid_t, u_short etc types.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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
Fixes userspace compilation error:
error: unknown type name ‘size_t’
size_t bufsz;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
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/k
Fixes this userspace compile error when glibc netinet/ip_icmp.h is included
before linux/icmp.h:
linux/icmp.h:68:8: error: redefinition of ‘struct icmphdr’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/icmp.h| 4 +++-
include/uapi/linux/libc-compat.
Fixes this userspace compile error when net/route.h is included before
linux/route.h:
linux/route.h:30:8: error: redefinition of ‘struct rtentry’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/libc-compat.h | 10 ++
include/uapi/linux/route.h | 4 +
fined
asm-generic/fcntl.h:21:0: warning: "O_RDWR" redefined
asm-generic/fcntl.h:195:8: error: redefinition of ‘struct flock’
linux/fcntl.h:16:0: warning: "F_DUPFD_CLOEXEC" redefined
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/asm-generic/fc
Fixes userspace compilation error:
error: ‘IFNAMSIZ’ undeclared here (not in a function)
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
---
include/uapi/linux/if_pppox.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h
wn type name ‘u_short’
u_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 <mikko.rap...@iki.fi>
---
include/
Hi,
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
On Wed, Aug 24, 2016 at 05:02:56PM +0200, Arnd Bergmann wrote:
> On Monday, August 22, 2016 8:33:17 PM CEST Mikko Rapeli wrote:
> > diff --git a/arch/arm/include/uapi/asm/signal.h
> > b/arch/arm/include/uapi/asm/signal.h
> > index 33073bd..859f2de 100644
> > ---
On Wed, Aug 24, 2016 at 05:36:22PM +0200, Arnd Bergmann wrote:
> On Monday, August 22, 2016 8:32:31 PM CEST Mikko Rapeli wrote:
> > Fixes userspace compilation error:
> >
> > error: unknown type name ‘__kernel_key_t’
> >
> > Signed-off-by: Mikko Rapeli <mikko
.com>
> >> Date: Tue, 23 Aug 2016 09:03:20 +0200
> >>
> >>> On Tue, Aug 23, 2016 at 1:30 AM, David Miller <da...@davemloft.net> wrote:
> >>>> From: Mikko Rapeli <mikko.rap...@iki.fi>
> >>>> Date: Mon, 22 Aug 2016 20:
nition with either parts.
>
> This fixes compilation of userspace programs trying to use
> IFF_LOWER_UP, IFF_DORMANT or IFF_ECHO.
>
> Fixes: 4a91cb61bb99 ("uapi glibc compat: fix compile errors when glibc
> net/if.h included before linux/if.h")
> Signed-off-by: Jonas Go
On Thu, Mar 16, 2017 at 07:59:12AM +, David Woodhouse wrote:
> On Sun, 2017-03-12 at 23:00 +0100, Hauke Mehrtens wrote:
> > __USE_MISC is glibc specific and not available in musl libc. Only do
> > this check when glibc is used. This fixes a problem with musl libc.
> > ...
> > -/* Coordinate
_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>
Acked-by: Mikko Rapeli <mikko.rap...@iki.fi>
> ---
> include/uapi/linux/libc-compat.h | 2 ++
> 1 file ch
t;ha...@hauke-m.de>
Accked-by: Mikko Rapeli <mikko.rap...@iki.fi>
> ---
> include/uapi/linux/libc-compat.h | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/include/uapi/linux/libc-compat.h
> b/include/uapi/linux/libc-compa
On Sun, Mar 12, 2017 at 11:00:38PM +0100, Hauke Mehrtens wrote:
> __USE_MISC is glibc specific and not available in musl libc. Only do
> this check when glibc is used. This fixes a problem with musl libc.
> Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
Acked-by: Mikko Ra
> Signed-off-by: John Spencer <maillist-li...@barfooze.de>
> Tested-by: David Heidelberger <david.heidelber...@ixit.cz>
> Signed-off-by: Jonas Gorski <j...@openwrt.org>
Acked-by: Mikko Rapeli <mikko.rap...@iki.fi>
> ---
> include/uapi/linux/if_ether.h| 3 +
Hi Dmitry and thanks for the comments.
I have only one question: why haven't your patches been applied yet?
-Mikko
*/
^~~~
This approach for suggested by Frans Klaver <franskla...@gmail.com>
in lkml message
<CAH6sp9Ni636HR4sma0SeSZPs+Tws9Y41jij-=fu0gmzj5zb...@mail.gmail.com>.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Frans Klaver <franskla...@gmail.com&
_sockaddr;
error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr’
With this following uapi headers now compile in user space:
rdma/rdma_user_rxe.h
linux/vm_sockets.h
linux/ncp_fs.h
linux/nfc.h
linux/phonet.h
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: net...@vger.kern
Fixes userspace compilation error:
error: unknown type name ‘size_t’
size_t bufsz;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: ke...@lists.infradead.org
Cc: Eric Biederman <ebied...@xmission.com>
---
include/uapi/linux/kexec.h | 4 ++--
1 file changed, 2 insertions(+),
’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Acked-by: Arnd Bergmann <a...@arndb.de>
Cc: H.J. Lu <hjl.to...@gmail.com>
Cc: H. Peter Anvin <h...@zytor.com>
---
include/uapi/asm-generic/shmbuf.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/
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>
Cc: linux-s...@vger.kernel.org
---
include/uapi/scsi/scsi_netlink_fc.h | 16
1 file chan
Fixes userspace compilation errors about unknown pid_t, u_short etc types.
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Jan Harkes <jahar...@cs.cmu.edu>
Cc: codal...@coda.cs.cmu.edu
---
include/uapi/linux/coda.h | 11 +--
1 file changed, 9 insertions(+), 2 deleti
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: linux-o...@vger.kernel.org
Cc: Tomi Valkeinen <tomi.valkei...@ti.com>
Cc: Aaro Koskinen <aaro.koski...@iki.fi>
---
include/uapi/linux/omapfb.h | 2 +-
Arnd Bergmann <a...@arndb.de> 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 <mikko.rap.
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 <mikko.rap...@iki.fi>
Cc: Emil Velikov <emil.l.veli...@gmail.com>
Cc: Ga
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 <mikko.rap...@iki
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 <mikko.
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 <mikko.rap...@iki.fi>
Acked-by: Arnd Bergmann <a...@arndb.de>
Cc: H.J. Lu <hjl.to...@gmail.co
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>
Cc: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>
Cc: Xin Long <lucien...
or directory
xen/privcmd.h:92:2: error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Paul Durrant <paul.durr...@citrix.com>
Cc: David Vrabel <david.vra...@citrix.com>
Cc: Stefano Stabellini <sstabell...@kernel.org>
Cc: Russell King <li...
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>
Cc: H. Peter Anvin <h...@zytor.com>
Cc: A
wn type name ‘u_short’
u_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 <mikko.rap...@iki.fi>
Cc: c...@
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Al Viro <v...@zeniv.linux.org.uk>
Cc: Arnd Bergmann <a...@arndb.de>
Cc: H. Peter Anvin <h...@zytor.com>
---
arch/x86/include/uapi/asm/signal.h |
Fixes userspace compilation error:
error: unknown type name ‘size_t’
size_t length;
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: reiserfs-de...@vger.kernel.org
---
include/uapi/linux/reiserfs_xattr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/includ
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 <mikko.rap...@iki.fi>
Cc: alsa-de...@alsa-project.org
Cc: Andrew Veliath <andre...@usa.net>
Cc: Riccardo Facchetti <fiz...@tin.it>
---
include/uapi/linux/patchkey.h | 2 +-
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>
Cc: Al V
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>
Cc: linux-s...@vger.kernel.org
---
include/uapi/scsi/scsi_netlink.h | 22 +++---
1 file changed, 11 insertions(+), 11 del
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>
Cc: Christine Caulfield <ccaul...@redhat.com>
Cc: David Teigland <teigl...@redhat.com&
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 <mikko.rap...@iki.fi>
Cc: Willem de Bruijn <will...@google.com>
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 <mikko.rap...@iki.fi>
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 <mikko.rap...@iki.fi> wrote:
> > linux/time.h conflicts with user space header time.h. Try to be compatible
> > with both.
> >
> > Fixes userspace
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
> <willemdebruijn.ker...@gmail.com> wrote:
> > On Sun, Aug 6, 2017 at 12:44 PM, Mikko Rapeli <mikko.rap...@iki.fi> wrote:
> >> linux/time.h confli
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 <mikko.rap...@iki.fi> wrote:
> > On Sun, Aug 06, 2017 at 05:24:20PM -0400, Willem de Bruijn wrote:
> >> >> > +#ifdef __KERNEL__
> >> >> &
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 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
Fixes userspace compilation error:
error: ‘SIOCDEVPRIVATE’ undeclared here (not in a function)
SIOCSCCRESERVED = SIOCDEVPRIVATE
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: net...@vger.kernel.org
Cc: linux-h...@vger.kernel.org
Cc: Joerg Reuter <jreu...@yaina.de>
---
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 <mikko.rap...@iki.fi>
Cc: Alexander
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Cc: Arnd Bergmann <a...@arndb.de>
Cc: David S. Miller <da...@davemloft.net>
---
include/uapi/linux/sysctl.h | 4 ++--
1 file changed, 2 insertions(+), 2
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 <mikko.rap...@iki.fi>
Cc: Darrick J. Wong <darrick.w...@oracle.com>
---
include/uapi/linux/fsmap.h | 2 +-
1 fil
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 <mikko.rap...@iki.fi>
Cc: Dave Watson <davejwat...@fb.com>
Cc: Ilya Lesokhin <il.
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>
Acked-by: Arnd Bergmann <a...@arndb.de>
Cc: H.J. Lu <hjl.to...@gmail.com>
Cc: H. Peter Anvin <h...@zytor.com&g
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>
Cc: linux-s...@vger.kernel.org
---
include/uapi/scsi/scsi_bsg_fc.h | 54 +
1 file changed, 28 inse
Fixes userspace compilation error:
error: unknown type name ‘__kernel_key_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Acked-by: Arnd Bergmann <a...@arndb.de>
Cc: "H. Peter Anvin" <h...@zytor.com>
Cc: H.J. Lu <hjl.to...@gmail.com>
---
include/uapi/a
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>
Acked-by: Moni Sho
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>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Arve Hjønnevåg <a...@android
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>
Cc: Boris Ostrovsky <boris.ostrov...@oracle.com>
Fixes userspace compiler error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
Acked-by: Arnd Bergmann <a...@arndb.de>
Cc: Al Viro <v...@zeniv.linux.org.uk>
Cc: H. Peter Anvin <h...@zytor.com>
---
include/uapi/asm-generic/signal.h |
On Mon, Sep 04, 2017 at 07:15:11PM +0300, Dmitry V. Levin wrote:
> On Wed, Aug 09, 2017 at 02:25:54AM +0300, Dmitry V. Levin wrote:
> > On Sun, Aug 06, 2017 at 06:44:26PM +0200, Mikko Rapeli wrote:
> > > It is not needed and not part of uapi headers, but causes
> > > u
@vger.kernel.org> # v4.13+
> Signed-off-by: Dmitry V. Levin <l...@altlinux.org>
Acked-by: Mikko Rapeli <mikko.rap...@iki.fi>
> ---
> include/net/tls.h| 4
> include/uapi/linux/tls.h | 4
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
&g
On Wed, Aug 08, 2007 at 05:02:11PM -0700, Andrew Morton wrote:
> On Thu, 9 Aug 2007 01:31:20 +0300
> Mikko Rapeli <[EMAIL PROTECTED]> wrote:
>
> > Since 2.6.23-rc1 I can't boot an old k6 (with a funky IDE drive worth
> > testing
> > with libata). The boot hangs
On Wed, Aug 08, 2007 at 10:09:18PM -0700, Andrew Morton wrote:
> Often such an early crash is due to a config problem. eg: chose the
> wrong CPU type. So I'd recommend that you triple-check that config,
> especially under "Processor type and features" before diving into into the
> bisection
On Thu, Aug 09, 2007 at 12:25:02AM -0700, H. Peter Anvin wrote:
> So it's not printing "Uncompressing kernel... " at all?
Yes, nothing comes up. Machine responds to three-finger-salute and
numlock status can be changed, though.
> It might be an issue with the new setup code. What happens if you
On Thu, Aug 09, 2007 at 12:25:02AM -0700, H. Peter Anvin wrote:
> It might be an issue with the new setup code. What happens if you
> append "vga=ask" to the kernel command line?
I get to choose the vga mode but nothing visible happens after that.
This seems like regression since even 2.6.23-rc2
As I could guess from the changelogs, 2.6.22-git2 works and anything
after 2.6.22-git3 doesn't.
-Mikko
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
On Thu, Aug 09, 2007 at 03:26:57PM -0700, H. Peter Anvin wrote:
> Mikko Rapeli wrote:
> > As I could guess from the changelogs, 2.6.22-git2 works and anything
> > after 2.6.22-git3 doesn't.
>
> Okay, here is something to try. Don't try this unless you haven't
> already
On Fri, Aug 10, 2007 at 09:45:31AM -0700, H. Peter Anvin wrote:
> Let me get this straight... "edd=skipmbr" boots fine, but commenting out
> the call to query_edd() didn't? Could you please try that (and, I
> guess, only that), and make sure everything necessary is rebuild.
>
> 2.6.23-*rc2* you
On Fri, Aug 10, 2007 at 12:32:39PM -0700, H. Peter Anvin wrote:
> Could you please describe your hardware configuration, in particular:
In http://marc.info/?l=linux-kernel=118661306932149=2 but here
again:
> - what BIOS are you using;
*-firmware
description: BIOS
On Fri, Aug 10, 2007 at 10:20:31PM +0300, Mikko Rapeli wrote:
> On Fri, Aug 10, 2007 at 09:45:31AM -0700, H. Peter Anvin wrote:
> > Let me get this straight... "edd=skipmbr" boots fine, but commenting out
> > the call to query_edd() didn't? Could you please try tha
On Fri, Aug 10, 2007 at 10:20:31PM +0300, Mikko Rapeli wrote:
> I've bisected thus far, if it helps:
Bisect came to this conclusion:
git-bisect start
# good: [4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4] lots-of-architectures:
enable arbitary speed tty support
git-bisect g
Is it possible re-enable more verbose kernel logs/printk's to default
console after boot is done from userspace?
I have a system with correct serial console setting on kernel command line
but there's 'quiet' as well to make the boot faster. After boot I'd like to
run some tests on the platform
On Tue, Oct 08, 2013 at 04:23:59PM +0300, Mikko Rapeli wrote:
> Is it possible re-enable more verbose kernel logs/printk's to default
> console after boot is done from userspace?
Ah, oops messages are printed to serial console also in 'quiet' mode.
Didn't took long to find out with t
er-list before ‘DECLARE_BITMAP’
1 expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘snd_seq_client_type_t’
1 #error "patchkey.h included directly"
1 drm.h: No such file or directory
1 ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function)
Signed-off
On Mon, Sep 04, 2017 at 07:15:11PM +0300, Dmitry V. Levin wrote:
> On Wed, Aug 09, 2017 at 02:25:54AM +0300, Dmitry V. Levin wrote:
> > On Sun, Aug 06, 2017 at 06:44:26PM +0200, Mikko Rapeli wrote:
> > > It is not needed and not part of uapi headers, but causes
> > > u
_sockaddr;
error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr’
With this following uapi headers now compile in user space:
rdma/rdma_user_rxe.h
linux/vm_sockets.h
linux/ncp_fs.h
linux/nfc.h
linux/phonet.h
Signed-off-by: Mikko Rapeli
Cc: net...@vger.kernel.org
Cc: Dmitry V. Levin
Fixes userspace compilation error:
error: unknown type name ‘size_t’
size_t bufsz;
Signed-off-by: Mikko Rapeli
Cc: ke...@lists.infradead.org
Cc: Eric Biederman
---
include/uapi/linux/kexec.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/kexec.h b
*/
^~~~
This approach for suggested by Frans Klaver
in lkml message
.
Signed-off-by: Mikko Rapeli
Cc: Frans Klaver
Cc: David Miller
---
include/uapi/linux/hdlc/ioctl.h | 17 +
include/uapi/linux/if.h | 23 ---
2 files changed, 25
Fixes userspace compilation error:
error: unknown type name ‘size_t’
Signed-off-by: Mikko Rapeli
Cc: linux-o...@vger.kernel.org
Cc: Tomi Valkeinen
Cc: Aaro Koskinen
---
include/uapi/linux/omapfb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/omapfb.h
Fixes userspace compilation errors about unknown pid_t, u_short etc types.
Signed-off-by: Mikko Rapeli
Cc: Jan Harkes
Cc: codal...@coda.cs.cmu.edu
---
include/uapi/linux/coda.h | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/coda.h b/include
’
Signed-off-by: Mikko Rapeli
Acked-by: Arnd Bergmann
Cc: H.J. Lu
Cc: H. Peter Anvin
---
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 7e9fb2f0853b..ae867ad1e5e4
401 - 500 of 960 matches
Mail list logo