public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header
@ 2025-09-26  9:52 Jiapeng Chong
  2025-09-26  9:52 ` [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header Jiapeng Chong
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jiapeng Chong @ 2025-09-26  9:52 UTC (permalink / raw)
  To: qmo
  Cc: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, bpf, linux-kernel,
	Jiapeng Chong, Abaci Robot

./include/linux/bpf.h: crypto/sha2.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=25501
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
Changes in v2:
  -Combine two patches into a single patch series.

 include/linux/bpf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index ea2ed6771cc6..7dcdd287f9a0 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -32,7 +32,6 @@
 #include <linux/memcontrol.h>
 #include <linux/cfi.h>
 #include <asm/rqspinlock.h>
-#include <crypto/sha2.h>
 
 struct bpf_verifier_env;
 struct bpf_verifier_log;
-- 
2.43.5


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

* [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header
  2025-09-26  9:52 [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Jiapeng Chong
@ 2025-09-26  9:52 ` Jiapeng Chong
  2025-09-26 10:33   ` Quentin Monnet
  2025-09-26 10:33 ` [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Quentin Monnet
  2025-09-27 11:30 ` patchwork-bot+netdevbpf
  2 siblings, 1 reply; 5+ messages in thread
From: Jiapeng Chong @ 2025-09-26  9:52 UTC (permalink / raw)
  To: qmo
  Cc: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, bpf, linux-kernel,
	Jiapeng Chong, Abaci Robot

./tools/bpf/bpftool/sign.c: string.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=25502
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
Changes in v2:
  -Modify in the 'close' section
https://bugzilla.openanolis.cn/show_bug.cgi?id=25499 for
https://bugzilla.openanolis.cn/show_bug.cgi?id=25502.

 tools/bpf/bpftool/sign.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/bpf/bpftool/sign.c b/tools/bpf/bpftool/sign.c
index b29d825bb1d4..b34f74d210e9 100644
--- a/tools/bpf/bpftool/sign.c
+++ b/tools/bpf/bpftool/sign.c
@@ -11,7 +11,6 @@
 #include <stdint.h>
 #include <stdbool.h>
 #include <string.h>
-#include <string.h>
 #include <getopt.h>
 #include <err.h>
 #include <openssl/opensslv.h>
-- 
2.43.5


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

* Re: [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header
  2025-09-26  9:52 ` [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header Jiapeng Chong
@ 2025-09-26 10:33   ` Quentin Monnet
  0 siblings, 0 replies; 5+ messages in thread
From: Quentin Monnet @ 2025-09-26 10:33 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, bpf, linux-kernel,
	Abaci Robot

2025-09-26 17:52 UTC+0800 ~ Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ./tools/bpf/bpftool/sign.c: string.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=25502
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>


Acked-by: Quentin Monnet <qmo@kernel.org>

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

* Re: [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header
  2025-09-26  9:52 [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Jiapeng Chong
  2025-09-26  9:52 ` [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header Jiapeng Chong
@ 2025-09-26 10:33 ` Quentin Monnet
  2025-09-27 11:30 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 5+ messages in thread
From: Quentin Monnet @ 2025-09-26 10:33 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: ast, daniel, andrii, martin.lau, eddyz87, song, yonghong.song,
	john.fastabend, kpsingh, sdf, haoluo, jolsa, bpf, linux-kernel,
	Abaci Robot

2025-09-26 17:52 UTC+0800 ~ Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ./include/linux/bpf.h: crypto/sha2.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=25501
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>


Acked-by: Quentin Monnet <qmo@kernel.org>

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

* Re: [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header
  2025-09-26  9:52 [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Jiapeng Chong
  2025-09-26  9:52 ` [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header Jiapeng Chong
  2025-09-26 10:33 ` [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Quentin Monnet
@ 2025-09-27 11:30 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-09-27 11:30 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: qmo, ast, daniel, andrii, martin.lau, eddyz87, song,
	yonghong.song, john.fastabend, kpsingh, sdf, haoluo, jolsa, bpf,
	linux-kernel, abaci

Hello:

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

On Fri, 26 Sep 2025 17:52:39 +0800 you wrote:
> ./include/linux/bpf.h: crypto/sha2.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=25501
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
> Changes in v2:
>   -Combine two patches into a single patch series.
> 
> [...]

Here is the summary with links:
  - [-next,v2,1/2] bpf: Remove duplicate crypto/sha2.h header
    https://git.kernel.org/bpf/bpf-next/c/87608c2a7718
  - [-next,v2,2/2] bpftool: Remove duplicate string.h header
    https://git.kernel.org/bpf/bpf-next/c/4b2113413e76

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

end of thread, other threads:[~2025-09-27 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-26  9:52 [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Jiapeng Chong
2025-09-26  9:52 ` [PATCH -next v2 2/2] bpftool: Remove duplicate string.h header Jiapeng Chong
2025-09-26 10:33   ` Quentin Monnet
2025-09-26 10:33 ` [PATCH -next v2 1/2] bpf: Remove duplicate crypto/sha2.h header Quentin Monnet
2025-09-27 11:30 ` 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