aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-07-16 16:36:23 +0100
committerDavid S. Miller <davem@davemloft.net>2018-07-16 11:16:44 -0700
commit6b1385cc251ae9f26b720fa5c8c00bf19af336ae (patch)
tree5e27a89c2842e5b9a74939613214286670c09594 /tools/perf/scripts/python
parentnet: hns3: Correct reset event status register (diff)
downloadlinux-6b1385cc251ae9f26b720fa5c8c00bf19af336ae.tar.gz
linux-6b1385cc251ae9f26b720fa5c8c00bf19af336ae.zip
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')
0 files changed, 0 insertions, 0 deletions