summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael J. Ruhl <michael.j.ruhl@intel.com>2017-07-24 17:46:01 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-31 22:17:55 +0300
commit17573972f44d6293ed4fe561816b701241cb0847 (patch)
tree26be8c4546962a50896a809678c646acf5ed2b54 /scripts
parente6f7622df177d594f11d93343c3dda7637c761e0 (diff)
downloadlinux-17573972f44d6293ed4fe561816b701241cb0847.tar.xz
IB/hfi1: Use context pointer rather than context index
The hfi1_<set|clear>_ctxt_<j|p>key functions take a context index and look up the context based on that index. Since the context index is being retrieved from the context, this doesn't seem optimal. Pass the context pointer for use, rather than the context index. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@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 'scripts')
0 files changed, 0 insertions, 0 deletions