* [PATCH] bpf: remove unused including <linux/version.h>
@ 2020-12-16 2:47 Tian Tao
2020-12-17 0:16 ` Andrii Nakryiko
2020-12-18 15:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Tian Tao @ 2020-12-16 2:47 UTC (permalink / raw)
To: ast, daniel, kafai, songliubraving, yhs, andrii, john.fastabend,
kpsingh, davem, kuba, hawk
Cc: netdev, bpf
Remove including <linux/version.h> that don't need it.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
kernel/bpf/syscall.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c
index 4caf06f..c3bb03c8 100644
--- a/kernel/bpf/syscall.c
+++ b/kernel/bpf/syscall.c
@@ -17,7 +17,6 @@
#include <linux/fs.h>
#include <linux/license.h>
#include <linux/filter.h>
-#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/idr.h>
#include <linux/cred.h>
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] bpf: remove unused including <linux/version.h>
2020-12-16 2:47 [PATCH] bpf: remove unused including <linux/version.h> Tian Tao
@ 2020-12-17 0:16 ` Andrii Nakryiko
2020-12-18 15:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrii Nakryiko @ 2020-12-17 0:16 UTC (permalink / raw)
To: Tian Tao
Cc: Alexei Starovoitov, Daniel Borkmann, Martin Lau, Song Liu,
Yonghong Song, Andrii Nakryiko, john fastabend, KP Singh,
David S. Miller, Jakub Kicinski, Jesper Dangaard Brouer,
Networking, bpf
On Tue, Dec 15, 2020 at 6:47 PM Tian Tao <tiantao6@hisilicon.com> wrote:
>
> Remove including <linux/version.h> that don't need it.
>
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
> ---
> kernel/bpf/syscall.c | 1 -
> 1 file changed, 1 deletion(-)
>
Probably a left over since times kprobe programs were required to
specify expected kernel version.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
> diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c
> index 4caf06f..c3bb03c8 100644
> --- a/kernel/bpf/syscall.c
> +++ b/kernel/bpf/syscall.c
> @@ -17,7 +17,6 @@
> #include <linux/fs.h>
> #include <linux/license.h>
> #include <linux/filter.h>
> -#include <linux/version.h>
> #include <linux/kernel.h>
> #include <linux/idr.h>
> #include <linux/cred.h>
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bpf: remove unused including <linux/version.h>
2020-12-16 2:47 [PATCH] bpf: remove unused including <linux/version.h> Tian Tao
2020-12-17 0:16 ` Andrii Nakryiko
@ 2020-12-18 15:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2020-12-18 15:30 UTC (permalink / raw)
To: Tian Tao
Cc: ast, daniel, kafai, songliubraving, yhs, andrii, john.fastabend,
kpsingh, davem, kuba, hawk, netdev, bpf
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Wed, 16 Dec 2020 10:47:15 +0800 you wrote:
> Remove including <linux/version.h> that don't need it.
>
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
> ---
> kernel/bpf/syscall.c | 1 -
> 1 file changed, 1 deletion(-)
Here is the summary with links:
- bpf: remove unused including <linux/version.h>
https://git.kernel.org/bpf/bpf/c/d467d80dc399
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-18 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 2:47 [PATCH] bpf: remove unused including <linux/version.h> Tian Tao
2020-12-17 0:16 ` Andrii Nakryiko
2020-12-18 15:30 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.