aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-11-12 18:11:32 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 13:24:09 -0500
commit37aaa78b8144d48d77bcd69a3353c88c0686df9e (patch)
tree1902fa6e9f08b5f3082f214108b952697fd4cc18 /drivers/scsi/mpt2sas
parentb41c09d1afc2708b3fab395085f538e1fce9b571 (diff)
[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>
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index a68798350ec8..eda347c57979 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -2274,13 +2274,13 @@ _scsih_dev_reset(struct scsi_cmnd *scmd)
2274 2274
2275 struct scsi_target *starget = scmd->device->sdev_target; 2275 struct scsi_target *starget = scmd->device->sdev_target;
2276 2276
2277 starget_printk(KERN_INFO, starget, "attempting target reset! " 2277 starget_printk(KERN_INFO, starget, "attempting device reset! "
2278 "scmd(%p)\n", scmd); 2278 "scmd(%p)\n", scmd);
2279 _scsih_tm_display_info(ioc, scmd); 2279 _scsih_tm_display_info(ioc, scmd);
2280 2280
2281 sas_device_priv_data = scmd->device->hostdata; 2281 sas_device_priv_data = scmd->device->hostdata;
2282 if (!sas_device_priv_data || !sas_device_priv_data->sas_target) { 2282 if (!sas_device_priv_data || !sas_device_priv_data->sas_target) {
2283 starget_printk(KERN_INFO, starget, "target been deleted! " 2283 starget_printk(KERN_INFO, starget, "device been deleted! "
2284 "scmd(%p)\n", scmd); 2284 "scmd(%p)\n", scmd);
2285 scmd->result = DID_NO_CONNECT << 16; 2285 scmd->result = DID_NO_CONNECT << 16;
2286 scmd->scsi_done(scmd); 2286 scmd->scsi_done(scmd);