Skip to contentSkip to conversation

net: ethtool: Add missing kernel doc for FEC parameters

PATCH Applied Florian Fainelli 3 participants 3 messages Apr 23, 2018 – Apr 24, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: ethtool: Add missing kernel doc for FEC parameters

While adding support for ethtool::get_fecparam and set_fecparam, kernel doc for these functions was missed, add those.

Fixes 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes")

---
Changes in v2:

- corrected set_fecparam in commit message

 include/linux/ethtool.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/ethtool.h +2 -0
index ebe41811ed34..b32cd2062f18 100644
@@ -310,6 +310,8 @@ bool ethtool_convert_link_mode_to_legacy_u32(u32 *legacy_u32,
  *	fields should be ignored (use %__ETHTOOL_LINK_MODE_MASK_NBITS
  *	instead of the latter), any change to them will be overwritten
  *	by kernel. Returns a negative error code or zero.
+ * @get_fecparam: Get the network device Forward Error Correction parameters.
+ * @set_fecparam: Set the network device Forward Error Correction parameters.
  *
  * All operations are optional (i.e. the function pointer may be set
  * to %NULL) and callers must take this into account.  Callers must
Signature · 1 line
2.14.1
maintainer Applied
#2 lore raw
In reply to Florian Fainelli

From: Florian Fainelli <[email protected]>
Date: Mon, 23 Apr 2018 15:51:38 -0700

Quoted 9 lines

While adding support for ethtool::get_fecparam and set_fecparam, kernel doc for these functions was missed, add those.

Fixes 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes")

---
Changes in v2:

- corrected set_fecparam in commit message

Applied, thanks Florian.