commit | c6b2fca8205dc33e3bb444835769e4ea4c6bc58d | [log] [tgz] |
---|---|---|
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | Thu Mar 05 11:07:03 2009 -0800 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Tue Mar 10 09:27:54 2009 -0500 |
tree | e632c7928dc1165978c01dc21e571d029ada7079 | |
parent | ee546b6e048586381462ce7bb51c7ddc03819619 [diff] |
[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 <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>