linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: vboxsf: fix a kernel-doc warning
@ 2023-12-06  2:53 Randy Dunlap
  2023-12-06 14:57 ` Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2023-12-06  2:53 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: Randy Dunlap, Hans de Goede, Alexander Viro, Christian Brauner

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'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
---
 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
--- 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

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

* Re: [PATCH] fs: vboxsf: fix a kernel-doc warning
  2023-12-06  2:53 [PATCH] fs: vboxsf: fix a kernel-doc warning Randy Dunlap
@ 2023-12-06 14:57 ` Hans de Goede
  2023-12-06 16:49   ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2023-12-06 14:57 UTC (permalink / raw)
  To: Randy Dunlap, linux-fsdevel; +Cc: Alexander Viro, Christian Brauner

Hi Randy,

On 12/6/23 03:53, Randy Dunlap wrote:
> 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'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
> Cc: Christian Brauner <brauner@kernel.org>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

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

Regards,

Hans





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


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

* Re: [PATCH] fs: vboxsf: fix a kernel-doc warning
  2023-12-06 14:57 ` Hans de Goede
@ 2023-12-06 16:49   ` Randy Dunlap
  2023-12-06 17:16     ` Jonathan Corbet
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2023-12-06 16:49 UTC (permalink / raw)
  To: Hans de Goede, linux-fsdevel, Jonathan Corbet
  Cc: Alexander Viro, Christian Brauner



On 12/6/23 06:57, Hans de Goede wrote:
> Hi Randy,
> 
> On 12/6/23 03:53, Randy Dunlap wrote:
>> 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'
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> Cc: Hans de Goede <hdegoede@redhat.com>
>> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
>> Cc: Christian Brauner <brauner@kernel.org>
> 
> Thanks, patch looks good to me:
> 
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> 
> 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?


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

Thanks.
-- 
~Randy

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

* Re: [PATCH] fs: vboxsf: fix a kernel-doc warning
  2023-12-06 16:49   ` Randy Dunlap
@ 2023-12-06 17:16     ` Jonathan Corbet
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Corbet @ 2023-12-06 17:16 UTC (permalink / raw)
  To: Randy Dunlap, Hans de Goede, linux-fsdevel
  Cc: Alexander Viro, Christian Brauner

Randy Dunlap <rdunlap@infradead.org> writes:

> On 12/6/23 06:57, Hans de Goede wrote:
>> Hi Randy,
>> 
>> On 12/6/23 03:53, Randy Dunlap wrote:
>>> 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'
>>>
>>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>>> Cc: Hans de Goede <hdegoede@redhat.com>
>>> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
>>> Cc: Christian Brauner <brauner@kernel.org>
>> 
>> Thanks, patch looks good to me:
>> 
>> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>> 
>> 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?

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

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

end of thread, other threads:[~2023-12-06 17:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06  2:53 [PATCH] fs: vboxsf: fix a kernel-doc warning Randy Dunlap
2023-12-06 14:57 ` Hans de Goede
2023-12-06 16:49   ` Randy Dunlap
2023-12-06 17:16     ` Jonathan Corbet

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