All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf: Two small cleanups
@ 2023-02-02  6:31 Tiezhu Yang
  2023-02-02  6:31 ` [PATCH bpf-next 1/2] tools/bpf: Use tab instead of white spaces to sync bpf.h Tiezhu Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tiezhu Yang @ 2023-02-02  6:31 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko; +Cc: bpf, linux-kernel

Tiezhu Yang (2):
  tools/bpf: Use tab instead of white spaces to sync bpf.h
  selftests/bpf: Use semicolon instead of comma in test_verifier.c

 tools/include/uapi/linux/bpf.h              | 4 ++--
 tools/testing/selftests/bpf/test_verifier.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.1.0


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

* [PATCH bpf-next 1/2] tools/bpf: Use tab instead of white spaces to sync bpf.h
  2023-02-02  6:31 [PATCH bpf-next 0/2] bpf: Two small cleanups Tiezhu Yang
@ 2023-02-02  6:31 ` Tiezhu Yang
  2023-02-02  6:31 ` [PATCH bpf-next 2/2] selftests/bpf: Use semicolon instead of comma in test_verifier.c Tiezhu Yang
  2023-02-03  4:50 ` [PATCH bpf-next 0/2] bpf: Two small cleanups patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Tiezhu Yang @ 2023-02-02  6:31 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko; +Cc: bpf, linux-kernel

Just silence the following build warning:

Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 tools/include/uapi/linux/bpf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 7f024ac..ba0f0cf 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -5817,8 +5817,8 @@ enum {
 	BPF_F_ADJ_ROOM_ENCAP_L4_UDP	= (1ULL << 4),
 	BPF_F_ADJ_ROOM_NO_CSUM_RESET	= (1ULL << 5),
 	BPF_F_ADJ_ROOM_ENCAP_L2_ETH	= (1ULL << 6),
-	BPF_F_ADJ_ROOM_DECAP_L3_IPV4    = (1ULL << 7),
-	BPF_F_ADJ_ROOM_DECAP_L3_IPV6    = (1ULL << 8),
+	BPF_F_ADJ_ROOM_DECAP_L3_IPV4	= (1ULL << 7),
+	BPF_F_ADJ_ROOM_DECAP_L3_IPV6	= (1ULL << 8),
 };
 
 enum {
-- 
2.1.0


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

* [PATCH bpf-next 2/2] selftests/bpf: Use semicolon instead of comma in test_verifier.c
  2023-02-02  6:31 [PATCH bpf-next 0/2] bpf: Two small cleanups Tiezhu Yang
  2023-02-02  6:31 ` [PATCH bpf-next 1/2] tools/bpf: Use tab instead of white spaces to sync bpf.h Tiezhu Yang
@ 2023-02-02  6:31 ` Tiezhu Yang
  2023-02-03  4:50 ` [PATCH bpf-next 0/2] bpf: Two small cleanups patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Tiezhu Yang @ 2023-02-02  6:31 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko; +Cc: bpf, linux-kernel

Just silence the following checkpatch warning:

WARNING: Possible comma where semicolon could be used

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 tools/testing/selftests/bpf/test_verifier.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c
index 8c80855..887c49d 100644
--- a/tools/testing/selftests/bpf/test_verifier.c
+++ b/tools/testing/selftests/bpf/test_verifier.c
@@ -209,7 +209,7 @@ static void bpf_fill_ld_abs_vlan_push_pop(struct bpf_test *self)
 		insn[i++] = BPF_MOV64_IMM(BPF_REG_2, 1);
 		insn[i++] = BPF_MOV64_IMM(BPF_REG_3, 2);
 		insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0,
-					 BPF_FUNC_skb_vlan_push),
+					 BPF_FUNC_skb_vlan_push);
 		insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 3);
 		i++;
 	}
@@ -220,7 +220,7 @@ static void bpf_fill_ld_abs_vlan_push_pop(struct bpf_test *self)
 		i++;
 		insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_6);
 		insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0,
-					 BPF_FUNC_skb_vlan_pop),
+					 BPF_FUNC_skb_vlan_pop);
 		insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 3);
 		i++;
 	}
-- 
2.1.0


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

* Re: [PATCH bpf-next 0/2] bpf: Two small cleanups
  2023-02-02  6:31 [PATCH bpf-next 0/2] bpf: Two small cleanups Tiezhu Yang
  2023-02-02  6:31 ` [PATCH bpf-next 1/2] tools/bpf: Use tab instead of white spaces to sync bpf.h Tiezhu Yang
  2023-02-02  6:31 ` [PATCH bpf-next 2/2] selftests/bpf: Use semicolon instead of comma in test_verifier.c Tiezhu Yang
@ 2023-02-03  4:50 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-02-03  4:50 UTC (permalink / raw)
  To: Tiezhu Yang; +Cc: ast, daniel, andrii, bpf, linux-kernel

Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Thu,  2 Feb 2023 14:31:24 +0800 you wrote:
> Tiezhu Yang (2):
>   tools/bpf: Use tab instead of white spaces to sync bpf.h
>   selftests/bpf: Use semicolon instead of comma in test_verifier.c
> 
>  tools/include/uapi/linux/bpf.h              | 4 ++--
>  tools/testing/selftests/bpf/test_verifier.c | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
  - [bpf-next,1/2] tools/bpf: Use tab instead of white spaces to sync bpf.h
    https://git.kernel.org/bpf/bpf-next/c/e2bd9742989b
  - [bpf-next,2/2] selftests/bpf: Use semicolon instead of comma in test_verifier.c
    https://git.kernel.org/bpf/bpf-next/c/150809082aab

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] 4+ messages in thread

end of thread, other threads:[~2023-02-03  4:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02  6:31 [PATCH bpf-next 0/2] bpf: Two small cleanups Tiezhu Yang
2023-02-02  6:31 ` [PATCH bpf-next 1/2] tools/bpf: Use tab instead of white spaces to sync bpf.h Tiezhu Yang
2023-02-02  6:31 ` [PATCH bpf-next 2/2] selftests/bpf: Use semicolon instead of comma in test_verifier.c Tiezhu Yang
2023-02-03  4:50 ` [PATCH bpf-next 0/2] bpf: Two small cleanups 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.