Skip to contentSkip to conversation

sched: fix a kerneldoc error on is_init()

PATCH New Henne 1 participant 1 message Oct 5, 2006 Scheduler

lore
Share & tools
lore

Henne

author
#0 lore raw

PATCH 1/1 sched: fix a kerneldoc error on is_init()

Fix a kerneldoc warning and reorderd the description for is_init().

---

 sched.h |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
include/linux/sched.h +4 -3
index 331f450..6735c1c 100644
@@ -1065,9 +1065,10 @@ static inline int pid_alive(struct task_
 }
 
 /**
- * is_init - check if a task structure is the first user space
- *	     task the kernel created.
- * @p: Task structure to be checked.
+ * is_init - check if a task structure is init
+ * @tsk: Task structure to be checked.
+ *
+ * Check if a task structure is the first user space task the kernel created.
  */
 static inline int is_init(struct task_struct *tsk)
 {