aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_scsi_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
-rw-r--r--drivers/scsi/libsas/sas_scsi_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index ceab5e5c41c2..33229348dcb6 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -759,7 +759,7 @@ retry:
759 spin_unlock_irq(shost->host_lock); 759 spin_unlock_irq(shost->host_lock);
760 760
761 SAS_DPRINTK("Enter %s busy: %d failed: %d\n", 761 SAS_DPRINTK("Enter %s busy: %d failed: %d\n",
762 __func__, atomic_read(&shost->host_busy), shost->host_failed); 762 __func__, scsi_host_busy(shost), shost->host_failed);
763 /* 763 /*
764 * Deal with commands that still have SAS tasks (i.e. they didn't 764 * Deal with commands that still have SAS tasks (i.e. they didn't
765 * complete via the normal sas_task completion mechanism), 765 * complete via the normal sas_task completion mechanism),
@@ -801,7 +801,7 @@ out:
801 goto retry; 801 goto retry;
802 802
803 SAS_DPRINTK("--- Exit %s: busy: %d failed: %d tries: %d\n", 803 SAS_DPRINTK("--- Exit %s: busy: %d failed: %d tries: %d\n",
804 __func__, atomic_read(&shost->host_busy), 804 __func__, scsi_host_busy(shost),
805 shost->host_failed, tries); 805 shost->host_failed, tries);
806} 806}
807 807