[SCSI] use {sdev,scmd,starget,shost}_printk in generic code
rejections fixed and Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
01d7b3b8d0
commit
3bf743e7c8
@@ -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;
|
||||
|
Reference in New Issue
Block a user