linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] futex: fix kernel-doc notation warning
@ 2019-12-09  4:26 Randy Dunlap
  2020-01-09 12:28 ` [tip: locking/urgent] futex: Fix " tip-bot2 for Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2019-12-09  4:26 UTC (permalink / raw)
  To: LKML, Thomas Gleixner, Ingo Molnar; +Cc: Peter Zijlstra, Darren Hart

From: Randy Dunlap <rdunlap@infradead.org>

Fix a kernel-doc warning in kernel/futex.c by adding notation
for @ret.

../kernel/futex.c:1187: warning: Function parameter or member 'ret' not described in 'wait_for_owner_exiting'

Fixes: 3ef240eaff36 ("futex: Prevent exit livelock")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Darren Hart <dvhart@infradead.org>
---
 kernel/futex.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20191209.orig/kernel/futex.c
+++ linux-next-20191209/kernel/futex.c
@@ -1178,6 +1178,7 @@ out_error:
 
 /**
  * wait_for_owner_exiting - Block until the owner has exited
+ * @ret: owner's current futex lock status
  * @exiting:	Pointer to the exiting task
  *
  * Caller must hold a refcount on @exiting.



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

* [tip: locking/urgent] futex: Fix kernel-doc notation warning
  2019-12-09  4:26 [PATCH] futex: fix kernel-doc notation warning Randy Dunlap
@ 2020-01-09 12:28 ` tip-bot2 for Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Randy Dunlap @ 2020-01-09 12:28 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Randy Dunlap, Thomas Gleixner, x86, LKML

The following commit has been merged into the locking/urgent branch of tip:

Commit-ID:     51bfb1d11d6daf095addf9fe8471c20992caae0b
Gitweb:        https://git.kernel.org/tip/51bfb1d11d6daf095addf9fe8471c20992caae0b
Author:        Randy Dunlap <rdunlap@infradead.org>
AuthorDate:    Sun, 08 Dec 2019 20:26:55 -08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 09 Jan 2020 13:23:40 +01:00

futex: Fix kernel-doc notation warning

Fix a kernel-doc warning in kernel/futex.c by adding notation
for @ret.

../kernel/futex.c:1187: warning: Function parameter or member 'ret' not described in 'wait_for_owner_exiting'

Fixes: 3ef240eaff36 ("futex: Prevent exit livelock")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/223be78c-f3c8-52df-836d-c5fb8e7907e9@infradead.org

---
 kernel/futex.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/futex.c b/kernel/futex.c
index 03c518e..0cf84c8 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -1178,6 +1178,7 @@ out_error:
 
 /**
  * wait_for_owner_exiting - Block until the owner has exited
+ * @ret: owner's current futex lock status
  * @exiting:	Pointer to the exiting task
  *
  * Caller must hold a refcount on @exiting.

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

end of thread, other threads:[~2020-01-09 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09  4:26 [PATCH] futex: fix kernel-doc notation warning Randy Dunlap
2020-01-09 12:28 ` [tip: locking/urgent] futex: Fix " 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;
as well as URLs for NNTP newsgroup(s).