[SCSI] qla2xxx: Correct NULL pointer bug in cpu affinity mode.
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Wed, 3 Jun 2009 16:55:19 +0000 (09:55 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 19:46:44 +0000 (14:46 -0500)
commit59e0b8b088031b3b751f0608f797f2581f49a827
tree8c1c5c84c3e86abfe9ea1bda8516988b2a8a02e2
parent94b3aa47ac1ea0aa31b3f59ad121cdf55e038594
[SCSI] qla2xxx: Correct NULL pointer bug in cpu affinity mode.

This patch fixes a NULL pointer bug that occurs when IO is being
carried out on a vport for which the cpu affinity mode is turned on.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_iocb.c