Commit 37aaa78b authored by Kashyap, Desai's avatar Kashyap, Desai Committed by James Bottomley

[SCSI] mpt2sas: Debug string changes from target to device.

Changing debug print to correct string.
Signed-off-by: default avatarKashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent b41c09d1
...@@ -2274,13 +2274,13 @@ _scsih_dev_reset(struct scsi_cmnd *scmd) ...@@ -2274,13 +2274,13 @@ _scsih_dev_reset(struct scsi_cmnd *scmd)
struct scsi_target *starget = scmd->device->sdev_target; 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); "scmd(%p)\n", scmd);
_scsih_tm_display_info(ioc, scmd); _scsih_tm_display_info(ioc, scmd);
sas_device_priv_data = scmd->device->hostdata; sas_device_priv_data = scmd->device->hostdata;
if (!sas_device_priv_data || !sas_device_priv_data->sas_target) { 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(%p)\n", scmd);
scmd->result = DID_NO_CONNECT << 16; scmd->result = DID_NO_CONNECT << 16;
scmd->scsi_done(scmd); scmd->scsi_done(scmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment