2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-25 23:26:03 +08:00
linux-next/drivers/infiniband/hw/cxgb4
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
..
cm.c iw_cxgb4: Adds support for T6 adapter 2015-10-21 23:16:38 -04:00
cq.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
device.c iw_cxgb4: Fixes static checker warning in c4iw_rdev_open() 2016-01-19 15:17:40 -05:00
ev.c InfiniBand/RDMA changes for 3.20 merge window: 2015-02-21 12:53:21 -08:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
Kconfig RDMA/cxgb4: Update Kconfig to include Chelsio T5 adapter 2014-04-28 17:29:41 -07:00
Makefile RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
mem.c IB: remove the write-only usecnt field from struct ib_mr 2015-12-23 14:29:06 -05:00
provider.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
qp.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
resource.c RDMA/cxgb4: Add missing debug stats 2014-04-11 11:36:09 -07:00
t4.h iw_cxgb4: Pass qid range to user space driver 2015-12-24 00:17:30 -05:00
t4fw_ri_api.h iw_cxgb4: Cleanup register defines/MACROS 2015-05-05 09:18:01 -04:00
user.h iw_cxgb4: Pass qid range to user space driver 2015-12-24 00:17:30 -05:00