linux_dsm_epyc7002/drivers/infiniband/hw/ocrdma
Dan Carpenter f0c6e88288 RDMA/ocrdma: Fix error codes in ocrdma_create_srq()
If either of these allocations fail then we return ERR_PTR(0).  That's
equivalent to NULL and results in a NULL pointer dereference in the
caller.

Fixes: fe2caefcdf ("RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-20 11:20:49 -04:00
..
Kconfig
Makefile
ocrdma_ah.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
ocrdma_ah.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
ocrdma_hw.c IB/core: Use rdma_ah_attr accessor functions 2017-05-01 14:32:43 -04:00
ocrdma_hw.h
ocrdma_main.c This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
ocrdma_sli.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
ocrdma_stats.c IB/ocrdma: fix out of bounds access to local buffer 2017-05-01 15:04:23 -04:00
ocrdma_stats.h
ocrdma_verbs.c RDMA/ocrdma: Fix error codes in ocrdma_create_srq() 2017-07-20 11:20:49 -04:00
ocrdma_verbs.h
ocrdma.h IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00