staging/rdma/hfi1: Unexpected link up pkey values are not an error
authorDean Luick <dean.luick@intel.com>
Tue, 1 Dec 2015 20:38:21 +0000 (15:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:51:55 +0000 (13:51 -0800)
commit8764522e5251b76666aa39e207069c43f742801d
treec46f7085b83789e8018fcb89a3f2e334d9acab60
parente8597eb01456f11f978f316c41ea54c935eb2f50
staging/rdma/hfi1: Unexpected link up pkey values are not an error

Only warn when link up pkeys are not what we expect.  Also, allow
for the pkey to already be initialized.

Reviewed-by: Arthur Kepner <arthur.kepner@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c