diff options
| author | Huazhong Tan <[email protected]> | 2019-01-31 04:55:49 +0800 | 
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-30 14:50:03 -0800 | 
| commit | 9fc55413270fffe1b5ebdea03489d763c62c0305 (patch) | |
| tree | 63922ea0269f35ad1dbb860011682cb5a6cddd08 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 472d7ecee20e8fea18e6223cc1d383b6c3483502 (diff) | |
net: hns3: fix improper error handling in the hclge_init_ae_dev()
While hclge_init_umv_space() failed in the hclge_init_ae_dev(),
we should undo all the operation which has been done successfully,
the last success operation maybe hclge_mac_mdio_config(), so if
hclge_init_umv_space() failed, we also need to undo it.
Fixes: 288475b2ad01 ("{topost} net: hns3: refine umv space allocation")
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions