Linux EDAC development
 help / color / mirror / Atom feed
* [PATCH] EDAC/octeon: fix kernel-doc comment for co_cache_error_event
@ 2026-08-21 23:37 hanzhijian
  2026-09-02  1:23 ` Borislav Petkov
  0 siblings, 1 reply; 3+ messages in thread
From: hanzhijian @ 2026-08-21 23:37 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Borislav Petkov, Tony Luck
  Cc: linux-edac, linux-mips, linux-kernel, hanzhijian

The comment for co_cache_error_event() starts with "/**" but lacks the
function name line, so scripts/kernel-doc reports "isn't a kernel-doc
comment" and it is silently dropped from the generated documentation.

Add the missing name line and document the parameters.

Signed-off-by: hanzhijian <hanzhijian1991@gmail.com>
---
 drivers/edac/octeon_edac-pc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/edac/octeon_edac-pc.c b/drivers/edac/octeon_edac-pc.c
index aa1219db0..076a3952f 100644
--- a/drivers/edac/octeon_edac-pc.c
+++ b/drivers/edac/octeon_edac-pc.c
@@ -31,9 +31,11 @@ struct co_cache_error {
 };
 
 /**
- * EDAC CPU cache error callback
+ * co_cache_error_event() - EDAC CPU cache error callback
  *
+ * @this: notifier block
  * @event: non-zero if unrecoverable.
+ * @ptr: unused
  */
 static int  co_cache_error_event(struct notifier_block *this,
 	unsigned long event, void *ptr)
-- 
2.43.0


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

end of thread, other threads:[~2026-09-02  3:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21 23:37 [PATCH] EDAC/octeon: fix kernel-doc comment for co_cache_error_event hanzhijian
2026-09-02  1:23 ` Borislav Petkov
2026-09-02  3:42   ` Zhijian Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox