diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2016-01-12 16:33:21 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 15:17:40 -0500 |
commit | 82b1df1b083ff1b1c45fcdf5a844351cdca03ed8 (patch) | |
tree | 16ef906b5a30522d7dda241351e99e9a56d75d81 /drivers/eisa | |
parent | IB/cma: allocating too much memory in make_cma_ports() (diff) | |
download | linux-dev-82b1df1b083ff1b1c45fcdf5a844351cdca03ed8.tar.xz linux-dev-82b1df1b083ff1b1c45fcdf5a844351cdca03ed8.zip |
iw_cxgb4: Fixes static checker warning in c4iw_rdev_open()
Commit c5dfb000b904 ("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: c5dfb000b904 ("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>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions