diff options
author | Hariprasad S <hariprasad@chelsio.com> | 2016-01-12 14:03:21 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-19 23:17:40 +0300 |
commit | 82b1df1b083ff1b1c45fcdf5a844351cdca03ed8 (patch) | |
tree | 16ef906b5a30522d7dda241351e99e9a56d75d81 /arch | |
parent | a7d0e959fab832d0614d0e144cb01cbb87d36258 (diff) | |
download | linux-82b1df1b083ff1b1c45fcdf5a844351cdca03ed8.tar.xz |
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 'arch')
0 files changed, 0 insertions, 0 deletions