[SCSI] mpt2sas: Debug string changes from target to device.
authorKashyap, Desai <kashyap.desai@lsi.com>
Fri, 12 Nov 2010 23:11:32 +0000 (04:41 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:09 +0000 (12:24 -0600)
Changing debug print to correct string.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c

index a687983..eda347c 100644 (file)
@@ -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);