diff options
Diffstat (limited to 'drivers/scsi/stex.c')
-rw-r--r-- | drivers/scsi/stex.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index 1aa4befcfbd0..713af13b858e 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c | |||
@@ -1162,9 +1162,7 @@ static int stex_abort(struct scsi_cmnd *cmd) | |||
1162 | int result = SUCCESS; | 1162 | int result = SUCCESS; |
1163 | unsigned long flags; | 1163 | unsigned long flags; |
1164 | 1164 | ||
1165 | printk(KERN_INFO DRV_NAME | 1165 | scmd_printk(KERN_INFO, cmd, "aborting command\n"); |
1166 | "(%s): aborting command\n", pci_name(hba->pdev)); | ||
1167 | scsi_print_command(cmd); | ||
1168 | 1166 | ||
1169 | base = hba->mmio_base; | 1167 | base = hba->mmio_base; |
1170 | spin_lock_irqsave(host->host_lock, flags); | 1168 | spin_lock_irqsave(host->host_lock, flags); |
@@ -1352,9 +1350,8 @@ static int stex_reset(struct scsi_cmnd *cmd) | |||
1352 | 1350 | ||
1353 | hba = (struct st_hba *) &cmd->device->host->hostdata[0]; | 1351 | hba = (struct st_hba *) &cmd->device->host->hostdata[0]; |
1354 | 1352 | ||
1355 | printk(KERN_INFO DRV_NAME | 1353 | shost_printk(KERN_INFO, cmd->device->host, |
1356 | "(%s): resetting host\n", pci_name(hba->pdev)); | 1354 | "resetting host\n"); |
1357 | scsi_print_command(cmd); | ||
1358 | 1355 | ||
1359 | return stex_do_reset(hba) ? FAILED : SUCCESS; | 1356 | return stex_do_reset(hba) ? FAILED : SUCCESS; |
1360 | } | 1357 | } |