aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorArun Easi <arun.easi@qlogic.com>2012-08-22 14:21:35 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 04:10:55 -0400
commit2ad1b67c56c6774ae6cae0d9fb02dec280cd708d (patch)
tree358b9624e751aa41cb37d1d82622b8adf3c43687 /drivers/scsi/qla2xxx/qla_os.c
parent487370af8a8ecbbeea762695ab1bb42639f492fa (diff)
[SCSI] qla2xxx: Use the right field for container_of.
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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c4
1 files 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
3802qla83xx_nic_core_unrecoverable_work(struct work_struct *work) 3802qla83xx_nic_core_unrecoverable_work(struct work_struct *work)
3803{ 3803{
3804 struct qla_hw_data *ha = 3804 struct qla_hw_data *ha =
3805 container_of(work, struct qla_hw_data, nic_core_reset); 3805 container_of(work, struct qla_hw_data, nic_core_unrecoverable);
3806 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); 3806 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev);
3807 uint32_t dev_state = 0; 3807 uint32_t dev_state = 0;
3808 3808
@@ -3824,7 +3824,7 @@ void
3824qla83xx_idc_state_handler_work(struct work_struct *work) 3824qla83xx_idc_state_handler_work(struct work_struct *work)
3825{ 3825{
3826 struct qla_hw_data *ha = 3826 struct qla_hw_data *ha =
3827 container_of(work, struct qla_hw_data, nic_core_reset); 3827 container_of(work, struct qla_hw_data, idc_state_handler);
3828 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); 3828 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev);
3829 uint32_t dev_state = 0; 3829 uint32_t dev_state = 0;
3830 3830