linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header
@ 2025-07-25  9:04 Jiapeng Chong
  2025-07-25 11:36 ` Andrea Righi
  2025-08-11 18:24 ` Tejun Heo
  0 siblings, 2 replies; 3+ messages in thread
From: Jiapeng Chong @ 2025-07-25  9:04 UTC (permalink / raw)
  To: tj
  Cc: void, arighi, changwoo, shuah, sched-ext, linux-kselftest,
	linux-kernel, Jiapeng Chong, Abaci Robot

./tools/testing/selftests/sched_ext/hotplug.c: sched.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22941
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 tools/testing/selftests/sched_ext/hotplug.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/sched_ext/hotplug.c b/tools/testing/selftests/sched_ext/hotplug.c
index 1c9ceb661c43..0cfbb111a2d0 100644
--- a/tools/testing/selftests/sched_ext/hotplug.c
+++ b/tools/testing/selftests/sched_ext/hotplug.c
@@ -6,7 +6,6 @@
 #include <bpf/bpf.h>
 #include <sched.h>
 #include <scx/common.h>
-#include <sched.h>
 #include <sys/wait.h>
 #include <unistd.h>
 
-- 
2.43.5


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

* Re: [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header
  2025-07-25  9:04 [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header Jiapeng Chong
@ 2025-07-25 11:36 ` Andrea Righi
  2025-08-11 18:24 ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Andrea Righi @ 2025-07-25 11:36 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: tj, void, changwoo, shuah, sched-ext, linux-kselftest,
	linux-kernel, Abaci Robot

On Fri, Jul 25, 2025 at 05:04:12PM +0800, Jiapeng Chong wrote:
> ./tools/testing/selftests/sched_ext/hotplug.c: sched.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22941
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Acked-by: Andrea Righi <arighi@nvidia.com>

Thanks for the cleanup.

-Andrea

> ---
>  tools/testing/selftests/sched_ext/hotplug.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/sched_ext/hotplug.c b/tools/testing/selftests/sched_ext/hotplug.c
> index 1c9ceb661c43..0cfbb111a2d0 100644
> --- a/tools/testing/selftests/sched_ext/hotplug.c
> +++ b/tools/testing/selftests/sched_ext/hotplug.c
> @@ -6,7 +6,6 @@
>  #include <bpf/bpf.h>
>  #include <sched.h>
>  #include <scx/common.h>
> -#include <sched.h>
>  #include <sys/wait.h>
>  #include <unistd.h>
>  
> -- 
> 2.43.5
> 

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

* Re: [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header
  2025-07-25  9:04 [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header Jiapeng Chong
  2025-07-25 11:36 ` Andrea Righi
@ 2025-08-11 18:24 ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2025-08-11 18:24 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: void, arighi, changwoo, shuah, sched-ext, linux-kselftest,
	linux-kernel, Abaci Robot

On Fri, Jul 25, 2025 at 05:04:12PM +0800, Jiapeng Chong wrote:
> ./tools/testing/selftests/sched_ext/hotplug.c: sched.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22941
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Applied to sched_ext/for-6.17-fixes.

Thanks.

-- 
tejun

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

end of thread, other threads:[~2025-08-11 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-25  9:04 [PATCH -next] selftests/sched_ext: Remove duplicate sched.h header Jiapeng Chong
2025-07-25 11:36 ` Andrea Righi
2025-08-11 18:24 ` Tejun Heo

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).