]> asedeno.scripts.mit.edu Git - linux.git/commit
iw_cxgb4: allocate wait object for each memory object
authorSteve Wise <swise@opengridcomputing.com>
Tue, 26 Sep 2017 20:07:26 +0000 (13:07 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:46:40 +0000 (11:46 -0400)
commita3f12da0e99a8d17118ee9e18a1f760a0d427b26
tree817598df613cf7e4838d3fc5c5266b437e9281f0
parente930b4d8a52067c773d9cd6f6bdd7d4ddc99563f
iw_cxgb4: allocate wait object for each memory object

Remove the local stack allocated c4iw_wr_wait object in preparation for
correctly handling timeouts.

Also refactored some code to simplify it and make errpath unwinding
more readable.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/mem.c