Commit 5f1ab0f4 authored by Lu Wei's avatar Lu Wei Committed by David S. Miller

net: hns: kerneldoc fixes

Fix some parameter description or spelling mistakes.
Signed-off-by: default avatarLu Wei <luwei32@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5d325ea
...@@ -463,8 +463,8 @@ static int __lb_clean_rings(struct hns_nic_priv *priv, ...@@ -463,8 +463,8 @@ static int __lb_clean_rings(struct hns_nic_priv *priv,
/** /**
* nic_run_loopback_test - run loopback test * nic_run_loopback_test - run loopback test
* @nic_dev: net device * @ndev: net device
* @loopback_type: loopback type * @loop_mode: loopback mode
*/ */
static int __lb_run_test(struct net_device *ndev, static int __lb_run_test(struct net_device *ndev,
enum hnae_loop loop_mode) enum hnae_loop loop_mode)
...@@ -572,7 +572,7 @@ static int __lb_down(struct net_device *ndev, enum hnae_loop loop) ...@@ -572,7 +572,7 @@ static int __lb_down(struct net_device *ndev, enum hnae_loop loop)
/** /**
* hns_nic_self_test - self test * hns_nic_self_test - self test
* @dev: net device * @ndev: net device
* @eth_test: test cmd * @eth_test: test cmd
* @data: test result * @data: test result
*/ */
...@@ -633,7 +633,7 @@ static void hns_nic_self_test(struct net_device *ndev, ...@@ -633,7 +633,7 @@ static void hns_nic_self_test(struct net_device *ndev,
/** /**
* hns_nic_get_drvinfo - get net driver info * hns_nic_get_drvinfo - get net driver info
* @dev: net device * @net_dev: net device
* @drvinfo: driver info * @drvinfo: driver info
*/ */
static void hns_nic_get_drvinfo(struct net_device *net_dev, static void hns_nic_get_drvinfo(struct net_device *net_dev,
...@@ -658,7 +658,7 @@ static void hns_nic_get_drvinfo(struct net_device *net_dev, ...@@ -658,7 +658,7 @@ static void hns_nic_get_drvinfo(struct net_device *net_dev,
/** /**
* hns_get_ringparam - get ring parameter * hns_get_ringparam - get ring parameter
* @dev: net device * @net_dev: net device
* @param: ethtool parameter * @param: ethtool parameter
*/ */
static void hns_get_ringparam(struct net_device *net_dev, static void hns_get_ringparam(struct net_device *net_dev,
...@@ -683,7 +683,7 @@ static void hns_get_ringparam(struct net_device *net_dev, ...@@ -683,7 +683,7 @@ static void hns_get_ringparam(struct net_device *net_dev,
/** /**
* hns_get_pauseparam - get pause parameter * hns_get_pauseparam - get pause parameter
* @dev: net device * @net_dev: net device
* @param: pause parameter * @param: pause parameter
*/ */
static void hns_get_pauseparam(struct net_device *net_dev, static void hns_get_pauseparam(struct net_device *net_dev,
...@@ -701,7 +701,7 @@ static void hns_get_pauseparam(struct net_device *net_dev, ...@@ -701,7 +701,7 @@ static void hns_get_pauseparam(struct net_device *net_dev,
/** /**
* hns_set_pauseparam - set pause parameter * hns_set_pauseparam - set pause parameter
* @dev: net device * @net_dev: net device
* @param: pause parameter * @param: pause parameter
* *
* Return 0 on success, negative on failure * Return 0 on success, negative on failure
...@@ -725,7 +725,7 @@ static int hns_set_pauseparam(struct net_device *net_dev, ...@@ -725,7 +725,7 @@ static int hns_set_pauseparam(struct net_device *net_dev,
/** /**
* hns_get_coalesce - get coalesce info. * hns_get_coalesce - get coalesce info.
* @dev: net device * @net_dev: net device
* @ec: coalesce info. * @ec: coalesce info.
* *
* Return 0 on success, negative on failure. * Return 0 on success, negative on failure.
...@@ -769,7 +769,7 @@ static int hns_get_coalesce(struct net_device *net_dev, ...@@ -769,7 +769,7 @@ static int hns_get_coalesce(struct net_device *net_dev,
/** /**
* hns_set_coalesce - set coalesce info. * hns_set_coalesce - set coalesce info.
* @dev: net device * @net_dev: net device
* @ec: coalesce info. * @ec: coalesce info.
* *
* Return 0 on success, negative on failure. * Return 0 on success, negative on failure.
...@@ -808,7 +808,7 @@ static int hns_set_coalesce(struct net_device *net_dev, ...@@ -808,7 +808,7 @@ static int hns_set_coalesce(struct net_device *net_dev,
/** /**
* hns_get_channels - get channel info. * hns_get_channels - get channel info.
* @dev: net device * @net_dev: net device
* @ch: channel info. * @ch: channel info.
*/ */
static void static void
...@@ -825,7 +825,7 @@ hns_get_channels(struct net_device *net_dev, struct ethtool_channels *ch) ...@@ -825,7 +825,7 @@ hns_get_channels(struct net_device *net_dev, struct ethtool_channels *ch)
/** /**
* get_ethtool_stats - get detail statistics. * get_ethtool_stats - get detail statistics.
* @dev: net device * @netdev: net device
* @stats: statistics info. * @stats: statistics info.
* @data: statistics data. * @data: statistics data.
*/ */
...@@ -883,8 +883,8 @@ static void hns_get_ethtool_stats(struct net_device *netdev, ...@@ -883,8 +883,8 @@ static void hns_get_ethtool_stats(struct net_device *netdev,
/** /**
* get_strings: Return a set of strings that describe the requested objects * get_strings: Return a set of strings that describe the requested objects
* @dev: net device * @netdev: net device
* @stats: string set ID. * @stringset: string set ID.
* @data: objects data. * @data: objects data.
*/ */
static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data)
...@@ -972,7 +972,7 @@ static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) ...@@ -972,7 +972,7 @@ static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data)
/** /**
* nic_get_sset_count - get string set count witch returned by nic_get_strings. * nic_get_sset_count - get string set count witch returned by nic_get_strings.
* @dev: net device * @netdev: net device
* @stringset: string set index, 0: self test string; 1: statistics string. * @stringset: string set index, 0: self test string; 1: statistics string.
* *
* Return string set count. * Return string set count.
...@@ -1006,7 +1006,7 @@ static int hns_get_sset_count(struct net_device *netdev, int stringset) ...@@ -1006,7 +1006,7 @@ static int hns_get_sset_count(struct net_device *netdev, int stringset)
/** /**
* hns_phy_led_set - set phy LED status. * hns_phy_led_set - set phy LED status.
* @dev: net device * @netdev: net device
* @value: LED state. * @value: LED state.
* *
* Return 0 on success, negative on failure. * Return 0 on success, negative on failure.
...@@ -1028,7 +1028,7 @@ static int hns_phy_led_set(struct net_device *netdev, int value) ...@@ -1028,7 +1028,7 @@ static int hns_phy_led_set(struct net_device *netdev, int value)
/** /**
* nic_set_phys_id - set phy identify LED. * nic_set_phys_id - set phy identify LED.
* @dev: net device * @netdev: net device
* @state: LED state. * @state: LED state.
* *
* Return 0 on success, negative on failure. * Return 0 on success, negative on failure.
...@@ -1104,9 +1104,9 @@ hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) ...@@ -1104,9 +1104,9 @@ hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state)
/** /**
* hns_get_regs - get net device register * hns_get_regs - get net device register
* @dev: net device * @net_dev: net device
* @cmd: ethtool cmd * @cmd: ethtool cmd
* @date: register data * @data: register data
*/ */
static void hns_get_regs(struct net_device *net_dev, struct ethtool_regs *cmd, static void hns_get_regs(struct net_device *net_dev, struct ethtool_regs *cmd,
void *data) void *data)
...@@ -1126,7 +1126,7 @@ static void hns_get_regs(struct net_device *net_dev, struct ethtool_regs *cmd, ...@@ -1126,7 +1126,7 @@ static void hns_get_regs(struct net_device *net_dev, struct ethtool_regs *cmd,
/** /**
* nic_get_regs_len - get total register len. * nic_get_regs_len - get total register len.
* @dev: net device * @net_dev: net device
* *
* Return total register len. * Return total register len.
*/ */
...@@ -1151,7 +1151,7 @@ static int hns_get_regs_len(struct net_device *net_dev) ...@@ -1151,7 +1151,7 @@ static int hns_get_regs_len(struct net_device *net_dev)
/** /**
* hns_nic_nway_reset - nway reset * hns_nic_nway_reset - nway reset
* @dev: net device * @netdev: net device
* *
* Return 0 on success, negative on failure * Return 0 on success, negative on failure
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment