Skip to contentSkip to conversation

cifs: fix doc warnings in cifs_dfs_ref.c

PATCH Applied Baokun Li 2 participants 2 messages Jun 10, 2021 – Jun 13, 2021

Subsystems (2)
lore
Share & tools
lore

Baokun Li

author
#0 lore raw

PATCH 1/1 cifs: fix doc warnings in cifs_dfs_ref.c

Add description for cifs_compose_mount_options to fix the W=1 warnings:

fs/cifs/cifs_dfs_ref.c:139: warning: Function parameter or
member 'devname' not described in 'cifs_compose_mount_options'

---
 fs/cifs/cifs_dfs_ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/cifs_dfs_ref.c +1 -1
index c87c37cf2914..ec57cdb1590f 100644
@@ -125,7 +125,7 @@ cifs_build_devname(char *nodename, const char *prepath)
  * @sb_mountdata:	parent/root DFS mount options (template)
  * @fullpath:		full path in UNC format
  * @ref:		optional server's referral
- *
+ * @devname:		return the built cifs device name if passed pointer not NULL
  * creates mount options for submount based on template options sb_mountdata
  * and replacing unc,ip,prefixpath options with ones we've got form ref_unc.
  *
Signature · 1 line
2.31.1
Applied
#1 lore raw

merged into cifs-2.6.git for-next

Quoted 27 lines · Baokun Li

Add description for cifs_compose_mount_options to fix the W=1 warnings:

fs/cifs/cifs_dfs_ref.c:139: warning: Function parameter or
member 'devname' not described in 'cifs_compose_mount_options'

---
 fs/cifs/cifs_dfs_ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/cifs_dfs_ref.c +1 -2
index c87c37cf2914..ec57cdb1590f 100644
@@ -125,7 +125,7 @@ cifs_build_devname(char *nodename, const char *prepath)
  * @sb_mountdata:      parent/root DFS mount options (template)
  * @fullpath:          full path in UNC format
  * @ref:               optional server's referral
- *
+ * @devname:           return the built cifs device name if passed pointer not NULL
  * creates mount options for submount based on template options sb_mountdata
  * and replacing unc,ip,prefixpath options with ones we've got form ref_unc.
  *
--

2.31.1

Signature · 3 lines
Thanks,

Steve