commit | 9950acf945f55222385d85489617e1d81e45fe34 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leon@kernel.org> | Sun Oct 29 21:34:35 2017 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Mon Nov 13 13:53:22 2017 -0500 |
tree | e63621afade4a07df41c85a6e6a061a3d798156e | |
parent | e32d2d7144efca745f6d182ac9abd16ee6c7598e [diff] |
RDMA/cxgb4: Protect from possible dereference Smatch tool reports the following error: drivers/infiniband/hw/cxgb4/qp.c:1886 c4iw_create_qp() error: we previously assumed 'ucontext' could be null (see line 1804) Cc: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>