summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/trace_ctxts.h
diff options
context:
space:
mode:
authorMichael J. Ruhl <michael.j.ruhl@intel.com>2017-05-04 15:15:03 +0300
committerDoug Ledford <dledford@redhat.com>2017-05-05 02:31:46 +0300
commit637a9a7febf8b48d2ac1916f34d639aa81998a8a (patch)
treeb026c81565c19b9543f3103bb061fe989d919ec7 /drivers/infiniband/hw/hfi1/trace_ctxts.h
parent5fbded483c699823a7cca001a5c27ddc4d73370f (diff)
downloadlinux-637a9a7febf8b48d2ac1916f34d639aa81998a8a.tar.xz
IB/hfi1: Correctly clear the pkey
In the close path the context is removed from the device array, and then the clear pkey function is called. The pkey function trys to get the context from the device array, but because it was removed the clearing does not occur. Rework pkey clear function to work as expected. Update the function variable to reflect the correct size and name of the hw_context. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@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>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/trace_ctxts.h')
0 files changed, 0 insertions, 0 deletions