tools/testing/selftests/sched_ext/hotplug.c | 1 - 1 file changed, 1 deletion(-)
./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
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
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 >
© 2016 - 2025 Red Hat, Inc.