From: Mike Marciniszyn Date: Tue, 11 Jan 2011 01:42:19 +0000 (-0800) Subject: IB/qib: Set port physical state even if other fields are invalid X-Git-Tag: v2.6.38-rc1~406^2^7~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9e5f4d657170c2fbc3d382d2daae3820713a6c;p=pandora-kernel.git IB/qib: Set port physical state even if other fields are invalid The IBTA vol. 1 release 1.2.1 spec. says: C14-24.2.1: If PortInfo:Portstate=Down, then a SubnSet(PortInfo) shall make any changes it specifies to PortInfo:PortPhysicalState; any other result is vendor-dependent. The patch changes the error handling so that the reply says there are invalid fields but still attempts to set fields that are in range including PortInfo:PortPhysicalState. Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- Reading git-diff-tree failed