linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extcon: usb-gpio: fix a non-kernel-doc comment
@ 2021-11-15  3:05 ` Randy Dunlap
  2021-12-16  3:00   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-11-15  3:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, kernel test robot, MyungJoo Ham, Chanwoo Choi

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@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
---
 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

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

* Re: [PATCH] extcon: usb-gpio: fix a non-kernel-doc comment
  2021-11-15  3:05 ` [PATCH] extcon: usb-gpio: fix a non-kernel-doc comment Randy Dunlap
@ 2021-12-16  3:00   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2021-12-16  3:00 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel; +Cc: kernel test robot, MyungJoo Ham

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@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
> Cc: Chanwoo Choi <cw00.choi@samsung.com>
> ---
>  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

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

end of thread, other threads:[~2021-12-16  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20211115030550epcas1p17967a72736d2221667fdf032e9339eca@epcas1p1.samsung.com>
2021-11-15  3:05 ` [PATCH] extcon: usb-gpio: fix a non-kernel-doc comment Randy Dunlap
2021-12-16  3:00   ` Chanwoo Choi

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