linux/drivers/infiniband/hw
Dan Carpenter 24c567ff75 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: 2280740f01 ("IB/hfi1: Virtual Network Interface Controller (VNIC) HW support")
Fixes: 4730f4a6c6 ("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>
2020-06-02 20:32:54 -03:00
..
bnxt_re RDMA/bnxt_re: Remove FMR leftovers 2020-06-02 20:32:53 -03:00
cxgb4 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove 2020-05-25 15:38:35 -03:00
efa RDMA/efa: Report host information to the device 2020-05-21 10:05:00 -03:00
hfi1 IB/hfi1: Fix hfi1_netdev_rx_init() error handling 2020-06-02 20:32:54 -03:00
hns RDMA/hns: remove duplicate assignment to pointer raq 2020-05-29 15:19:57 -03:00
i40iw RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
mlx4 RDMA/mlx4: Remove FMR support for memory registration 2020-06-02 20:32:54 -03:00
mlx5 RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
mthca RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
ocrdma RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
qedr RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
qib RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
usnic RDMA: Remove 'max_map_per_fmr' 2020-06-02 20:32:54 -03:00
vmw_pvrdma RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00