]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
hns3: Fix the build.
authorDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 17:49:58 +0000 (10:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 17:49:58 +0000 (10:49 -0700)
commitd4017665854b37c30bb3d8311257b9b302281c15
treeaf915531874d197faf855459677e64c22aaf9707
parent6a42b5128deb930d77a468d40095aa289cd2e1c7
hns3: Fix the build.

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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c