Skip to contentSkip to conversation

sched_ext/selftests: Fix incorrect include guard comments

PATCH Applied Cheng-Yang Chou 2 participants 2 messages Mar 14

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched_ext/selftests: Fix incorrect include guard comments

Fix two mismatched closing comments in header include guards:

- util.h: closing comment says __SCX_TEST_H__ but the guard is __SCX_TEST_UTIL_H__
- exit_test.h: closing comment has a spurious '#' character before the guard name

---
 tools/testing/selftests/sched_ext/exit_test.h | 2 +-
 tools/testing/selftests/sched_ext/util.h      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/sched_ext/exit_test.h +1 -1
index 94f0268b9cb8..2723e0fda801 100644
@@ -17,4 +17,4 @@ enum exit_test_case {
 	NUM_EXITS,
 };
 
-#endif  // # __EXIT_TEST_H__
+#endif  // __EXIT_TEST_H__
tools/testing/selftests/sched_ext/util.h +1 -1
index bc13dfec1267..681cec04b439 100644
@@ -10,4 +10,4 @@
 long file_read_long(const char *path);
 int file_write_long(const char *path, long val);
 
-#endif // __SCX_TEST_H__
+#endif // __SCX_TEST_UTIL_H__
Signature · 1 line
2.48.1
reviewer Applied
#1 lore raw

Hello,

Applied to sched_ext/for-7.1.

Thanks.
--
tejun