diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2019-01-31 04:55:44 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 14:50:03 -0800 |
commit | 74354140a579008fd164241e3697d9c37e5b8989 (patch) | |
tree | fefcc65024ca7679810ca4c490348adc97026c23 /tools/perf/scripts/python/export-to-postgresql.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 <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions