scsi: smartpqi: cleanup raid map warning message
Fix a small cosmetic bug in a very rarely encountered error message that can occur when a LD has a corrupted raid map. Reviewed-by: Scott Benesh <scott.benesh@microsemi.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com> Signed-off-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Родитель
bd809e8dfc
Коммит
38a7338ab5
|
@ -1078,9 +1078,9 @@ static int pqi_validate_raid_map(struct pqi_ctrl_info *ctrl_info,
|
||||||
|
|
||||||
bad_raid_map:
|
bad_raid_map:
|
||||||
dev_warn(&ctrl_info->pci_dev->dev,
|
dev_warn(&ctrl_info->pci_dev->dev,
|
||||||
"scsi %d:%d:%d:%d %s\n",
|
"logical device %08x%08x %s\n",
|
||||||
ctrl_info->scsi_host->host_no,
|
*((u32 *)&device->scsi3addr),
|
||||||
device->bus, device->target, device->lun, err_msg);
|
*((u32 *)&device->scsi3addr[4]), err_msg);
|
||||||
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче