aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-24 18:04:06 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-28 21:52:11 -0400
commit3bf743e7c891d8be8295650b7a6a9b5af083b096 (patch)
treecb44772c2ca37f696300ca197b89e247f83c94d7 /drivers/scsi/scsi_error.c
parent01d7b3b8d09ef78e2c835c03d97ea1d91c26e245 (diff)
[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,
673 SCSI_SENSE_VALID(scmd)) 673 SCSI_SENSE_VALID(scmd))
674 continue; 674 continue;
675 675
676 SCSI_LOG_ERROR_RECOVERY(2, printk("%s: requesting sense" 676 SCSI_LOG_ERROR_RECOVERY(2, scmd_printk(KERN_INFO, scmd,
677 " for id: %d\n", 677 "%s: requesting sense\n",
678 current->comm, 678 current->comm));
679 scmd->device->id));
680 rtn = scsi_request_sense(scmd); 679 rtn = scsi_request_sense(scmd);
681 if (rtn != SUCCESS) 680 if (rtn != SUCCESS)
682 continue; 681 continue;