From 2ad1b67c56c6774ae6cae0d9fb02dec280cd708d Mon Sep 17 00:00:00 2001 From: Arun Easi Date: Wed, 22 Aug 2012 14:21:35 -0400 Subject: [PATCH] [SCSI] qla2xxx: Use the right field for container_of. Signed-off-by: Arun Easi Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- drivers/scsi/qla2xxx/qla_os.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index ec7cefcb6722..c7dd29876836 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -3802,7 +3802,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; @@ -3824,7 +3824,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; -- 2.39.5