Skip to contentSkip to conversation

fs: fix fs/locks.c kernel-doc warning

PATCH In review Randy Dunlap 2 participants 2 messages Aug 10, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: fix fs/locks.c kernel-doc warning

From: Randy Dunlap <[email protected]>

Fix kernel-doc warnings in fs/locks.c:

Warning(..//fs/locks.c:1577): No description found for parameter 'flags'

---
 fs/locks.c |    1 +
 1 file changed, 1 insertion(+)
fs/locks.c +1 -0
@@ -1568,6 +1568,7 @@ int fcntl_getlease(struct file *filp)
  * 			    desired lease.
  * @dentry:	dentry to check
  * @arg:	type of lease that we're trying to acquire
+ * @flags:	current lock flags
  *
  * Check to see if there's an existing open fd on this file that would
  * conflict with the lease we're trying to set.
#1 lore raw
Quoted 14 lines · On Sun, 9 Aug 2015 18:43:17 -0700 Randy Dunlap <[email protected]> wrote:

From: Randy Dunlap <[email protected]>

Fix kernel-doc warnings in fs/locks.c:

Warning(..//fs/locks.c:1577): No description found for parameter 'flags'

---
 fs/locks.c |    1 +
 1 file changed, 1 insertion(+)

fs/locks.c int fcntl_getlease(struct file *filp) · line 1574

Quoted 7 lines
fs/locks.c +1 -0
@@ -1568,6 +1568,7 @@ int fcntl_getlease(struct file *filp)
  * 			    desired lease.
  * @dentry:	dentry to check
  * @arg:	type of lease that we're trying to acquire
+ * @flags:	current lock flags
  *
  * Check to see if there's an existing open fd on this file that would
  * conflict with the lease we're trying to set.

Merged for v4.3.

Thanks!

Signature · 1 line
Jeff Layton <[email protected]>