diff options
| author | Huazhong Tan <[email protected]> | 2019-01-31 04:55:44 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-30 14:50:03 -0800 |
| commit | 74354140a579008fd164241e3697d9c37e5b8989 (patch) | |
| tree | fefcc65024ca7679810ca4c490348adc97026c23 /tools/perf/scripts/python/netdev-times.py | |
| parent | fc0c174f4223b7340999e1b3004dbc3b3b9b06de (diff) | |
net: hns3: change hnae3_register_ae_dev() to int
hnae3_register_ae_dev() may fail, and it should return a error code
to its caller, so change hnae3_register_ae_dev() return type to int.
Also, when hnae3_register_ae_dev() return error, hns3_probe() should
do some error handling and return the error code.
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions