* [PATCH] gpio: max730x: don't use kernel-doc marker for regular comment
@ 2023-12-06 3:05 Randy Dunlap
2023-12-07 8:24 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-12-06 3:05 UTC (permalink / raw)
To: linux-kernel
Cc: Linus Walleij, Bartosz Golaszewski, Andy Shevchenko, linux-gpio,
Randy Dunlap
Use a common C comment (/*) instead of kernel-doc notation to prevent
warnings from scripts/kernel-doc.
gpio-max730x.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
gpio-max730x.c:3: warning: missing initial short description on line:
* Copyright (C) 2006 Juergen Beisert, Pengutronix
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
drivers/gpio/gpio-max730x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c
--- a/drivers/gpio/gpio-max730x.c
+++ b/drivers/gpio/gpio-max730x.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
* Copyright (C) 2006 Juergen Beisert, Pengutronix
* Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix
* Copyright (C) 2009 Wolfram Sang, Pengutronix
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: max730x: don't use kernel-doc marker for regular comment
2023-12-06 3:05 [PATCH] gpio: max730x: don't use kernel-doc marker for regular comment Randy Dunlap
@ 2023-12-07 8:24 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2023-12-07 8:24 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Linus Walleij, Andy Shevchenko, linux-gpio
On Wed, Dec 6, 2023 at 4:05 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> Use a common C comment (/*) instead of kernel-doc notation to prevent
> warnings from scripts/kernel-doc.
>
> gpio-max730x.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
> gpio-max730x.c:3: warning: missing initial short description on line:
> * Copyright (C) 2006 Juergen Beisert, Pengutronix
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> drivers/gpio/gpio-max730x.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -- a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c
> --- a/drivers/gpio/gpio-max730x.c
> +++ b/drivers/gpio/gpio-max730x.c
> @@ -1,5 +1,5 @@
> // SPDX-License-Identifier: GPL-2.0-only
> -/**
> +/*
> * Copyright (C) 2006 Juergen Beisert, Pengutronix
> * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix
> * Copyright (C) 2009 Wolfram Sang, Pengutronix
Applied, thanks!
Bart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-07 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06 3:05 [PATCH] gpio: max730x: don't use kernel-doc marker for regular comment Randy Dunlap
2023-12-07 8:24 ` Bartosz Golaszewski
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).