Skip to contentSkip to conversation

fs: vboxsf: fix a kernel-doc warning

PATCH In review Randy Dunlap 3 participants 4 messages Dec 6, 2023

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

PATCH 1/1 fs: vboxsf: fix a kernel-doc warning

Fix function parameters to prevent kernel-doc warnings.

vboxsf_wrappers.c:132: warning: Function parameter or member 'create_parms' not described in 'vboxsf_create' vboxsf_wrappers.c:132: warning: Excess function parameter 'param' description in 'vboxsf_create'

Cc Hans de Goede <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Christian Brauner <[email protected]>
---
 fs/vboxsf/vboxsf_wrappers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/vboxsf/vboxsf_wrappers.c +1 -1
diff -- a/fs/vboxsf/vboxsf_wrappers.c b/fs/vboxsf/vboxsf_wrappers.c
@@ -114,7 +114,7 @@ int vboxsf_unmap_folder(u32 root)
  * vboxsf_create - Create a new file or folder
  * @root:         Root of the shared folder in which to create the file
  * @parsed_path:  The path of the file or folder relative to the shared folder
- * @param:        create_parms Parameters for file/folder creation.
+ * @create_parms: Parameters for file/folder creation.
  *
  * Create a new file or folder or open an existing one in a shared folder.
  * Note this function always returns 0 / success unless an exceptional condition
Reviewed-by on v1 1/1
#1 lore raw

Hi Randy,

Quoted 9 lines · Randy Dunlap

Fix function parameters to prevent kernel-doc warnings.

vboxsf_wrappers.c:132: warning: Function parameter or member 'create_parms' not described in 'vboxsf_create' vboxsf_wrappers.c:132: warning: Excess function parameter 'param' description in 'vboxsf_create'

Cc Hans de Goede <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Christian Brauner <[email protected]>

Thanks, patch looks good to me:

vboxsf is not really undergoing any active development, can this be merged through the Documentation tree?

Regards,

Hans

Quoted 17 lines
---
 fs/vboxsf/vboxsf_wrappers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/fs/vboxsf/vboxsf_wrappers.c b/fs/vboxsf/vboxsf_wrappers.c

fs/vboxsf/vboxsf_wrappers.c +1 -1
@@ -114,7 +114,7 @@ int vboxsf_unmap_folder(u32 root)
  * vboxsf_create - Create a new file or folder
  * @root:         Root of the shared folder in which to create the file
  * @parsed_path:  The path of the file or folder relative to the shared folder
- * @param:        create_parms Parameters for file/folder creation.
+ * @create_parms: Parameters for file/folder creation.
  *
  * Create a new file or folder or open an existing one in a shared folder.
  * Note this function always returns 0 / success unless an exceptional condition
#2 lore raw
Quoted 15 lines · Hans de Goede

Hi Randy,

Quoted 9 lines · Randy Dunlap

Fix function parameters to prevent kernel-doc warnings.

vboxsf_wrappers.c:132: warning: Function parameter or member 'create_parms' not described in 'vboxsf_create' vboxsf_wrappers.c:132: warning: Excess function parameter 'param' description in 'vboxsf_create'

Cc Hans de Goede <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Christian Brauner <[email protected]>

Thanks, patch looks good to me:

Quoted 8 lines

vboxsf is not really undergoing any active development, can this be merged through the Documentation tree?

Regards,

Hans

I have no idea, but we can ask Jon.

Jon, can you merge this patch thru the Documentation tree?

Quoted 4 lines
Quoted 4 lines
---
 fs/vboxsf/vboxsf_wrappers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines

fs/vboxsf/vboxsf_wrappers.c int vboxsf_unmap_folder(u32 root) · line 120

Quoted 13 lines

diff -- a/fs/vboxsf/vboxsf_wrappers.c b/fs/vboxsf/vboxsf_wrappers.c

fs/vboxsf/vboxsf_wrappers.c +1 -1
@@ -114,7 +114,7 @@ int vboxsf_unmap_folder(u32 root)
  * vboxsf_create - Create a new file or folder
  * @root:         Root of the shared folder in which to create the file
  * @parsed_path:  The path of the file or folder relative to the shared folder
- * @param:        create_parms Parameters for file/folder creation.
+ * @create_parms: Parameters for file/folder creation.
  *
  * Create a new file or folder or open an existing one in a shared folder.
  * Note this function always returns 0 / success unless an exceptional condition

Thanks.

Signature · 1 line
~Randy
#3 lore raw
Quoted 21 lines · Randy Dunlap
Quoted 20 lines · Hans de Goede

Hi Randy,

Quoted 9 lines · Randy Dunlap

Fix function parameters to prevent kernel-doc warnings.

vboxsf_wrappers.c:132: warning: Function parameter or member 'create_parms' not described in 'vboxsf_create' vboxsf_wrappers.c:132: warning: Excess function parameter 'param' description in 'vboxsf_create'

Cc Hans de Goede <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Christian Brauner <[email protected]>

Thanks, patch looks good to me:

vboxsf is not really undergoing any active development, can this be merged through the Documentation tree?

Quoted 7 lines
Quoted 3 lines

Regards,

Hans

I have no idea, but we can ask Jon.

Jon, can you merge this patch thru the Documentation tree?

I've not actually seen the patch but, yes, I should be able to do that. Will go dig it out in a bit.

Thanks,

jon