Skip to content

Commit

Permalink
[SCSI] mpt2sas: Debug string changes from target to device.
Browse files Browse the repository at this point in the history
Changing debug print to correct string.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Kashyap, Desai authored and James Bottomley committed Dec 21, 2010
1 parent b41c09d commit 37aaa78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/mpt2sas/mpt2sas_scsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 37aaa78

Please sign in to comment.