From: Andrew Vasquez Date: Thu, 5 Mar 2009 19:07:03 +0000 (-0800) Subject: [SCSI] qla2xxx: Correct truncation in return-code status checking. X-Git-Tag: v2.6.29~41^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6b2fca8205dc33e3bb444835769e4ea4c6bc58d;p=pandora-kernel.git [SCSI] qla2xxx: Correct truncation in return-code status checking. QLA_* return codes are 'int' in size. There were still several legacy check-points which assumed a return-code width of 8-bits. This could cause incorrect assumptions of 'good' status if a return of QLA_FUNCTION_TIMEOUT. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed