Re: [PATCH] extcon: usb-gpio: fix a non-kernel-doc comment

From: Chanwoo Choi
Date: Wed Dec 15 2021 - 21:37:31 EST


On 11/15/21 12:05 PM, Randy Dunlap wrote:
> Do not use "/**" to begin a non-kernel-doc comment.
> Fixes this build warning:
>
> drivers/extcon/extcon-usb-gpio.c:23: warning: expecting prototype for drivers/extcon/extcon-usb-gpio.c(). Prototype was for USB_GPIO_DEBOUNCE_MS() instead
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Cc: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> Cc: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> ---
> drivers/extcon/extcon-usb-gpio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20211102.orig/drivers/extcon/extcon-usb-gpio.c
> +++ linux-next-20211102/drivers/extcon/extcon-usb-gpio.c
> @@ -1,5 +1,5 @@
> // SPDX-License-Identifier: GPL-2.0-only
> -/**
> +/*
> * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver
> *
> * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com
>
>

Applied it.

--
Best Regards,
Chanwoo Choi
Samsung Electronics