mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
[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>
This commit is contained in:
parent
487370af8a
commit
2ad1b67c56
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue