* [PATCH] bpf: Remove unnecessary <argp.h> include from preload/iterators
@ 2020-12-16 10:03 Leah Neukirchen
2020-12-28 18:29 ` Song Liu
2020-12-29 14:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Leah Neukirchen @ 2020-12-16 10:03 UTC (permalink / raw)
To: bpf; +Cc: Kunihiko Hayashi, David S. Miller, linux-kernel, leah
This program does not use argp (which is a glibcism).
Instead include <errno.h> directly, which was pulled in by <argp.h>.
Signed-off-by: Leah Neukirchen <leah@vuxu.org>
---
kernel/bpf/preload/iterators/iterators.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/bpf/preload/iterators/iterators.c b/kernel/bpf/preload/iterators/iterators.c
index b7ff8793917..5d872a70547 100644
--- a/kernel/bpf/preload/iterators/iterators.c
+++ b/kernel/bpf/preload/iterators/iterators.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2020 Facebook */
-#include <argp.h>
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] bpf: Remove unnecessary <argp.h> include from preload/iterators
2020-12-16 10:03 [PATCH] bpf: Remove unnecessary <argp.h> include from preload/iterators Leah Neukirchen
@ 2020-12-28 18:29 ` Song Liu
2020-12-29 14:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Song Liu @ 2020-12-28 18:29 UTC (permalink / raw)
To: bpf, Leah Neukirchen; +Cc: Song Liu
Acked-by: Song Liu <songliubraving@fb.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bpf: Remove unnecessary <argp.h> include from preload/iterators
2020-12-16 10:03 [PATCH] bpf: Remove unnecessary <argp.h> include from preload/iterators Leah Neukirchen
2020-12-28 18:29 ` Song Liu
@ 2020-12-29 14:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2020-12-29 14:20 UTC (permalink / raw)
To: Leah Neukirchen; +Cc: bpf, hayashi.kunihiko, davem, linux-kernel
Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
On Wed, 16 Dec 2020 11:03:06 +0100 you wrote:
> This program does not use argp (which is a glibcism).
> Instead include <errno.h> directly, which was pulled in by <argp.h>.
>
> Signed-off-by: Leah Neukirchen <leah@vuxu.org>
> ---
> kernel/bpf/preload/iterators/iterators.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- bpf: Remove unnecessary <argp.h> include from preload/iterators
https://git.kernel.org/bpf/bpf-next/c/1bcf3a740aa5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-29 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 10:03 [PATCH] bpf: Remove unnecessary <argp.h> include from preload/iterators Leah Neukirchen
2020-12-28 18:29 ` Song Liu
2020-12-29 14:20 ` patchwork-bot+netdevbpf
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).