diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-24 18:04:06 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 20:52:11 -0500 |
commit | 3bf743e7c891d8be8295650b7a6a9b5af083b096 (patch) | |
tree | cb44772c2ca37f696300ca197b89e247f83c94d7 /drivers/scsi/scsi_error.c | |
parent | 01d7b3b8d09ef78e2c835c03d97ea1d91c26e245 (diff) | |
download | blackbird-op-linux-3bf743e7c891d8be8295650b7a6a9b5af083b096.tar.gz blackbird-op-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.c | 7 |
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; |