Skip to contentSkip to conversation

fs/handle.c - fix up kerneldoc

PATCH RESEND Applied Valdis Klētnieks 2 participants 2 messages Aug 7, 2019 – Aug 8, 2019

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

PATCH RESEND 1/1 fs/handle.c - fix up kerneldoc

When building with W=1, we get some kerneldoc warnings:

CC fs/fhandle.o
fs/fhandle.c:259: warning: Function parameter or member 'flags' not described in 'sys_open_by_handle_at' fs/fhandle.c:259: warning: Excess function parameter 'flag' description in 'sys_open_by_handle_at'

Fix the typo that caused it.

fs/fhandle.c +1 -1
index 0ee727485615..01263ffbc4c0 100644
@@ -246,7 +246,7 @@ static long do_handle_open(int mountdirfd, struct file_handle __user *ufh,
  * sys_open_by_handle_at: Open the file handle
  * @mountdirfd: directory file descriptor
  * @handle: file handle to be opened
- * @flag: open flags.
+ * @flags: open flags.
  *
  * @mountdirfd indicate the directory file descriptor
  * of the mount point. file handle is decoded relative
maintainer Applied
#1 lore raw
Quoted 9 lines · Valdis Klētnieks

When building with W=1, we get some kerneldoc warnings:

CC fs/fhandle.o
fs/fhandle.c:259: warning: Function parameter or member 'flags' not described in 'sys_open_by_handle_at' fs/fhandle.c:259: warning: Excess function parameter 'flag' description in 'sys_open_by_handle_at'

Fix the typo that caused it.

Applied.