diff options
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index f889ec8cc48..db12bc2d7d7 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -2141,14 +2141,14 @@ static int hpsa_eh_device_reset_handler(struct scsi_cmnd *scsicmd) | |||
2141 | h = sdev_to_hba(scsicmd->device); | 2141 | h = sdev_to_hba(scsicmd->device); |
2142 | if (h == NULL) /* paranoia */ | 2142 | if (h == NULL) /* paranoia */ |
2143 | return FAILED; | 2143 | return FAILED; |
2144 | dev_warn(&h->pdev->dev, "resetting drive\n"); | ||
2145 | |||
2146 | dev = scsicmd->device->hostdata; | 2144 | dev = scsicmd->device->hostdata; |
2147 | if (!dev) { | 2145 | if (!dev) { |
2148 | dev_err(&h->pdev->dev, "hpsa_eh_device_reset_handler: " | 2146 | dev_err(&h->pdev->dev, "hpsa_eh_device_reset_handler: " |
2149 | "device lookup failed.\n"); | 2147 | "device lookup failed.\n"); |
2150 | return FAILED; | 2148 | return FAILED; |
2151 | } | 2149 | } |
2150 | dev_warn(&h->pdev->dev, "resetting device %d:%d:%d:%d\n", | ||
2151 | h->scsi_host->host_no, dev->bus, dev->target, dev->lun); | ||
2152 | /* send a reset to the SCSI LUN which the command was sent to */ | 2152 | /* send a reset to the SCSI LUN which the command was sent to */ |
2153 | rc = hpsa_send_reset(h, dev->scsi3addr); | 2153 | rc = hpsa_send_reset(h, dev->scsi3addr); |
2154 | if (rc == 0 && wait_for_device_to_become_ready(h, dev->scsi3addr) == 0) | 2154 | if (rc == 0 && wait_for_device_to_become_ready(h, dev->scsi3addr) == 0) |