mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] posix-timers: clean up kernel-doc warnings
@ 2026-07-20  3:12 Randy Dunlap
  2026-07-20  3:12 ` [PATCH 2/2] posix-cpu-timers: avoid " Randy Dunlap
  2026-07-20 14:07 ` [tip: timers/core] posix-timers: Clean up " tip-bot2 for Randy Dunlap
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2026-07-20  3:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Anna-Maria Behnsen, Frederic Weisbecker, Thomas Gleixner

Use the struct keyword when describing a struct.
Add missing kernel-doc for @it_pid_type.

Warning: ./include/linux/posix-timers.h:58 cannot understand
 function prototype: 'struct cpu_timer'
Warning: ./include/linux/posix-timers.h:222 struct member
 'it_pid_type' not described in 'k_itimer'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Anna-Maria Behnsen <anna-maria@linutronix.de>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Thomas Gleixner <tglx@kernel.org>

 include/linux/posix-timers.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-next-20260717.orig/include/linux/posix-timers.h
+++ linux-next-20260717/include/linux/posix-timers.h
@@ -47,7 +47,7 @@ static inline bool clockid_aux_valid(clo
 #include <linux/signal_types.h>
 
 /**
- * cpu_timer - Posix CPU timer representation for k_itimer
+ * struct cpu_timer - Posix CPU timer representation for k_itimer
  * @node:	timerqueue node to queue in the task/sig
  * @head:	timerqueue head on which this timer is queued
  * @pid:	Pointer to target task PID
@@ -174,6 +174,7 @@ static inline void posix_cputimers_init_
  * @it_sigqueue_seq:	The sequence count at the point where the signal was queued
  * @it_sigev_notify:	The notify word of sigevent struct for signal delivery
  * @it_interval:	The interval for periodic timers
+ * @it_pid_type:	The type of the PID
  * @it_signal:		Pointer to the creators signal struct
  * @it_pid:		The pid of the process/task targeted by the signal
  * @it_process:		The task to wakeup on clock_nanosleep (CPU timers)

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

end of thread, other threads:[~2026-07-20 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20  3:12 [PATCH 1/2] posix-timers: clean up kernel-doc warnings Randy Dunlap
2026-07-20  3:12 ` [PATCH 2/2] posix-cpu-timers: avoid " Randy Dunlap
2026-07-20 14:07   ` [tip: timers/core] posix-cpu-timers: Avoid " tip-bot2 for Randy Dunlap
2026-07-20 14:07 ` [tip: timers/core] posix-timers: Clean up " tip-bot2 for Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®