]> 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)
commitfe9e2cc1ca296d3b5409fa39682d3119b432986d
treec8c7bce6cfe4ec0cb92ebe630a494291f90eaa7d
parent22c1dc216f9cc67ee50d9e2c71e58d66e2d9624b
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