• David S. Miller's avatar
    hns3: Fix the build. · d4017665
    David S. Miller authored
    drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c: In function ‘hns3_self_test’:
    drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:278:15: error: ‘HNS3_SELF_TEST_TYPE_NUM’ undeclared (first use in this function); did you mean ‘HNS3_SELF_TEST_TPYE_NUM’?
      int st_param[HNS3_SELF_TEST_TYPE_NUM][2];
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   HNS3_SELF_TEST_TPYE_NUM
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d4017665
hns3_ethtool.c 28 KB