From patchwork Fri Dec 7 22:28:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Don Brace X-Patchwork-Id: 10718973 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D7A1A109C for ; Fri, 7 Dec 2018 22:29:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4D3D2F2E1 for ; Fri, 7 Dec 2018 22:29:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B61EF2F2E3; Fri, 7 Dec 2018 22:29:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90FE42F2CF for ; Fri, 7 Dec 2018 22:29:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726112AbeLGW3p (ORCPT ); Fri, 7 Dec 2018 17:29:45 -0500 Received: from mail-eopbgr710086.outbound.protection.outlook.com ([40.107.71.86]:9504 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726041AbeLGW3p (ORCPT ); Fri, 7 Dec 2018 17:29:45 -0500 Received: from DM5PR19CA0005.namprd19.prod.outlook.com (2603:10b6:3:151::15) by BLUPR19MB0404.namprd19.prod.outlook.com (2a01:111:e400:c470::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.21; Fri, 7 Dec 2018 22:29:02 +0000 Received: from BN1AFFO11FD006.protection.gbl (2a01:111:f400:7c10::154) by DM5PR19CA0005.outlook.office365.com (2603:10b6:3:151::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1404.19 via Frontend Transport; Fri, 7 Dec 2018 22:29:01 +0000 Authentication-Results: spf=pass (sender IP is 208.19.99.221) smtp.mailfrom=microsemi.com; linux.vnet.ibm.com; dkim=none (message not signed) header.d=none;linux.vnet.ibm.com; dmarc=bestguesspass action=none header.from=microsemi.com; Received-SPF: Pass (protection.outlook.com: domain of microsemi.com designates 208.19.99.221 as permitted sender) receiver=protection.outlook.com; client-ip=208.19.99.221; helo=AUSMBX1.microsemi.net; Received: from AUSMBX1.microsemi.net (208.19.99.221) by BN1AFFO11FD006.mail.protection.outlook.com (10.58.52.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.1404.13 via Frontend Transport; Fri, 7 Dec 2018 22:29:01 +0000 Received: from AUSMBX2.microsemi.net (10.201.34.32) by AUSMBX1.microsemi.net (10.201.34.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Fri, 7 Dec 2018 16:29:00 -0600 Received: from [127.0.1.1] (10.238.32.34) by ausmbx2.microsemi.net (10.201.34.32) with Microsoft SMTP Server id 15.1.1531.3 via Frontend Transport; Fri, 7 Dec 2018 16:28:59 -0600 Subject: [PATCH 09/20] smartpqi: fix disk name mount point From: Don Brace To: , , , , , , , , , , , CC: Date: Fri, 7 Dec 2018 16:28:59 -0600 Message-ID: <154422173982.1218.8933383140339420829.stgit@brunhilda> In-Reply-To: <154422079293.1218.12539829857034151457.stgit@brunhilda> References: <154422079293.1218.12539829857034151457.stgit@brunhilda> User-Agent: StGit/0.19-dirty MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.99.221;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(7916004)(396003)(376002)(39850400004)(136003)(346002)(2980300002)(189003)(199004)(53936002)(8676002)(81156014)(81166006)(305945005)(8936002)(2201001)(9686003)(5660300001)(86362001)(106002)(110136005)(58126008)(316002)(103116003)(4326008)(230700001)(2906002)(478600001)(69596002)(33716001)(16576012)(97736004)(2486003)(23676004)(106466001)(47776003)(50466002)(336012)(14444005)(356004)(446003)(44832011)(476003)(26005)(77096007)(68736007)(76176011)(33896004)(486006)(11346002)(126002)(186003)(921003)(2101003)(1121003)(83996005);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR19MB0404;H:AUSMBX1.microsemi.net;FPR:;SPF:Pass;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD006;1:UhjZgfjJL8AXijPaPhZh+Rde2ESo7LenFQnPnwZL1xm4F9J4UjKj3RYSB5WpakeZJgCumEnfMHsi0X/ejcfIvYjgOjIZIBzFTRMwub/zuY60jK95iBimcE4wzn8FKbFM X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ebee3029-8533-48a7-159f-08d65c936310 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BLUPR19MB0404; X-Microsoft-Exchange-Diagnostics: 1;BLUPR19MB0404;3:e3aLa0s6Ct89dckKwOriaUifUKdQ6jmbqdR3CBtePnYW77XLLjb0OvCZbhAfOEwvVKY5AP6vlY+44cxgoDcU5I1+hRinKDNCGKxN1jzbTkTgRb+Rm+3IghgomcEZz1o8uMatQz2aqRv2X9HgzLCgKsOvzQ/8MWBHLCMFCTYY0ZhVdoKpoL6ZNbMY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IcmnM/AG90Rtv1BZmV4qCriRyDQP3rAszBKJmN45TpshPpZiYhi1rUsF6xLM62JNeTPc9jlEERmVVaQaMXHXhWsWcYOT5IX3tAY2i+HX9wVSWbAIur+BmVjfPmuXH0nzNFl34WpIy0cUIUy7sRZPqakU9nUWKCWGxJmoHdGr9wtsmhDJH7xTMi1eGHcmdc9m19Y88u25ystd8DVmmysM6DmVcs/ZZepnckBkAYDOuZsaqS3Vqp1u1W4wRI5cdEUPmRkSkH6XfnSXN5YVtjYI9o8oSQtiXqfRpcBI9MhWa6bOGUYOrt X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231455)(999002)(944501520)(52105112)(93006095)(93004095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:BLUPR19MB0404;BCL:0;PCL:0;RULEID:;SRVR:BLUPR19MB0404; X-Microsoft-Exchange-Diagnostics: 1;BLUPR19MB0404;4:Zuss0h/kiJSRwaTTFhc7it/ruopZs61mc1LG0ylDe+akP9TwXqihf/xW8gvXEU1U/UfblmHn78+efcTFtIFqIFXRLqoIohMtdIej88nm4fdpfDG6yGnUcDACekGpZNQoJ/stPU0CJ5K2pixKITmrl9DJ0dojEP2qEjXnfndoWJi0kxNZXx9Bo2C3+VOI/CqlFvAQqhfAgbxHjqHAvvb9ccSFae1jMIeaaEPFJAaw6diptTEpA3jwf9rAeMG244XTT+Ye2lfdvuB/znNqwgfMCw== X-Forefront-PRVS: 0879599414 X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BBLUPR19MB0404=3B23=3AFjezGBb?= =?utf-8?q?0+NVYRcessxtIHMpol7l3YszRuObPMcq9m6MX+3jwzhy+U6UgMmuk11d0ET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ReoqtKD8VsOynq6hHgcMzw+SZ/KX7oaiiBMzIGh1m2Hg4R3xRCAQZjMaZYOV7wGdoX4dvK9UoYgqvUe6/+Zs9iDTOz2fYcYVfTAg/b3Hb6ACA6k/jXE9kN6gI00zpZ4RIiFAK8fRxe8ng==;5:CY099JlIsIvum4DfVwLw7V16cJwhdGjs5vMwvd65KloWfJFF6OPL7HJnapdrYeNy947K62vfjB2ditkWove2WwQZihwM9ouqBIKVkG/Di/T6NrT117rxZwnpM/oPCxlg31f1bti/SmwK0Bz6768Cf5c2t4E3ASvv6kXl4VRYJdc=;7:2pOGFEma9ux7LLEcsUIoyNLN4TSLszCt3zIujWeqYXqba3HeT3D1Z7no1xe1G8pQUpxag4Oq4p2+pmLUIhMwTJAU2v6zXBtA6it4qUtpw4iwERnVbic0L2OHSCyVpMKHNE7GH9c4DAvzIAcX+SNQOw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2018 22:29:01.0198 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ebee3029-8533-48a7-159f-08d65c936310 X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad;Ip=[208.19.99.221];Helo=[AUSMBX1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR19MB0404 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Murthy Bhat - fix a formatting issue. Reviewed-by: Mahesh Rajashekhara Reviewed-by: Scott Teel Reviewed-by: Dave Carroll Reviewed-by: Kevin Barnett Signed-off-by: Murthy Bhat Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi_init.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index 7ece16495a09..6716d30dc5ef 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,