]> 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)
commitd1754f0b7d33182802315dee53735f0a9feb041a
tree72902e44dfb706ea9e311b47323f1c7fa1ae01bc
parentfc17bba95e37cfa8d9e4c49420a3b0836bfdc9a7
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