From: Arun Easi Date: Wed, 22 Aug 2012 18:21:35 +0000 (-0400) Subject: [SCSI] qla2xxx: Use the right field for container_of. X-Git-Tag: next-20120917~76^2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cf30daa8db648e6ba56db668d43c3516602604fc;p=karo-tx-linux.git [SCSI] qla2xxx: Use the right field for container_of. Signed-off-by: Arun Easi Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 37a1b90c4fda..84ddd30a21f9 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -3801,7 +3801,7 @@ void qla83xx_nic_core_unrecoverable_work(struct work_struct *work) { struct qla_hw_data *ha = - container_of(work, struct qla_hw_data, nic_core_reset); + container_of(work, struct qla_hw_data, nic_core_unrecoverable); scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); uint32_t dev_state = 0; @@ -3823,7 +3823,7 @@ void qla83xx_idc_state_handler_work(struct work_struct *work) { struct qla_hw_data *ha = - container_of(work, struct qla_hw_data, nic_core_reset); + container_of(work, struct qla_hw_data, idc_state_handler); scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); uint32_t dev_state = 0;