diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-05-30 17:02:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-06-03 02:32:54 +0300 |
commit | 24c567ff75d342ed2392cd470c3acd29a09e03ba (patch) | |
tree | d0ec4f7652c1a8c006c7ef0687db9ccc3f7262d7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4d12c04caa88cd3115f25acd832a7cddb698981b (diff) | |
download | linux-24c567ff75d342ed2392cd470c3acd29a09e03ba.tar.xz |
IB/hfi1: Fix hfi1_netdev_rx_init() error handling
The hfi1_vnic_up() function doesn't check whether hfi1_netdev_rx_init()
returns errors. In hfi1_vnic_init() we need to change the code to
preserve the error code instead of returning success.
Fixes: 2280740f01ae ("IB/hfi1: Virtual Network Interface Controller (VNIC) HW support")
Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev")
Link: https://lore.kernel.org/r/20200530140224.GA1330098@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions