mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
[SCSI] mpt2sas: Debug string changes from target to device.
Changing debug print to correct string. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
b41c09d1af
commit
37aaa78b81
@ -2274,13 +2274,13 @@ _scsih_dev_reset(struct scsi_cmnd *scmd)
|
||||
|
||||
struct scsi_target *starget = scmd->device->sdev_target;
|
||||
|
||||
starget_printk(KERN_INFO, starget, "attempting target reset! "
|
||||
starget_printk(KERN_INFO, starget, "attempting device reset! "
|
||||
"scmd(%p)\n", scmd);
|
||||
_scsih_tm_display_info(ioc, scmd);
|
||||
|
||||
sas_device_priv_data = scmd->device->hostdata;
|
||||
if (!sas_device_priv_data || !sas_device_priv_data->sas_target) {
|
||||
starget_printk(KERN_INFO, starget, "target been deleted! "
|
||||
starget_printk(KERN_INFO, starget, "device been deleted! "
|
||||
"scmd(%p)\n", scmd);
|
||||
scmd->result = DID_NO_CONNECT << 16;
|
||||
scmd->scsi_done(scmd);
|
||||
|
Loading…
Reference in New Issue
Block a user