* [PATCH] EDAC/sifive: fix non-kernel-doc comment
@ 2021-12-01 3:09 Randy Dunlap
2021-12-05 19:29 ` Borislav Petkov
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-12-01 3:09 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, kernel test robot, Guenter Roeck, Palmer Dabbelt,
Yash Shah, linux-edac, Borislav Petkov, Mauro Carvalho Chehab,
Tony Luck
scripts/kernel-doc complains about a comment that begins with "/**"
but is not in kernel-doc format, so correct it.
Prevents this warning:
drivers/edac/sifive_edac.c:23: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* EDAC error callback
Fixes: 91abaeaaff35 ("EDAC/sifive: Add EDAC platform driver for SiFive SoCs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Palmer Dabbelt <palmerdabbelt@google.com>
Cc: Yash Shah <yash.shah@sifive.com>
Cc: linux-edac@vger.kernel.org
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
---
drivers/edac/sifive_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20211130.orig/drivers/edac/sifive_edac.c
+++ linux-next-20211130/drivers/edac/sifive_edac.c
@@ -19,7 +19,7 @@ struct sifive_edac_priv {
struct edac_device_ctl_info *dci;
};
-/**
+/*
* EDAC error callback
*
* @event: non-zero if unrecoverable.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] EDAC/sifive: fix non-kernel-doc comment
2021-12-01 3:09 [PATCH] EDAC/sifive: fix non-kernel-doc comment Randy Dunlap
@ 2021-12-05 19:29 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2021-12-05 19:29 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, kernel test robot, Guenter Roeck, Palmer Dabbelt,
Yash Shah, linux-edac, Mauro Carvalho Chehab, Tony Luck
On Tue, Nov 30, 2021 at 07:09:13PM -0800, Randy Dunlap wrote:
> scripts/kernel-doc complains about a comment that begins with "/**"
> but is not in kernel-doc format, so correct it.
>
> Prevents this warning:
>
> drivers/edac/sifive_edac.c:23: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
> * EDAC error callback
>
> Fixes: 91abaeaaff35 ("EDAC/sifive: Add EDAC platform driver for SiFive SoCs")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Palmer Dabbelt <palmerdabbelt@google.com>
> Cc: Yash Shah <yash.shah@sifive.com>
> Cc: linux-edac@vger.kernel.org
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Tony Luck <tony.luck@intel.com>
> ---
Applied, thanks.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-05 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 3:09 [PATCH] EDAC/sifive: fix non-kernel-doc comment Randy Dunlap
2021-12-05 19:29 ` Borislav Petkov
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).