* [PATCH] hv: fix missing kernel-doc description for 'size' in request_arr_init()
@ 2025-10-25 12:07 kriish.sharma2006
2025-10-27 16:09 ` Easwar Hariharan
2025-10-31 17:54 ` Wei Liu
0 siblings, 2 replies; 3+ messages in thread
From: kriish.sharma2006 @ 2025-10-25 12:07 UTC (permalink / raw)
To: kys, haiyangz, wei.liu, decui, longli
Cc: linux-hyperv, linux-kernel, Kriish Sharma, kernel test robot
From: Kriish Sharma <kriish.sharma2006@gmail.com>
Add missing kernel-doc entry for the @size parameter in
request_arr_init(), fixing the following documentation warning
reported by the kernel test robot and detected via kernel-doc:
Warning: drivers/hv/channel.c:595 function parameter 'size' not described in 'request_arr_init'
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503021934.wH1BERla-lkp@intel.com
Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
---
drivers/hv/channel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 88485d255a42..6821f225248b 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -590,7 +590,7 @@ EXPORT_SYMBOL_GPL(vmbus_establish_gpadl);
* keeps track of the next available slot in the array. Initially, each
* slot points to the next one (as in a Linked List). The last slot
* does not point to anything, so its value is U64_MAX by default.
- * @size The size of the array
+ * @size: The size of the array
*/
static u64 *request_arr_init(u32 size)
{
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] hv: fix missing kernel-doc description for 'size' in request_arr_init()
2025-10-25 12:07 [PATCH] hv: fix missing kernel-doc description for 'size' in request_arr_init() kriish.sharma2006
@ 2025-10-27 16:09 ` Easwar Hariharan
2025-10-31 17:54 ` Wei Liu
1 sibling, 0 replies; 3+ messages in thread
From: Easwar Hariharan @ 2025-10-27 16:09 UTC (permalink / raw)
To: kriish.sharma2006
Cc: kys, haiyangz, wei.liu, decui, longli, easwar.hariharan,
linux-hyperv, linux-kernel, kernel test robot
On 10/25/2025 5:07 AM, kriish.sharma2006@gmail.com wrote:
> From: Kriish Sharma <kriish.sharma2006@gmail.com>
>
> Add missing kernel-doc entry for the @size parameter in
> request_arr_init(), fixing the following documentation warning
> reported by the kernel test robot and detected via kernel-doc:
>
> Warning: drivers/hv/channel.c:595 function parameter 'size' not described in 'request_arr_init'
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202503021934.wH1BERla-lkp@intel.com
> Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
> ---
> drivers/hv/channel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks for the patch!
Reviewed-by: Easwar Hariharan <easwar.hariharan@linux.microsoft.com>
> diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
> index 88485d255a42..6821f225248b 100644
> --- a/drivers/hv/channel.c
> +++ b/drivers/hv/channel.c
> @@ -590,7 +590,7 @@ EXPORT_SYMBOL_GPL(vmbus_establish_gpadl);
> * keeps track of the next available slot in the array. Initially, each
> * slot points to the next one (as in a Linked List). The last slot
> * does not point to anything, so its value is U64_MAX by default.
> - * @size The size of the array
> + * @size: The size of the array
> */
> static u64 *request_arr_init(u32 size)
> {
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] hv: fix missing kernel-doc description for 'size' in request_arr_init()
2025-10-25 12:07 [PATCH] hv: fix missing kernel-doc description for 'size' in request_arr_init() kriish.sharma2006
2025-10-27 16:09 ` Easwar Hariharan
@ 2025-10-31 17:54 ` Wei Liu
1 sibling, 0 replies; 3+ messages in thread
From: Wei Liu @ 2025-10-31 17:54 UTC (permalink / raw)
To: kriish.sharma2006
Cc: kys, haiyangz, wei.liu, decui, longli, linux-hyperv, linux-kernel,
kernel test robot
On Sat, Oct 25, 2025 at 12:07:07PM +0000, kriish.sharma2006@gmail.com wrote:
> From: Kriish Sharma <kriish.sharma2006@gmail.com>
>
> Add missing kernel-doc entry for the @size parameter in
> request_arr_init(), fixing the following documentation warning
> reported by the kernel test robot and detected via kernel-doc:
>
> Warning: drivers/hv/channel.c:595 function parameter 'size' not described in 'request_arr_init'
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202503021934.wH1BERla-lkp@intel.com
> Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
Applied to hyperv-next.
I changed the subject line to match the existing pattern.
> ---
> drivers/hv/channel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
> index 88485d255a42..6821f225248b 100644
> --- a/drivers/hv/channel.c
> +++ b/drivers/hv/channel.c
> @@ -590,7 +590,7 @@ EXPORT_SYMBOL_GPL(vmbus_establish_gpadl);
> * keeps track of the next available slot in the array. Initially, each
> * slot points to the next one (as in a Linked List). The last slot
> * does not point to anything, so its value is U64_MAX by default.
> - * @size The size of the array
> + * @size: The size of the array
> */
> static u64 *request_arr_init(u32 size)
> {
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-31 17:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-25 12:07 [PATCH] hv: fix missing kernel-doc description for 'size' in request_arr_init() kriish.sharma2006
2025-10-27 16:09 ` Easwar Hariharan
2025-10-31 17:54 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox