selftests/sched: fix code format issues
authoraigourensheng <shechenglong001@gmail.com>
Tue, 11 Jun 2024 05:18:34 +0000 (01:18 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 11 Jul 2024 17:23:53 +0000 (11:23 -0600)
There are extra spaces in the middle of #define. It is recommended
to delete the spaces to make the code look more comfortable.

Signed-off-by: aigourensheng <shechenglong001@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/sched/cs_prctl_test.c

index 62fba7356af2ef0e8e824209f668ba6e8dce6a62..52d97fae4dbd89a1d11c1fd6dbdbced0316a418e 100644 (file)
@@ -42,11 +42,11 @@ static pid_t gettid(void)
 
 #ifndef PR_SCHED_CORE
 #define PR_SCHED_CORE                  62
-# define PR_SCHED_CORE_GET             0
-# define PR_SCHED_CORE_CREATE          1 /* create unique core_sched cookie */
-# define PR_SCHED_CORE_SHARE_TO                2 /* push core_sched cookie to pid */
-# define PR_SCHED_CORE_SHARE_FROM      3 /* pull core_sched cookie to pid */
-# define PR_SCHED_CORE_MAX             4
+#define PR_SCHED_CORE_GET              0
+#define PR_SCHED_CORE_CREATE           1 /* create unique core_sched cookie */
+#define PR_SCHED_CORE_SHARE_TO         2 /* push core_sched cookie to pid */
+#define PR_SCHED_CORE_SHARE_FROM       3 /* pull core_sched cookie to pid */
+#define PR_SCHED_CORE_MAX              4
 #endif
 
 #define MAX_PROCESSES 128