Re: [PATCH] devlink: fix libc and kernel headers collision

2019-06-04 Thread Baruch Siach
Hi Stephen, On Tue, Jun 04 2019, Stephen Hemminger wrote: > On Thu, 30 May 2019 18:32:27 +0300 > Baruch Siach wrote: > >> Since commit 2f1242efe9d ("devlink: Add devlink health show command") we >> use the sys/sysinfo.h header for the sysinfo(2) system call. But since >> iproute2 carries a local

Re: [PATCH] devlink: fix libc and kernel headers collision

2019-06-04 Thread Stephen Hemminger
On Thu, 30 May 2019 18:32:27 +0300 Baruch Siach wrote: > Since commit 2f1242efe9d ("devlink: Add devlink health show command") we > use the sys/sysinfo.h header for the sysinfo(2) system call. But since > iproute2 carries a local version of the kernel struct sysinfo, this > causes a collision wit

Re: [PATCH] devlink: fix libc and kernel headers collision

2019-06-04 Thread Stephen Hemminger
On Thu, 30 May 2019 18:32:27 +0300 Baruch Siach wrote: > Since commit 2f1242efe9d ("devlink: Add devlink health show command") we > use the sys/sysinfo.h header for the sysinfo(2) system call. But since > iproute2 carries a local version of the kernel struct sysinfo, this > causes a collision wit

Re: [PATCH] devlink: fix libc and kernel headers collision

2019-06-03 Thread Petr Vorel
Hi, > Since commit 2f1242efe9d ("devlink: Add devlink health show command") we > use the sys/sysinfo.h header for the sysinfo(2) system call. But since > iproute2 carries a local version of the kernel struct sysinfo, this > causes a collision with libc that do not rely on kernel defined sysinfo >

Re: [PATCH] devlink: fix libc and kernel headers collision

2019-06-02 Thread Jiri Pirko
Thu, May 30, 2019 at 05:32:27PM CEST, bar...@tkos.co.il wrote: >Since commit 2f1242efe9d ("devlink: Add devlink health show command") we >use the sys/sysinfo.h header for the sysinfo(2) system call. But since >iproute2 carries a local version of the kernel struct sysinfo, this >causes a collision w

[PATCH] devlink: fix libc and kernel headers collision

2019-05-30 Thread Baruch Siach
Since commit 2f1242efe9d ("devlink: Add devlink health show command") we use the sys/sysinfo.h header for the sysinfo(2) system call. But since iproute2 carries a local version of the kernel struct sysinfo, this causes a collision with libc that do not rely on kernel defined sysinfo like musl libc: