]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ethtool: fix incorrect kernel-doc style comment in ethtool.h
authorKriish Sharma <kriish.sharma2006@gmail.com>
Mon, 10 Nov 2025 18:25:45 +0000 (18:25 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Nov 2025 01:38:48 +0000 (17:38 -0800)
Building documentation produced the following warning:

  WARNING: ./include/linux/ethtool.h:495 This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * IEEE 802.3ck/df defines 16 bins for FEC histogram plus one more for

This comment was not intended to be parsed as kernel-doc, so replace
the '/**' with '/*' to silence the warning and align with normal
comment style in header files.

No functional changes.

Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
Link: https://patch.msgid.link/20251110182545.2112596-1-kriish.sharma2006@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/ethtool.h

index c2d8b4ec62ebfc8a241364cf4514f7c71ff5666f..5c9162193d26987ccbf59ee613fb330d98a423e0 100644 (file)
@@ -492,7 +492,7 @@ struct ethtool_pause_stats {
 };
 
 #define ETHTOOL_MAX_LANES      8
-/**
+/*
  * IEEE 802.3ck/df defines 16 bins for FEC histogram plus one more for
  * the end-of-list marker, total 17 items
  */