Skip to content

Commit

Permalink
ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
Browse files Browse the repository at this point in the history
Fix argument list that the kdoc format and script verified in
ksmbd_vfs_kern_path_locked().

fs/smb/server/vfs.c:1207: warning: Function parameter or member 'parent_path'
not described in 'ksmbd_vfs_kern_path_locked'

Reported-by: kernel test robot <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
namjaejeon committed Nov 9, 2023
1 parent 4c64c23 commit 1bc2cbd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2735,9 +2735,10 @@ static int ksmbd_vfs_lookup_in_dir(const struct path *dir, char *name,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)
/**
* ksmbd_vfs_kern_path_locked() - lookup a file and get path info
* @name: file path that is relative to share
* @flags: lookup flags
* @path: if lookup succeed, return path info
* @name: file path that is relative to share
* @flags: lookup flags
* @parent_path: if lookup succeed, return parent_path info
* @path: if lookup succeed, return path info
* @caseless: caseless filename lookup
*
* Return: 0 on success, otherwise error
Expand Down

0 comments on commit 1bc2cbd

Please sign in to comment.