aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-10 23:10:31 +0100
committerDoug Ledford <dledford@redhat.com>2017-11-13 16:11:11 -0500
commitcb9fd89f91337aaca9c96d265930f22b31462e5e (patch)
treeb8d36c73c105b9268826a70c96c08e7c26bda084 /drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h
parentRDMA/bnxt_re: synchronize poll_cq and req_notify_cq verbs (diff)
downloadlinux-dev-cb9fd89f91337aaca9c96d265930f22b31462e5e.tar.xz
linux-dev-cb9fd89f91337aaca9c96d265930f22b31462e5e.zip
RDMA/core: avoid uninitialized variable warning in create_udata
As Dan pointed out, the rework I did makes it harder for smatch and other static checkers to figure out what is going on with the uninitialized pointers. By open-coding the call in create_udata(), we make it more readable for both humans and tools. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 12f727721eee ("IB/uverbs: clean up INIT_UDATA_BUF_OR_NULL usage") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h')
0 files changed, 0 insertions, 0 deletions