RE: [PATCH] Drivers: hv: vmbus: Fix kernel-doc

From: Michael Kelley (LINUX)
Date: Thu Sep 22 2022 - 18:40:19 EST


From: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> Sent: Sunday, September 18, 2022 11:38 PM
>
> drivers/hv/vmbus_drv.c:1587: warning: expecting prototype for
> __vmbus_child_driver_register(). Prototype was for __vmbus_driver_register() instead.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2210
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> ---
> drivers/hv/vmbus_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
> index 7b9f3fc3adf7..621702a1725f 100644
> --- a/drivers/hv/vmbus_drv.c
> +++ b/drivers/hv/vmbus_drv.c
> @@ -1573,7 +1573,7 @@ static int vmbus_bus_init(void)
> }
>
> /**
> - * __vmbus_child_driver_register() - Register a vmbus's driver
> + * __vmbus_driver_register() - Register a vmbus's driver
> * @hv_driver: Pointer to driver structure you want to register
> * @owner: owner module of the drv
> * @mod_name: module name string
> --
> 2.20.1.7.g153144c

Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>