[SCSI] qla2xxx: Obtain proper host structure during response-queue processing.
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Thu, 4 Feb 2010 22:17:59 +0000 (14:17 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 8 Feb 2010 19:45:55 +0000 (13:45 -0600)
commita67093d46e3caed1a42d694a7de452b61db30562
tree092ef591331f99807fee2fb67bdc7efc2dfb2cc7
parent84eb8fb42c120ff32b201c1cdd910033c888f699
[SCSI] qla2xxx: Obtain proper host structure during response-queue processing.

Original code incorrectly assumed only status-type-0
IOCBs would be queued to the response-queue, and thus all
entries would safely reference a VHA from the IOCB
'handle.'

Cc: stable@kernel.org
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mid.c