All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] usb: typec: wcove: Fx wrong kernel doc format
@ 2021-05-19  8:55 Andy Shevchenko
  2021-05-20  9:25 ` Heikki Krogerus
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2021-05-19  8:55 UTC (permalink / raw)
  To: linux-usb, linux-kernel
  Cc: Guenter Roeck, Heikki Krogerus, Greg Kroah-Hartman, Andy Shevchenko

The top comment in the file wrongly uses kernel doc format:

.../typec/tcpm/wcove.c:17: warning: expecting prototype for typec_wcove.c - WhiskeyCove PMIC USB Type(). Prototype was for WCOVE_CHGRIRQ0() instead

Fix this by converting it to plain comment.

Fixes: ae8a2ca8a221 ("usb: typec: Group all TCPCI/TCPM code together")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/usb/typec/tcpm/wcove.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/typec/tcpm/wcove.c b/drivers/usb/typec/tcpm/wcove.c
index 5d125339687a..20917d85d6f4 100644
--- a/drivers/usb/typec/tcpm/wcove.c
+++ b/drivers/usb/typec/tcpm/wcove.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * typec_wcove.c - WhiskeyCove PMIC USB Type-C PHY driver
  *
  * Copyright (C) 2017 Intel Corporation
-- 
2.30.2


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

* Re: [PATCH v1 1/1] usb: typec: wcove: Fx wrong kernel doc format
  2021-05-19  8:55 [PATCH v1 1/1] usb: typec: wcove: Fx wrong kernel doc format Andy Shevchenko
@ 2021-05-20  9:25 ` Heikki Krogerus
  0 siblings, 0 replies; 2+ messages in thread
From: Heikki Krogerus @ 2021-05-20  9:25 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-usb, linux-kernel, Guenter Roeck, Greg Kroah-Hartman

On Wed, May 19, 2021 at 11:55:27AM +0300, Andy Shevchenko wrote:
> The top comment in the file wrongly uses kernel doc format:
> 
> .../typec/tcpm/wcove.c:17: warning: expecting prototype for typec_wcove.c - WhiskeyCove PMIC USB Type(). Prototype was for WCOVE_CHGRIRQ0() instead
> 
> Fix this by converting it to plain comment.
> 
> Fixes: ae8a2ca8a221 ("usb: typec: Group all TCPCI/TCPM code together")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  drivers/usb/typec/tcpm/wcove.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/typec/tcpm/wcove.c b/drivers/usb/typec/tcpm/wcove.c
> index 5d125339687a..20917d85d6f4 100644
> --- a/drivers/usb/typec/tcpm/wcove.c
> +++ b/drivers/usb/typec/tcpm/wcove.c
> @@ -1,5 +1,5 @@
>  // SPDX-License-Identifier: GPL-2.0
> -/**
> +/*
>   * typec_wcove.c - WhiskeyCove PMIC USB Type-C PHY driver
>   *
>   * Copyright (C) 2017 Intel Corporation
> -- 
> 2.30.2

-- 
heikki

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

end of thread, other threads:[~2021-05-20  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19  8:55 [PATCH v1 1/1] usb: typec: wcove: Fx wrong kernel doc format Andy Shevchenko
2021-05-20  9:25 ` Heikki Krogerus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.