diff options
author | Hannes Reinecke <hare@suse.de> | 2017-08-15 02:58:06 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-24 22:28:56 -0400 |
commit | 65e8697ee6f54e802dcebf546f02db9adec05760 (patch) | |
tree | a360f3724795d1bdfce4d19c9e48a155c5f96919 /drivers/scsi/hpsa.c | |
parent | 4d17944a4797f00430ab890d18ec1a5d6fd352d8 (diff) |
scsi: hpsa: Ignore errors for unsupported LV_DEVICE_ID VPD page
Legacy boards might not support the LV_DEVICE_ID VPD page, so
we shouldn't print out an error message here.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 0b0b6dc0fcd4..b34ec4238b95 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -3827,7 +3827,7 @@ static int hpsa_update_device_info(struct ctlr_info *h, | |||
3827 | memset(this_device->device_id, 0, | 3827 | memset(this_device->device_id, 0, |
3828 | sizeof(this_device->device_id)); | 3828 | sizeof(this_device->device_id)); |
3829 | if (hpsa_get_device_id(h, scsi3addr, this_device->device_id, 8, | 3829 | if (hpsa_get_device_id(h, scsi3addr, this_device->device_id, 8, |
3830 | sizeof(this_device->device_id))) | 3830 | sizeof(this_device->device_id) < 0)) |
3831 | dev_err(&h->pdev->dev, | 3831 | dev_err(&h->pdev->dev, |
3832 | "hpsa%d: %s: can't get device id for host %d:C0:T%d:L%d\t%s\t%.16s\n", | 3832 | "hpsa%d: %s: can't get device id for host %d:C0:T%d:L%d\t%s\t%.16s\n", |
3833 | h->ctlr, __func__, | 3833 | h->ctlr, __func__, |