]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] qla2xxx: Use the right field for container_of.
authorArun Easi <arun.easi@qlogic.com>
Wed, 22 Aug 2012 18:21:35 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 17:28:55 +0000 (18:28 +0100)
Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_os.c

index 37a1b90c4fdaab1942de1e5f53f2707bcbd1083e..84ddd30a21f90fdfc0c22fa931f4e995e93ed67f 100644 (file)
@@ -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;