diff options
author | Jing Huang <huangj@brocade.com> | 2010-07-09 05:01:07 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 19:04:26 +0200 |
commit | 8a4adf1c906ee07a01cb47297130a71489f2e4f0 (patch) | |
tree | 7ebeaf0691d55e5a899c70ee9c063aa6a89b5cfb /drivers/scsi/bfa/bfa_port.c | |
parent | [SCSI] bfa: add ioc state checking (diff) | |
download | linux-8a4adf1c906ee07a01cb47297130a71489f2e4f0.tar.xz linux-8a4adf1c906ee07a01cb47297130a71489f2e4f0.zip |
[SCSI] bfa: fix wrong arg to callback
This patch fixes the issue of passing wrong argument to callback function.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_port.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_port.c b/drivers/scsi/bfa/bfa_port.c index 6773e2282ddc..c7e69f1e56e3 100644 --- a/drivers/scsi/bfa/bfa_port.c +++ b/drivers/scsi/bfa/bfa_port.c @@ -407,7 +407,7 @@ bfa_port_hbfail(void *arg) */ if (port->stats_busy) { if (port->stats_cbfn) - port->stats_cbfn(port->dev, BFA_STATUS_FAILED); + port->stats_cbfn(port->stats_cbarg, BFA_STATUS_FAILED); port->stats_cbfn = NULL; port->stats_busy = BFA_FALSE; } @@ -417,7 +417,7 @@ bfa_port_hbfail(void *arg) */ if (port->endis_pending) { if (port->endis_cbfn) - port->endis_cbfn(port->dev, BFA_STATUS_FAILED); + port->endis_cbfn(port->endis_cbarg, BFA_STATUS_FAILED); port->endis_cbfn = NULL; port->endis_pending = BFA_FALSE; } |