summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-25 00:04:06 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-29 03:52:11 +0200
commit3bf743e7c891d8be8295650b7a6a9b5af083b096 (patch)
treecb44772c2ca37f696300ca197b89e247f83c94d7 /drivers/scsi/scsi_error.c
parent[SCSI] introduce sfoo_printk, sfoo_id, sfoo_channel helpers (diff)
downloadlinux-3bf743e7c891d8be8295650b7a6a9b5af083b096.tar.xz
linux-3bf743e7c891d8be8295650b7a6a9b5af083b096.zip
[SCSI] use {sdev,scmd,starget,shost}_printk in generic code
rejections fixed and Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
-rw-r--r--drivers/scsi/scsi_error.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index dd6a9f61bdf1..f4da56a79ff6 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -673,10 +673,9 @@ static int scsi_eh_get_sense(struct list_head *work_q,
SCSI_SENSE_VALID(scmd))
continue;
- SCSI_LOG_ERROR_RECOVERY(2, printk("%s: requesting sense"
- " for id: %d\n",
- current->comm,
- scmd->device->id));
+ SCSI_LOG_ERROR_RECOVERY(2, scmd_printk(KERN_INFO, scmd,
+ "%s: requesting sense\n",
+ current->comm));
rtn = scsi_request_sense(scmd);
if (rtn != SUCCESS)
continue;