diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2014-05-02 11:28:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-06 18:57:27 -0700 |
commit | af8eeb27ebc33289ec68c8a2c8445a6833f5b111 (patch) | |
tree | 83d7917252855598a876ea78189d26723fe7dd5f /lib/locking-selftest-rlock.h | |
parent | a0bc29d985eb8e93844c13158b02d2a0022dc25a (diff) |
IB/qib: Fix port in pkey change event
commit 911eccd284d13d78c92ec4f1f1092c03457d732a upstream.
The code used a literal 1 in dispatching an IB_EVENT_PKEY_CHANGE.
As of the dual port qib QDR card, this is not necessarily correct.
Change to use the port as specified in the call.
Reported-by: Alex Estrin <alex.estrin@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions