linux_dsm_epyc7002/drivers/infiniband/hw/usnic
Dan Carpenter d518a44d31 IB/usnic: check for allocation failure
usnic_uiom_get_dev_list() can return ERR_PTR(-ENOMEM) so we should check
for that.

Fixes: e3cf00d0a8 ("IB/usnic: Add Cisco VIC low-level hardware driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-28 19:12:24 -04:00
..
Kconfig IB/usnic: Add dependency on CONFIG_INET 2014-01-18 13:48:54 -08:00
Makefile IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_abi.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_common_pkt_hdr.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
usnic_common_util.h {net,IB}/{rxe,usnic}: Utilize generic mac to eui32 function 2017-04-25 14:21:34 -04:00
usnic_debugfs.c IB/usnic: Improve a failure message 2015-12-23 10:50:57 -05:00
usnic_debugfs.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_fwd.c RDMA/usnic: Fix remove address space warning 2017-08-24 16:27:10 -04:00
usnic_fwd.h RDMA/usnic: Fix remove address space warning 2017-08-24 16:27:10 -04:00
usnic_ib_main.c RDMA/usnic: Fix remove address space warning 2017-08-24 16:27:10 -04:00
usnic_ib_qp_grp.c Merge branches 'misc', 'qedr', 'reject-helpers', 'rxe' and 'srp' into merge-test 2016-12-14 14:44:47 -05:00
usnic_ib_qp_grp.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_ib_sysfs.c Ib/usnic: Explicitly include usnic headers 2017-04-28 13:11:43 -04:00
usnic_ib_sysfs.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_ib_verbs.c IB/usnic: check for allocation failure 2017-08-28 19:12:24 -04:00
usnic_ib_verbs.h IB/usnic: Implement get_netdev hook 2017-07-24 08:44:46 -04:00
usnic_ib.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_log.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_transport.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_transport.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom_interval_tree.c usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom_interval_tree.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
usnic_uiom.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_vnic.c IB/usninc: Remove and fix debug prints after allocation failure 2016-12-03 13:12:52 -05:00
usnic_vnic.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00