netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ia64: tools: add generic errno.h definition
@ 2021-03-12  7:51 Sergei Trofimovich
  2021-03-27 10:18 ` Sergei Trofimovich
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Trofimovich @ 2021-03-12  7:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sergei Trofimovich, netdev, bpf

Noticed missing header when build bpfilter helper:

    CC [U]  net/bpfilter/main.o
  In file included from /usr/include/linux/errno.h:1,
                   from /usr/include/bits/errno.h:26,
                   from /usr/include/errno.h:28,
                   from net/bpfilter/main.c:4:
  tools/include/uapi/asm/errno.h:13:10: fatal error:
    ../../../arch/ia64/include/uapi/asm/errno.h: No such file or directory
     13 | #include "../../../arch/ia64/include/uapi/asm/errno.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CC: linux-kernel@vger.kernel.org
CC: netdev@vger.kernel.org
CC: bpf@vger.kernel.org
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 tools/arch/ia64/include/uapi/asm/errno.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/arch/ia64/include/uapi/asm/errno.h

diff --git a/tools/arch/ia64/include/uapi/asm/errno.h b/tools/arch/ia64/include/uapi/asm/errno.h
new file mode 100644
index 000000000000..4c82b503d92f
--- /dev/null
+++ b/tools/arch/ia64/include/uapi/asm/errno.h
@@ -0,0 +1 @@
+#include <asm-generic/errno.h>
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ia64: tools: add generic errno.h definition
  2021-03-12  7:51 [PATCH] ia64: tools: add generic errno.h definition Sergei Trofimovich
@ 2021-03-27 10:18 ` Sergei Trofimovich
  2021-03-28 23:56   ` Sergei Trofimovich
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Trofimovich @ 2021-03-27 10:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev, bpf

On Fri, Mar 12, 2021 at 07:51:35AM +0000, Sergei Trofimovich wrote:
> Noticed missing header when build bpfilter helper:
> 
>     CC [U]  net/bpfilter/main.o
>   In file included from /usr/include/linux/errno.h:1,
>                    from /usr/include/bits/errno.h:26,
>                    from /usr/include/errno.h:28,
>                    from net/bpfilter/main.c:4:
>   tools/include/uapi/asm/errno.h:13:10: fatal error:
>     ../../../arch/ia64/include/uapi/asm/errno.h: No such file or directory
>      13 | #include "../../../arch/ia64/include/uapi/asm/errno.h"
>         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> CC: linux-kernel@vger.kernel.org
> CC: netdev@vger.kernel.org
> CC: bpf@vger.kernel.org
> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

Any chance to pick it up?

Thanks!

> ---
>  tools/arch/ia64/include/uapi/asm/errno.h | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 tools/arch/ia64/include/uapi/asm/errno.h
> 
> diff --git a/tools/arch/ia64/include/uapi/asm/errno.h b/tools/arch/ia64/include/uapi/asm/errno.h
> new file mode 100644
> index 000000000000..4c82b503d92f
> --- /dev/null
> +++ b/tools/arch/ia64/include/uapi/asm/errno.h
> @@ -0,0 +1 @@
> +#include <asm-generic/errno.h>
> -- 
> 2.30.2
> 

-- 

  Sergei

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ia64: tools: add generic errno.h definition
  2021-03-27 10:18 ` Sergei Trofimovich
@ 2021-03-28 23:56   ` Sergei Trofimovich
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2021-03-28 23:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev, bpf

On Sat, 27 Mar 2021 10:18:18 +0000
Sergei Trofimovich <slyfox@gentoo.org> wrote:

> On Fri, Mar 12, 2021 at 07:51:35AM +0000, Sergei Trofimovich wrote:
> > Noticed missing header when build bpfilter helper:
> > 
> >     CC [U]  net/bpfilter/main.o
> >   In file included from /usr/include/linux/errno.h:1,
> >                    from /usr/include/bits/errno.h:26,
> >                    from /usr/include/errno.h:28,
> >                    from net/bpfilter/main.c:4:
> >   tools/include/uapi/asm/errno.h:13:10: fatal error:
> >     ../../../arch/ia64/include/uapi/asm/errno.h: No such file or directory
> >      13 | #include "../../../arch/ia64/include/uapi/asm/errno.h"
> >         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 
> > CC: linux-kernel@vger.kernel.org
> > CC: netdev@vger.kernel.org
> > CC: bpf@vger.kernel.org
> > Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>  
> 
> Any chance to pick it up?

Alternative (and nicer) patch is queued in -mm as:
    https://www.ozlabs.org/~akpm/mmotm/broken-out/ia64-tools-remove-inclusion-of-ia64-specific-version-of-errnoh-header.patch

-- 

  Sergei

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-28 23:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12  7:51 [PATCH] ia64: tools: add generic errno.h definition Sergei Trofimovich
2021-03-27 10:18 ` Sergei Trofimovich
2021-03-28 23:56   ` Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).