]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Refactor get_ctxt_info
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Tue, 26 Sep 2017 14:03:57 +0000 (07:03 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 15:08:05 +0000 (11:08 -0400)
commit2b69897cc12bc429a92cd65703deec3125771705
treec8c7bce6cfe4ec0cb92ebe630a494291f90eaa7d
parenta8900803b9592a13898821607e64e758bf205edd
IB/hfi1: Refactor get_ctxt_info

The IOCTL is a bit unwieldy.  Refactor to a common pattern.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/file_ops.c