commit | 911eccd284d13d78c92ec4f1f1092c03457d732a | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | Fri May 02 11:28:04 2014 -0400 |
committer | Roland Dreier <roland@purestorage.com> | Tue May 27 13:20:26 2014 -0700 |
tree | a3e30e926969b5f292fd5e1f8cea87cc706d74ae | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c [diff] |
IB/qib: Fix port in pkey change event 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. Cc: <stable@vger.kernel.org> 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>