]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] qla2xxx: Correct truncation in return-code status checking.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 5 Mar 2009 19:07:03 +0000 (11:07 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 10 Mar 2009 14:27:54 +0000 (09:27 -0500)
commitc6b2fca8205dc33e3bb444835769e4ea4c6bc58d
treee632c7928dc1165978c01dc21e571d029ada7079
parentee546b6e048586381462ce7bb51c7ddc03819619
[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>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c