diff options
author | Hannes Reinecke <hare@suse.de> | 2014-10-24 14:27:03 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 11:16:07 +0100 |
commit | a3a790dcb2f4dc1d8ebcaa4bf87773b9c6a13174 (patch) | |
tree | dec92b3bd6f774ceba37b8170c676fea1c12c2ec /drivers | |
parent | a222b1e2fe4299a01c86ea8ccafbf0a05aeaa5a1 (diff) | |
download | linux-a3a790dcb2f4dc1d8ebcaa4bf87773b9c6a13174.tar.bz2 |
scsi: use shost argument in scsi_eh_prt_fail_stats
The EH statistics are per host, so we should be using
shost_printk() here.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Suggested-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index c2bef46e90e0..44e2576878a3 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -355,7 +355,7 @@ static inline void scsi_eh_prt_fail_stats(struct Scsi_Host *shost, if (cmd_cancel || cmd_failed) { SCSI_LOG_ERROR_RECOVERY(3, - sdev_printk(KERN_INFO, sdev, + shost_printk(KERN_INFO, shost, "%s: cmds failed: %d, cancel: %d\n", __func__, cmd_failed, cmd_cancel)); |