staging/rdma/hfi1: Fix for opaportconfig ledon by not checking for portNum
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Sat, 7 Nov 2015 01:07:02 +0000 (20:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit801cfd6d8a24051a34d3cd4429e1ddc172b5aad6
tree77d01d04d4389893db6f4ee66f132dfa3e3c539c
parent702249732580f8f9b392552806b55206642ff401
staging/rdma/hfi1: Fix for opaportconfig ledon by not checking for portNum

opaportconfig ledon fails with error message due to port
number being checked in the attr modifier. This change
removes the check for the port number in AttrMod, so the
P field is ignored.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/mad.c