]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] qla2xxx: fix timeout in qla2x00_down_timeout
authorBill Nottingham <notting@redhat.com>
Wed, 30 May 2007 08:16:43 +0000 (04:16 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 30 May 2007 15:15:32 +0000 (10:15 -0500)
commit88f5774b0748d6d9ebec7a39caae98c0d83b8cc8
tree5bd65aee1c4e629b60c23e97ac36450f5a254d41
parentf2f027c6e9912840020be8b78f037d5c8ac665e0
[SCSI] qla2xxx: fix timeout in qla2x00_down_timeout

iterations is unsigned, so it is impossible to get out of the loop
and return -ETIMEDOUT.

Signed-off-by: Bill Nottingham <notting@redhat.com>
Acked-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_os.c