Skip to content

Commit c575689

Browse files
committed
posix-timers: Comment SIGEV_THREAD_ID properly
Replace the word salad. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/r/20230425183313.672220780@linutronix.de
1 parent 52f090b commit c575689

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

kernel/time/posix-timers.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,9 @@ static const struct k_clock * const posix_clocks[];
5353
static const struct k_clock *clockid_to_kclock(const clockid_t id);
5454
static const struct k_clock clock_realtime, clock_monotonic;
5555

56-
/*
57-
* we assume that the new SIGEV_THREAD_ID shares no bits with the other
58-
* SIGEV values. Here we put out an error if this assumption fails.
59-
*/
56+
/* SIGEV_THREAD_ID cannot share a bit with the other SIGEV values. */
6057
#if SIGEV_THREAD_ID != (SIGEV_THREAD_ID & \
61-
~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD))
58+
~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD))
6259
#error "SIGEV_THREAD_ID must not share bit with other SIGEV values!"
6360
#endif
6461

0 commit comments

Comments
 (0)