Re: [PATCH v1 1/3] uapi: introduce kernel uAPI headers import

2024-10-25 Thread Maxime Coquelin
On 10/24/24 18:14, Stephen Hemminger wrote: On Thu, 24 Oct 2024 14:45:10 +0200 Maxime Coquelin wrote: Rather than copy-pasting headers_install.sh, could you use it directly? The copy/paste from GPL-2.0 concerns me. And the potential upstream change as well. The downside I see by cal

Re: [PATCH v1 1/3] uapi: introduce kernel uAPI headers import

2024-10-25 Thread Maxime Coquelin
On 10/14/24 14:14, Maxime Coquelin wrote: On 10/9/24 16:50, Stephen Hemminger wrote: On Wed,  9 Oct 2024 10:58:03 +0200 Maxime Coquelin wrote: +fixup_includes() +{ +    local path=$1 + +    sed -i -E -e ' +    s/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g +    s/__attribute_co

Re: [PATCH v1 1/3] uapi: introduce kernel uAPI headers import

2024-10-24 Thread Stephen Hemminger
On Thu, 24 Oct 2024 14:45:10 +0200 Maxime Coquelin wrote: > >> > >> > >> Rather than copy-pasting headers_install.sh, could you use it directly? > >> > >> The copy/paste from GPL-2.0 concerns me. > >> And the potential upstream change as well. > >> > > > > The downside I see by calling directl

Re: [PATCH v1 1/3] uapi: introduce kernel uAPI headers import

2024-10-14 Thread Maxime Coquelin
On 10/9/24 16:50, Stephen Hemminger wrote: On Wed, 9 Oct 2024 10:58:03 +0200 Maxime Coquelin wrote: +fixup_includes() +{ + local path=$1 + + sed -i -E -e ' + s/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g + s/__attribute_const__([[:space:]]|$)/\1/g +

Re: [PATCH v1 1/3] uapi: introduce kernel uAPI headers import

2024-10-09 Thread Stephen Hemminger
On Wed, 9 Oct 2024 10:58:03 +0200 Maxime Coquelin wrote: > +fixup_includes() > +{ > + local path=$1 > + > + sed -i -E -e ' > + s/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g > + s/__attribute_const__([[:space:]]|$)/\1/g > + s@^#include @@ > + > s/(^|[^a-zA-Z0-9

[PATCH v1 1/3] uapi: introduce kernel uAPI headers import

2024-10-09 Thread Maxime Coquelin
This patch introduces uAPI headers import into the DPDK repository. This import is possible thanks to Linux Kernel licence exception for syscalls: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/LICENSES/exceptions/Linux-syscall-note Header files have to be explicitly impo