summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-13 10:47:22 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-20 18:20:49 +0300
commit6031e079aa4656743298ea235b894ee883f45c71 (patch)
tree23599baf40234cbd2fdbbd4818315cd499e42ed8 /COPYING
parent5c8857b653e71a9850a02837e1268e3198abbd1a (diff)
downloadlinux-6031e079aa4656743298ea235b894ee883f45c71.tar.xz
IB/i40iw: Fix error code in i40iw_create_cq()
We accidentally forgot to set the error code if ib_copy_from_udata() fails. It means we return ERR_PTR(0) which is NULL and results in a NULL dereference in the callers. Fixes: d37498417947 ("i40iw: add files for iwarp interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions