From patchwork Tue Jun 13 16:33:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9784361 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: 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 2A550602DC for ; Tue, 13 Jun 2017 16:58:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 256D028581 for ; Tue, 13 Jun 2017 16:58:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19F112858F; Tue, 13 Jun 2017 16:58:16 +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.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7621428581 for ; Tue, 13 Jun 2017 16:58:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 26FA961E64; Tue, 13 Jun 2017 16:58:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 26FA961E64 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 26FA961E64 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="cMAqYHO0" Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4AD9D978C7; Tue, 13 Jun 2017 16:58:12 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id AF9C54BB7F; Tue, 13 Jun 2017 16:58:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v5DGw8UD015071 for ; Tue, 13 Jun 2017 12:58:08 -0400 Received: by smtp.corp.redhat.com (Postfix) id 95B048A8D3; Tue, 13 Jun 2017 16:58:08 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8B2778A8D5 for ; Tue, 13 Jun 2017 16:58:06 +0000 (UTC) Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) (using TLSv1.2 with cipher RC4-SHA (112/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E5D4980485 for ; Tue, 13 Jun 2017 16:57:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E5D4980485 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E5D4980485 X-IronPort-AV: E=Sophos;i="5.39,338,1493654400"; d="scan'208";a="25971417" Received: from mail-sn1nam01lp0114.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.114]) by ob1.hgst.iphmx.com with ESMTP; 14 Jun 2017 00:33:51 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BiMp7L8ECssFgSOFkCB+I3VJjMhsfZO7gXwqiXP8sk0=; b=cMAqYHO0CxGdN0rflxRft6s6JMEYpi2gUyH/gp/gISTC0fMQHn+b+06q+PQGdvkENuG1Cald2jWiAOqQWFJHPFUD1gSEkH0iDSeDGpASzPMPpBJyDKqpAo1ubbiWSxylf2KedSZtKrKog+4zMGafTGPjjgbRUxsaOU4nomC9bgE= Received: from MWHPR04CA0026.namprd04.prod.outlook.com (2603:10b6:300:ee::12) by CO1PR04MB539.namprd04.prod.outlook.com (2a01:111:e400:103e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Tue, 13 Jun 2017 16:33:48 +0000 Received: from SN1NAM04FT044.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::203) by MWHPR04CA0026.outlook.office365.com (2603:10b6:300:ee::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Tue, 13 Jun 2017 16:33:48 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; opensvc.com; dkim=none (message not signed) header.d=none;opensvc.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by SN1NAM04FT044.mail.protection.outlook.com (10.152.89.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1157.12 via Frontend Transport; Tue, 13 Jun 2017 16:33:47 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id B1.DB.02805.6E310495; Tue, 13 Jun 2017 09:33:44 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 13 Jun 2017 09:33:41 -0700 X-AuditID: 0ac94369-593ff70000000af5-31-594013e6b94f Received: from exp-402881.sandisk.com.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id FF.82.18148.5E310495; Tue, 13 Jun 2017 09:33:41 -0700 (PDT) From: Bart Van Assche To: Christophe Varoqui Date: Tue, 13 Jun 2017 09:33:38 -0700 Message-ID: <20170613163339.23005-4-bart.vanassche@sandisk.com> In-Reply-To: <20170613163339.23005-1-bart.vanassche@sandisk.com> References: <20170613163339.23005-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsXCddJ5ke4LYYdIg97rShbrPs5ls9j7bjar A5PHmtunWT3e77vKFsAUxWWTkpqTWZZapG+XwJUx4eZLtoIFPBU7nzxja2Ds4epi5OSQEDCR +DvzN2sXIxeHkMBSJomDF18xQTjbGCWuvPvLBlO1ffI2MFtIYCWjxKr5WiA2m4CRxLf3M1lA bBEBc4n555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iqa9hKQBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(39860400002)(2980300002)(438002)(189002)(199003)(50226002)(4326008)(6666003)(36756003)(77096006)(6916009)(54906002)(8936002)(107886003)(356003)(97736004)(69596002)(38730400002)(189998001)(2950100002)(8676002)(81166006)(81156014)(110136004)(68736007)(305945005)(47776003)(48376002)(50466002)(53936002)(50986999)(478600001)(76176999)(86362001)(33646002)(2906002)(5003940100001)(106466001)(72206003)(5660300001)(1076002)(6606295002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR04MB539; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT044; 1:IqgvC9ykoX3/BGut1iTO3iH8JbDFg4m1O1RakCA53yuVxGuwFG5i394DPra68uKQtSSu8pbbvgK4ZZ/L0Cl7Jlj8a57By6gfxflQ0wpo3ek/y18McAL4h9rpEdf/zmG2EizoqQZMhR9OqNVtOfmHqFtBZhC69bB0rwt0g6D2XpcNk6UthwlI1FiCrndbFY5EhAjxCUUP6GX/GrAfBWTfhXvJcaoRO6BwdLuy9rJCkUr6gJ7dG6KBxh/nfW5DGvDXLTXuOmkdCJF6TYv0Yy884aylC038phlwKpcqf9D7J1MiGN20xPwJAPlZQ0WZ2GKIlVTMfK/FKyiJBLM0cFn/Lh8iIvWvS1KLioa0A9v1NNDibK642LMOPJ5vsWfsrleK1Zg+3pcvcg4AcmXljK/l7uBog1B9GRithHsYa+VEKOxkjegSvCgKCrauNhb6vxCvuTkMy84mruTI9Du+rHvklE3KjsWmFl5XuSrTuuBg4LnQ4qA2k9+oEzxRS5XDHnBV9EPj3rUhL9CmeBTJlM7o1MoTsPpYsL2d2XY9Sdq9xTM= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR04MB539: X-MS-Office365-Filtering-Correlation-Id: bdd7a449-630c-44e0-ffd2-08d4b279f792 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CO1PR04MB539; X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB539; 3:pnAC0rMxi47mXx4A9uwRz607oP2rmm80nbEHfQitqEb5ncoRuJPppcsZHAN9YnE4Di4htxuoGrLXlPXk6GAoEWYFrSYWIMlwXRHzGSqHYKY563myRmkGhGJc8IiSvd+3UG/lJ5TNmSG0U69CCPk0X+F7P/UW3VzrElw26QI8UYSOAXYupHYny2W00rlpr82DLSr8j5a22NUVTgU68QWJHGEAcM7+fVx3FzXyPRtb+jzxIayZCGyDGIwMtujkoKpDxWOuCf94V9XVEIMIOdTBuWNzvoIsnlgzwB8E40c1KIeoCKL8eyatIY+otpqpwmBbVKgjEIiXFqqT3s/WbFuV5LANkWNZGHSeZNhFlPktZA1bFHr+AP5pAeDGougzHauqv3l+UArKBuYTFU/MTc1yLrznykVGEVVQZZGVaTbJ94NK9T5lPYmfqiIKlcX59nCUAlBbPdo3BJZsGTpjC2Yev1nuhGBzb9bTaosYARZFAtLd4yEDr4J94WKX4NWUQ134 X-Microsoft-Exchange-Diagnostics: 1; CO1PR04MB539; 25:gN161R1Gz3cUbNJqsc6MpbeasTyC8JhlxpRoDYS47LFZqzTt2kC93PtKThqtqleTcig5FVtcvKyTLh38P6TpSXPxilGla4tMa7sE7n19ZlMAIrSEbg2/kXokt5tWRir568HA3cHbtARGt0qeZRfI4/bOR3mdSstBKSqN5xNMHd2R1nCV0cRyq1krxQg9vz83COB8L+L1sFD7Vy2eVNuValhmOnKdhi3NOvZ54etv3rfiKcWOMh8ZE4E3aknv2EfVhnng7VUVzRsECJwyCEsVoLBS/jibXnwLYf+ePJyhe9LZw8fC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Antispam-Report-Test: UriScan:(20558992708506)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93004095)(6055026)(6041248)(20161123555025)(20161123562025)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO1PR04MB539; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO1PR04MB539; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO1PR04MB539; 4:BR69rKUx07HPKsLl+rpMhwba9rcqsDLtItvCuA8hQ4y?= =?us-ascii?Q?mVnfAKUaO1UL4r7kIRKhSw64CLGonTNM1C309jRnJatqonyVi6BqOP6BAoJS?= =?us-ascii?Q?DEobqlRnonma3lDE1NsEPNwqVMmLRPNjUNhN8MQHyCZ3DuDsjsk159y+CESZ?= =?us-ascii?Q?bIfBfGY0F/903jar/s9yzj+J+yn7m4tka32qTuO8BqdkXOkKyUvuMX5ArK5B?= =?us-ascii?Q?gMtQJ+4/UZqy8YiQNXpOr1iShTFMy5vMjkCHfSlGFErn1cNM0vxGHMMcAECQ?= =?us-ascii?Q?+oVY/8pK1tpuXJph92rg6zTbqlAOaaSZy6xjUNICAMYyh/TGkN2wWB82/Wrg?= =?us-ascii?Q?TckTNcFxZmePz6ZDhdr41haoWfneRK70P+nImHrcAnxThxMiNa9AqbKbIn6I?= =?us-ascii?Q?/8KMRrOQzStwe6JyAScnQGY6R603iVUdvL9fGR4KGXzWRvB76VbX/SHVkePJ?= =?us-ascii?Q?y59a+GyjcZee9++QgFPohw9w1USOFdGGKAfoGCmlkhenpBlro8AV5pu2N0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atJxMxlCkim5HW+Vk9beu4+u3agBpNpRRmf6wm8iWl1YHiCDt4H+mk1MoFSAbMn/gRKmzpbYhaERIn7KEno+0Uw3bX7sotOSNN1b93Ks= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 16:33:47.7819 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR04MB539 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 203 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 13 Jun 2017 16:57:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 13 Jun 2017 16:57:59 +0000 (UTC) for IP:'216.71.154.42' DOMAIN:'esa4.hgst.iphmx.com' HELO:'esa4.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0 (BAYES_50, DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW) 216.71.154.42 esa4.hgst.iphmx.com 216.71.154.42 esa4.hgst.iphmx.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , dm-devel@redhat.com Subject: [dm-devel] [PATCH 3/4] libmultipath/datacore: Remove dead code X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 13 Jun 2017 16:58:14 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Remove those variables a value is assigned to but that are never used. This patch avoids that gcc 7 reports the following warning: datacore.c:98:22: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 8 [-Wformat-truncation=] snprintf(vendor, 8, "%.8s\n", inqBuffp + 8); Signed-off-by: Bart Van Assche Reviewed-by: Martin Wilck --- libmultipath/prioritizers/datacore.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/libmultipath/prioritizers/datacore.c b/libmultipath/prioritizers/datacore.c index 36465ac4..59c98164 100644 --- a/libmultipath/prioritizers/datacore.c +++ b/libmultipath/prioritizers/datacore.c @@ -35,10 +35,6 @@ int datacore_prio (const char *dev, int sg_fd, char * args) { int k; - char vendor[8]; - char product[32]; - char luname[32]; - char wwpn[32]; char sdsname[32]; unsigned char inqCmdBlk[INQ_CMD_LEN] = { INQ_CMD_CODE, 0, 0, 0, INQ_REPLY_LEN, 0 }; unsigned char inqBuff[INQ_REPLY_LEN]; @@ -95,11 +91,7 @@ int datacore_prio (const char *dev, int sg_fd, char * args) if ((io_hdr.info & SG_INFO_OK_MASK) != SG_INFO_OK) return 0; - snprintf(vendor, 8, "%.8s\n", inqBuffp + 8); - snprintf(product, 17, "%.16s", inqBuffp + 16); - snprintf(luname, 21, "%.19s", inqBuffp + 36); - snprintf(wwpn, 17, "%.16s", inqBuffp + 96); - snprintf(sdsname, 17, "%.16s", inqBuffp + 112); + snprintf(sdsname, sizeof(sdsname), "%.16s", inqBuffp + 112); if (strstr(sdsname , preferredsds)) return 1;