linux-stable/drivers/infiniband/hw
Hariprasad S 82b1df1b08 iw_cxgb4: Fixes static checker warning in c4iw_rdev_open()
Commit c5dfb000b9 ("iw_cxgb4: Pass qid range to user space driver")
from Dec 11, 2015, leads to the following static checker warning:

	drivers/infiniband/hw/cxgb4/device.c:857 c4iw_rdev_open()
        warn: variable dereferenced before check 'rdev->status_page'

Also we weren't deallocating ocqp pool in error path when failed to
allocate status page. Fixing it too.

Fixes: c5dfb000b9 ("iw_cxgb4: Pass qid range to user space driver")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-01-19 15:17:40 -05:00
..
cxgb3 iw_cxgb3: Fix incorrectly returning error on success 2015-12-24 00:17:30 -05:00
cxgb4 iw_cxgb4: Fixes static checker warning in c4iw_rdev_open() 2016-01-19 15:17:40 -05:00
mlx4 IB/mlx4: Convert kmalloc to kmalloc_array for checkpatch 2015-12-24 00:17:32 -05:00
mlx5 IB/mlx5: report tx/rx checksum cap in query results 2015-12-24 00:17:32 -05:00
mthca IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
nes RDMA/nes: checking for NULL instead of IS_ERR 2016-01-19 15:17:40 -05:00
ocrdma RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
qib IB/qib: Support creating qps with GFP_NOIO flag 2016-01-19 15:17:40 -05:00
usnic IB/usnic: delete unneeded IS_ERR test 2015-12-23 10:50:58 -05:00
Makefile IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00