aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r--drivers/scsi/hosts.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index f24d84538fd5..0d48c9ceebd3 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -139,11 +139,11 @@ int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state)
139 139
140 illegal: 140 illegal:
141 SCSI_LOG_ERROR_RECOVERY(1, 141 SCSI_LOG_ERROR_RECOVERY(1,
142 dev_printk(KERN_ERR, &shost->shost_gendev, 142 shost_printk(KERN_ERR, shost,
143 "Illegal host state transition" 143 "Illegal host state transition"
144 "%s->%s\n", 144 "%s->%s\n",
145 scsi_host_state_name(oldstate), 145 scsi_host_state_name(oldstate),
146 scsi_host_state_name(state))); 146 scsi_host_state_name(state)));
147 return -EINVAL; 147 return -EINVAL;
148} 148}
149EXPORT_SYMBOL(scsi_host_set_state); 149EXPORT_SYMBOL(scsi_host_set_state);