diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-10-30 21:50:43 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-31 12:42:38 -0700 |
commit | ece4bf46e98c9f3775a488f3932a531508d3b1a2 (patch) | |
tree | a7ddcd25fd9c6244c11a4b4e59bcbfcb8c43080b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d48051c5b8376038c2b287c3b1bd55b8d391d567 (diff) |
net: hns3: add error handler for hns3_nic_init_vector_data()
When hns3_nic_init_vector_data() fails to map ring to vector,
it should cancel the netif_napi_add() that has been successfully
done and then exits.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions