Skip to content
  • Yang Li's avatar
    net: hns: Fix kernel-doc · c1cf1afd
    Yang Li authored
    Fix function name in hns_ethtool.c kernel-doc comment
    to remove these warnings found by clang_w1.
    drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:202: warning: expecting
    prototype for hns_nic_set_link_settings(). Prototype was for
    hns_nic_set_link_ksettings() instead.
    drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:837: warning: expecting
    prototype for get_ethtool_stats(). Prototype was for
    hns_get_ethtool_stats() instead.
    drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:894: warning:
    expecting prototype for get_strings(). Prototype was for
    hns_get_strings() instead.
    Reported-by: default avatarAbaci Robot <>
    Fixes: 'commit 262b38cd
     ("net: ethernet: hisilicon: hns: use phydev
    from struct net_device")'
    Signed-off-by: default avatarYang Li <>
    Signed-off-by: default avatarDavid S. Miller <>