[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
@@ -889,8 +889,9 @@ void scsi_finish_command(struct scsi_cmnd *cmd)
|
||||
if (SCSI_SENSE_VALID(cmd))
|
||||
cmd->result |= (DRIVER_SENSE << 24);
|
||||
|
||||
SCSI_LOG_MLCOMPLETE(4, printk("Notifying upper driver of completion "
|
||||
"for device %d %x\n", sdev->id, cmd->result));
|
||||
SCSI_LOG_MLCOMPLETE(4, sdev_printk(KERN_INFO, sdev,
|
||||
"Notifying upper driver of completion "
|
||||
"(result %x)\n", cmd->result));
|
||||
|
||||
/*
|
||||
* We can get here with use_sg=0, causing a panic in the upper level
|
||||
|
Reference in New Issue
Block a user