diff options
-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) | |||
407 | */ | 407 | */ |
408 | if (port->stats_busy) { | 408 | if (port->stats_busy) { |
409 | if (port->stats_cbfn) | 409 | if (port->stats_cbfn) |
410 | port->stats_cbfn(port->dev, BFA_STATUS_FAILED); | 410 | port->stats_cbfn(port->stats_cbarg, BFA_STATUS_FAILED); |
411 | port->stats_cbfn = NULL; | 411 | port->stats_cbfn = NULL; |
412 | port->stats_busy = BFA_FALSE; | 412 | port->stats_busy = BFA_FALSE; |
413 | } | 413 | } |
@@ -417,7 +417,7 @@ bfa_port_hbfail(void *arg) | |||
417 | */ | 417 | */ |
418 | if (port->endis_pending) { | 418 | if (port->endis_pending) { |
419 | if (port->endis_cbfn) | 419 | if (port->endis_cbfn) |
420 | port->endis_cbfn(port->dev, BFA_STATUS_FAILED); | 420 | port->endis_cbfn(port->endis_cbarg, BFA_STATUS_FAILED); |
421 | port->endis_cbfn = NULL; | 421 | port->endis_cbfn = NULL; |
422 | port->endis_pending = BFA_FALSE; | 422 | port->endis_pending = BFA_FALSE; |
423 | } | 423 | } |