Message ID | 150654780575.11494.9545979297048993619.stgit@brunhilda (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AE5876037E for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 27 Sep 2017 21:30:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9909A293F9 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 27 Sep 2017 21:30:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 946FF293B1; Wed, 27 Sep 2017 21:30:53 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 4CA7D294B1 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 27 Sep 2017 21:30:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752038AbdI0Va0 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 27 Sep 2017 17:30:26 -0400 Received: from mail-cys01nam02on0068.outbound.protection.outlook.com ([104.47.37.68]:19872 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751801AbdI0VaZ (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 27 Sep 2017 17:30:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kvjNqRm8XgrSLeeRYSTM0Izib2uS6PlEZLLPfW3IpAc=; b=dyO/WgBJ8DpJHE23Ef/0KeCSQjAYKeCYL85sa9HQcSsLk1+Fe6+Fm0HZowpd6MmLjw1WYZWViS32c/tIkWO1tuZ2kufZp1bWLe+F6fn+bwSghwZUeKmXkwa4S299T8pHPiA2jTh7h2XCxd14xohv1LRp6oiU/iEywm4Lkt99UAo= Received: from MWHPR0201CA0012.namprd02.prod.outlook.com (10.167.160.153) by MWHPR02MB2208.namprd02.prod.outlook.com (10.168.243.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 27 Sep 2017 21:30:23 +0000 Received: from BN1BFFO11FD019.protection.gbl (2a01:111:f400:7c10::1:115) by MWHPR0201CA0012.outlook.office365.com (2603:10b6:301:74::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.8 via Frontend Transport; Wed, 27 Sep 2017 21:30:23 +0000 Authentication-Results: spf=pass (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=bestguesspass action=none header.from=microsemi.com; Received-SPF: Pass (protection.outlook.com: domain of microsemi.com designates 208.19.100.21 as permitted sender) receiver=protection.outlook.com; client-ip=208.19.100.21; helo=avsrvexchhts1.microsemi.net; Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BN1BFFO11FD019.mail.protection.outlook.com (10.58.144.82) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.56.11 via Frontend Transport; Wed, 27 Sep 2017 21:30:22 +0000 Received: from [127.0.1.1] (10.238.32.34) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server id 14.3.361.1; Wed, 27 Sep 2017 14:30:06 -0700 Subject: [PATCH 2/3] smartpqi: cleanup raid map warning message From: Don Brace <don.brace@microsemi.com> To: <joseph.szczypek@hpe.com>, <gerry.morong@microsemi.com>, <john.hall@microsemi.com>, <jejb@linux.vnet.ibm.com>, <Kevin.Barnett@microsemi.com>, <Mahesh.Rajashekhara@microsemi.com>, <bader.alisaleh@microsemi.com>, <hch@infradead.org>, <scott.teel@microsemi.com>, <Viswas.G@microsemi.com>, <Justin.Lindley@microsemi.com>, <scott.benesh@microsemi.com>, <POSWALD@suse.com> CC: <linux-scsi@vger.kernel.org> Date: Wed, 27 Sep 2017 16:30:05 -0500 Message-ID: <150654780575.11494.9545979297048993619.stgit@brunhilda> In-Reply-To: <150654770573.11494.168365142464423047.stgit@brunhilda> References: <150654770573.11494.168365142464423047.stgit@brunhilda> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916004)(39860400002)(346002)(376002)(2980300002)(438002)(189002)(199003)(478600001)(50986999)(54356999)(5660300001)(33716001)(230700001)(106466001)(76176999)(33646002)(23676002)(47776003)(4326008)(83506001)(53936002)(2906002)(110136005)(103116003)(15650500001)(97736004)(16576012)(81166006)(104016004)(68736007)(2201001)(189998001)(81156014)(77096006)(8676002)(8936002)(316002)(305945005)(9686003)(58126008)(356003)(86362001)(2950100002)(50466002)(69596002)(921003)(2101003)(1121003)(83996005); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR02MB2208; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD019; 1:QZJRhsi8SfIJbDKVU5VV+wZRq7CM3YuLdGSVWm0IBv4qwLKnSRXJm2lvBcBThuddhYNC+wET5xWRgQM3U7xW0ITFqsRHOKKt9MG1dij8jjFyNUIFF4WLMLTwrCCdANqq X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 30cc31b4-c36c-4fe5-9d94-08d505eef630 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(8251501002)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:MWHPR02MB2208; X-Microsoft-Exchange-Diagnostics: 1; MWHPR02MB2208; 3:EiWMf5jkcgFZbt+Nw5uUnRe1CZdSwRFsJjfY2MxG6mHavDMrPfRuy9ACoB4AXeZZwQiwqPNNSzdBRQs0POyFZWEjxYcnO3ja3NZgJu+w9zZcqFVK321W5Eei53ciO/05wDsM7gtkU++vkCT0Jo41QNWQIYGN9PP7gYqB8jJQ1kaZuDavapVUQz8kTGmTR1Q3Aid33go5VNkZFGFGG2sOdNgZdAXHdmXSRD5pSUDBDWaXWCAvFSlb3ZygEKaSvSqT+maEiWsRG83WBYWNcddyBDEd1yFJzEBkSPurgwvCihCGuXZlIhKBLWBZdD1CrzP9Acjp0WKu5gdwClRoVVAAXH3s3LLnSwtdu3OndHQvpgU=; 25:4g1l1QS2v44n6S718GWQmjdpjlp7bwOeQVaQzVRwC3SkeUpGGOkvKUeXp1m1Hs3rz83XJIc69xHBgENVesydSb3xocFiu+bL8xeIttyz5JjtrHduMmhaxPcsDpD97gfh2b8N9s3f0KfJNZ8RjRPmBAHG3S0DQgFMUjm51yNmIcy4uyOeXZXIKEjBlL5lUBoD+059W/wGDYmD83A1aAmlw1wMa0/Rj2AjaHqF2wBt7mkZp8JY2J6o1vAdnx2Ijk/hBs+ly4kluQm8yTZ/vatHfeytCxrzlVccEokk0/hdXp0LOE9lG74wzK+jx13O3PfzZxVCuwgea9Rzrh3T6OljTw== X-MS-TrafficTypeDiagnostic: MWHPR02MB2208: X-Microsoft-Exchange-Diagnostics: 1; MWHPR02MB2208; 31:nQWOWXWuM3CoNykXBhKGAKfO1208Ox96neKm97F4/aygdAA4webw3kstIMWbiz1JMvlfzJOrlgz9+mJNhuUHJG9f6jfTW1KtFYwoz0hNSm8a1YQ2whr6f5B636l0Vk7+LTeU9lVW0jQqI6oawhYgV7QEg6vNT3FMeL5BsoJaEwI2uqBnVo7z9fp29hZ6qrEU/gqgrYVSLBt3Kn9p3HyMgSQc+Cs0uj2zVhoer3rtj/k=; 20:2Cg5QIFnOJ+ObKzfiYYeVMmvFRlX3TyZTnIp5cIHoleV2ZeCUfjJKOMrbdGpcAHc5tu5QFso8TN6S7u4wUfQn6YZiAoMYZajwhJEsWcNGI4S1y8iN2CH4cqzuDSO3xs0GW4P69WW5Qh0yaQjE/sBCQnkKR13Ow0DDNEwEnPTG8Hnf5tRFN4c92/rs448emNuoQ3662bNWoTEksKilH2BnCIE9k3SycztvM3BHwEFLUtbaXOaKcW6AJfAlibFqxyhXXA7G42j6G4iNXQM5ILJ6OiM6ImPo/QwBe6VJCOgTVdynBkqUAPqefytdqozSPMVPRNN2HcMA4rKAzK7ep1AVqYSURQaOvoMAu5hJ55CI4vM28d/GRKZDN5DHn+Mah4yl/JgynvkK7Vu6j8yUJIU07w5k2mAQ6ylHPG0pnDZ9b6uHQU7nRRFdSFss3Pze5vOaF/LeW1CCBoi+meljeEG44BrpfPMB4w167dzqygIEFykkkQsFyXZs0ZTeY1D7WkC X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Microsoft-Antispam-PRVS: <MWHPR02MB22081DBDAF18F596E8CCF8D4E1780@MWHPR02MB2208.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93004095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123558100)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR02MB2208; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR02MB2208; X-Microsoft-Exchange-Diagnostics: 1; MWHPR02MB2208; 4:hsgUsCS5r16W2TmY1vLa7v3uTa8xrWZoI30qVTLHqUZz5KayTmicLnIC3gvP/oPlNgwzhMqD6HEojja8t29Zs/onBPxB2g6/8c0DveutT4tV/+pPjkKsoYqMDGXUkEYJZfBgwjK2m0pg8WaFP1NDmseMlzlJxjReFt5/0cv/mblxRj90WEb3ekmmrBSxsN1ZjzosAENoAswFOQHyEarGoNHhzJizPt3AOQZiNH2+Xi2ejNLYsSvOnNS1RH7LrSvjad6TPyGnRStlRe4+bn1LokJi7uTnO8r+k/2ootBBJsg= X-Forefront-PRVS: 04433051BF X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjAyTUIyMjA4OzIzOjUxbUVTamd6UFV2cVQ3VHgwUGk3M0Rxa1RW?= =?utf-8?B?MnBsSUVEQVJ0QmdCaVJoejI2bmNKOXUxVFEyY3BQYkdBZlVoejJkd3hudGNH?= =?utf-8?B?SWdydENTL3VtTnBaTXA4SlZ3VzdsR25pcVVpZVptam5qMXd5T2Uzd3c4N1lU?= =?utf-8?B?eEFyaUE0Z2JUb1JuTWYxeUU0dXdWVEh1VUVmSTJITGpjai9SVEVRVmtTc0l2?= =?utf-8?B?WEVhdzJiMCtnSWZQRm5hRWFUdjZtVXNMM0lNZ01WajhxN1JZalR3b1V0bHJI?= =?utf-8?B?ZUJCc3ZPRmpNZnZQL3U4YUkyL2tmdzRkUFVTMU9McytQcDR0aWJhUXdzS2Ny?= =?utf-8?B?VXJqZjk1QW51MnVNOHNZcXlaQnVqMm84aC9KV0pxdE1aVVRJRkRnU3dOTS9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Sdo5FvmnZjbjM8GfmZNF5+0AvVNWkBlYyi9+r+tztVuApz7lxOp9qL/+yeHPFMjYnKtjn/dwqCXQok8ejXe74uEm9jP7c69DV0b/7oPi+JTaikZxSbKymGSouB+O47Kqg/loJONBJiMh/Znq/yAaz4qplhURILb+INsL+J+LL50JY11gWo+DuvA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2017 21:30:22.9941 (UTC) X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.21]; Helo=[avsrvexchhts1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2208 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On 27.9.2017 23:30, Don Brace wrote: > From: Kevin Barnett <kevin.barnett@microsemi.com> > > 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> > Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com> > Signed-off-by: Don Brace <don.brace@microsemi.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com>
diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index 677b88e..be83d92 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -1078,9 +1078,9 @@ static int pqi_validate_raid_map(struct pqi_ctrl_info *ctrl_info, bad_raid_map: dev_warn(&ctrl_info->pci_dev->dev, - "scsi %d:%d:%d:%d %s\n", - ctrl_info->scsi_host->host_no, - device->bus, device->target, device->lun, err_msg); + "logical device %08x%08x %s\n", + *((u32 *)&device->scsi3addr), + *((u32 *)&device->scsi3addr[4]), err_msg); return -EINVAL; }