linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] cifs: fix doc warnings in cifs_dfs_ref.c
@ 2021-06-10 11:48 Baokun Li
  2021-06-13 23:35 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Baokun Li @ 2021-06-10 11:48 UTC (permalink / raw)
  To: sfrench, linux-cifs, samba-technical, linux-kernel
  Cc: weiyongjun1, yuehaibing, yangjihong1, yukuai3, libaokun1

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'

Signed-off-by: Baokun Li <libaokun1@huawei.com>
---
 fs/cifs/cifs_dfs_ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
index c87c37cf2914..ec57cdb1590f 100644
--- a/fs/cifs/cifs_dfs_ref.c
+++ b/fs/cifs/cifs_dfs_ref.c
@@ -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


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

* Re: [PATCH -next] cifs: fix doc warnings in cifs_dfs_ref.c
  2021-06-10 11:48 [PATCH -next] cifs: fix doc warnings in cifs_dfs_ref.c Baokun Li
@ 2021-06-13 23:35 ` Steve French
  0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2021-06-13 23:35 UTC (permalink / raw)
  To: Baokun Li
  Cc: Steve French, CIFS, samba-technical, LKML, Wei Yongjun,
	YueHaibing, yangjihong1, yukuai3

merged into cifs-2.6.git for-next

On Thu, Jun 10, 2021 at 6:39 AM Baokun Li <libaokun1@huawei.com> wrote:
>
> 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'
>
> Signed-off-by: Baokun Li <libaokun1@huawei.com>
> ---
>  fs/cifs/cifs_dfs_ref.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
> index c87c37cf2914..ec57cdb1590f 100644
> --- a/fs/cifs/cifs_dfs_ref.c
> +++ b/fs/cifs/cifs_dfs_ref.c
> @@ -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
>


-- 
Thanks,

Steve

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

end of thread, other threads:[~2021-06-13 23:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 11:48 [PATCH -next] cifs: fix doc warnings in cifs_dfs_ref.c Baokun Li
2021-06-13 23:35 ` Steve French

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).