IB/hfi1: Fix error condition that needs to clean up
authorDean Luick <dean.luick@intel.com>
Thu, 28 Jul 2016 19:21:17 +0000 (15:21 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 3 Aug 2016 02:46:21 +0000 (22:46 -0400)
commit9da7e9a711e6fbecd111b9873682480c77c64192
tree72902e44dfb706ea9e311b47323f1c7fa1ae01bc
parenta383f8ec552c9af5066eb488cc7a2d8b3994151d
IB/hfi1: Fix error condition that needs to clean up

If input validation fails, properly free the request before returning.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/user_sdma.c
This page took 0.024536 seconds and 5 git commands to generate.