diff options
author | Murthy Bhat <murthy.bhat@microsemi.com> | 2018-12-07 16:28:59 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-19 22:23:34 -0500 |
commit | 5995b236c10a0af748ae7f4e4819307cf6bc3140 (patch) | |
tree | e19a4082b7f6351315164c02caed5aba13498ed1 /drivers/scsi | |
parent | 84a77fefe0451bd9e6894362423d8fa6d14419ab (diff) | |
download | linux-stable-5995b236c10a0af748ae7f4e4819307cf6bc3140.tar.gz linux-stable-5995b236c10a0af748ae7f4e4819307cf6bc3140.tar.bz2 linux-stable-5995b236c10a0af748ae7f4e4819307cf6bc3140.zip |
scsi: smartpqi: fix disk name mount point
- fix a formatting issue.
Reviewed-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Dave Carroll <david.carroll@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Murthy Bhat <murthy.bhat@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/smartpqi/smartpqi_init.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index b0d00157a667..74bd8d90c615 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -5833,7 +5833,12 @@ static ssize_t pqi_unique_id_show(struct device *dev, spin_unlock_irqrestore(&ctrl_info->scsi_device_list_lock, flags); - return snprintf(buffer, PAGE_SIZE, "%16phN", uid); + return snprintf(buffer, PAGE_SIZE, + "%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X\n", + uid[0], uid[1], uid[2], uid[3], + uid[4], uid[5], uid[6], uid[7], + uid[8], uid[9], uid[10], uid[11], + uid[12], uid[13], uid[14], uid[15]); } static ssize_t pqi_lunid_show(struct device *dev, |