]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb6462551679be16b21f4adb3224120a43b95d7e
tree72902e44dfb706ea9e311b47323f1c7fa1ae01bc
parentef206e40f63fc46e4d0291ec75c81f4505ba0ef1
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