diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-07-16 18:36:23 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-16 21:16:44 +0300 |
| commit | 6b1385cc251ae9f26b720fa5c8c00bf19af336ae (patch) | |
| tree | 5e27a89c2842e5b9a74939613214286670c09594 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9ca8d1a73c373c0f54e7ab6eaa37aea8de28cd3a (diff) | |
| download | linux-6b1385cc251ae9f26b720fa5c8c00bf19af336ae.tar.xz | |
net: hns3: Fix return value error in hns3_reset_notify_down_enet
When doing reset, netdev has not been brought up is not an error,
it means that we do not need do the stop operation, so just return
zero.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
