net: ethtool: Add missing kernel doc for FEC parameters
Subsystems (3)
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")
Signed-off-by Florian Fainelli <[email protected]>
---
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
@@ -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
Quoted 5 lines · Florian Fainelli
While adding support for
ethtool::get_fecparamandset_fecparam, kernel doc for these functions was missed, add those.Fixes 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes")Signed-off-by Florian Fainelli <[email protected]>
Acked-by Roopa Prabhu <[email protected]>
Thanks Florian.
From: Florian Fainelli <[email protected]>
Date: Mon, 23 Apr 2018 15:51:38 -0700
Quoted 9 lines
While adding support for
ethtool::get_fecparamandset_fecparam, kernel doc for these functions was missed, add those.Fixes 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes")Signed-off-by Florian Fainelli <[email protected]>---
Changes in v2:- corrected
set_fecparamin commit message
Applied, thanks Florian.