Message ID | 20170613163339.23005-2-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> 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 78E90602C9 for <patchwork-dm-devel@patchwork.kernel.org>; Tue, 13 Jun 2017 16:34:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A8C628560 for <patchwork-dm-devel@patchwork.kernel.org>; Tue, 13 Jun 2017 16:34:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D9BF285E9; Tue, 13 Jun 2017 16:34:24 +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 C7CD128560 for <patchwork-dm-devel@patchwork.kernel.org>; Tue, 13 Jun 2017 16:34:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C5A6080486; Tue, 13 Jun 2017 16:34:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C5A6080486 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=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C5A6080486 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="hm69QDaj" Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A21998B7A0; Tue, 13 Jun 2017 16:34:22 +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 718FA1841C44; Tue, 13 Jun 2017 16:34:22 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v5DGYKLv012190 for <dm-devel@listman.util.phx.redhat.com>; Tue, 13 Jun 2017 12:34:20 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4E026A3941; Tue, 13 Jun 2017 16:34:20 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 43023A3944 for <dm-devel@redhat.com>; Tue, 13 Jun 2017 16:34:18 +0000 (UTC) Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) (using TLSv1.2 with cipher RC4-SHA (112/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C633BC050919 for <dm-devel@redhat.com>; Tue, 13 Jun 2017 16:34:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C633BC050919 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C633BC050919 X-IronPort-AV: E=Sophos;i="5.39,338,1493654400"; d="scan'208";a="127740074" Received: from mail-by2nam01lp0181.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([216.32.181.181]) by ob1.hgst.iphmx.com with ESMTP; 14 Jun 2017 00:33:53 +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=V1O0iMK9NwNBRbVoAiOXyS1v7+Z5BIOMchtyAoyQ6Is=; b=hm69QDaj08w8PVW7bOTdhKsJ9VelenUe5pIiQwrjc3aYciPrrMR0zg6IOEYJj6T6QZDOLGeA+qdgVIxOMYNrBl8FO2h8XyXFsjfBHmQkzZF8Mg8YcejWN9+5IuMMLiEJGZkh+hXYsF0rDhIJSzoqtX2uLQ08ucM2IsXo4bIszIQ= Received: from CY1PR04CA0023.namprd04.prod.outlook.com (10.166.187.33) by BLUPR04MB545.namprd04.prod.outlook.com (10.141.29.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Tue, 13 Jun 2017 16:33:49 +0000 Received: from BN3NAM04FT054.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::206) by CY1PR04CA0023.outlook.office365.com (2a01:111:e400:c5a5::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Tue, 13 Jun 2017 16:33:49 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 BN3NAM04FT054.mail.protection.outlook.com (10.152.93.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1143.11 via Frontend Transport; Tue, 13 Jun 2017 16:33:48 +0000 Received: from MILHUBIP04.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 62.DB.02805.8E310495; Tue, 13 Jun 2017 09:33:44 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 13 Jun 2017 09:33:43 -0700 X-AuditID: 0ac94369-9c18398000000af5-37-594013e8ed61 Received: from exp-402881.sandisk.com.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 7F.82.18148.5E310495; Tue, 13 Jun 2017 09:33:41 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Christophe Varoqui <christophe.varoqui@opensvc.com> Date: Tue, 13 Jun 2017 09:33:36 -0700 Message-ID: <20170613163339.23005-2-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+NgFjrNLMWRmVeSWpSXmKPExsXCddJ5ke4LYYdIgyV7LS3WfZzLZrH33WxW i841a1kcmD12zrrL7rHm9mlWj/f7rrIFMEdx2aSk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Ri84ohf/eFy4 wLLAUVp8562cU0LRHSoFB9i08i8ItTm6maZIiPZqGr/c9VDzaNuPmNynewu+zv/8Pzt96kTN Rc7S7ywZHya/WPMusObU+xaTFT8+tTGJGa2a+5fDO08mQyXuT9mPc95vlFiKMxINtZiLihMB nNvvEa8BAAA= 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)(39850400002)(39400400002)(39450400003)(39860400002)(39410400002)(39840400002)(2980300002)(438002)(189002)(199003)(39060400002)(5003940100001)(47776003)(5660300001)(50986999)(53936002)(68736007)(76176999)(6916009)(6666003)(2950100002)(1076002)(54906002)(36756003)(106466001)(189998001)(4326008)(69596002)(97736004)(50466002)(48376002)(86362001)(33646002)(110136004)(50226002)(8936002)(305945005)(38730400002)(2906002)(81166006)(81156014)(356003)(8676002)(72206003)(478600001)(77096006); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR04MB545; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT054; 1:BkYyQaGDhPSDyG76zJBvW3hKt1bZoI7F+jTYgQnCsmgNo5XZUnLkIJ38MnTQq2JF7kfMQhhphXofEjkJN9WsLGRLcqCwwVm9Ea2i7yvGrR+ouU23KlFROJdNX7dxP3rs6FO8GLEH/OE3J66+jGmg243CLwzC+PFSUTzAEEr5e2mUMoJyKixEdDL4Dcvd+ySdyKKQ+k5wLNqlhzkNVeo/gpfB8y9jqIGw/nhkQWfcpiC6mEHpOqFwYh8qEpdeQ4znInizMlceKwbVgCzo0C8zsDuao3XxwrgQ2xgtY0QBz0feAt+J7BQfI+PKcUQakQ8hzn24IkW5WORsH18yrSUVD2I8/ZFFl6uzGMBnIR1MAvGmEXFyqdRvuZZmHb/KWwaduYO7B3ZOtuyyraY2XWcyG1UmbtttqsB/BOJO/jGeQ4H+f35L5BnAie2rcJ86FmyWQ0vbu43NL7e885Yb8v6fvyjyuR/kdzfK562zhRLu4Isip3GCs7mb+2DmW3ho1SJezE5nQku+kYlS4itXaLGBKNdi6l4RhvbaujWVZJ0vLq2UL9ZWmGPum1JL0d5AoOxvLSBS2jbKQzwk79hqnCGBBQ== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3de85052-67e9-476d-fefc-08d4b279f81f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR04MB545; X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB545; 3:x6/+NWKf6F5cWwuCmI+yCPoQwfXuXk93wEwjcdkROXv8t4kMCC6JufNo6F0AgPKa+P1HaBQyIyU3BmXQKZUG8Dm1EoliZ8FiaqIwXeH2F4Gt/hDy3Xlz3eed3HSFFgq5I7mR+dDo4to1Y27hQWSFdS009D9R18oxR/cQfGpA5/79ux4XYxNNlo9pMsr+xNvor4679l8vE+7APBR7+BSWDntd5ugpyivwKL9M3wkmaM9bCNm3Q9c8bTvNpvM5ZxifHB0pDv1TO3QQmT7svY43w92E5z46/LzzPcNp1m6XRRhe/ENhdcDXtDMCyGFczILziDcQeJ0VB3rUwcgTLZKCF0pK88Hb/o30w39KwDQZbvXoq12EgJBPL+DFDx2Vdd9PchE9NTQxAn/bqSd2GUXdueBrCLeeXsOOomxEHdSsVF1Oyy4rmmjoGPYGW0WiV/RFHqX3+ZPwSMKvUKRg+DaSRhUMDPyNU7uf1ARLR+luTFREX4JJMHkE9GRe/x4LPCv4 X-MS-TrafficTypeDiagnostic: BLUPR04MB545: X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB545; 25:jXkl47Uu8yHr/gyHdagAA8r6T4LjSRrBoPzUGaewpSqjG+U8NAk6xLTw23bP45xKLMW+8uAvR3ADdIVp3l08RVIpf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YPc/wTzfX1Nyg79k3nbYCQqtxXNKF21fWWdXoA64D3kPdPDDyG84kOymXISL4yx+aPEGju83EhkVuN0F/Siy8iy7IE+Sa3mnqQBkuG/WLSjMUOSkV2/a4EPDwxxhCRpAH++TNY2Fk+ZIIES5mjiIiaEx3yrp9+r/KyVA+ReXVmhFAonvMlCSiO+N2LB9mqk44FQtDErV7PRCZ X-Microsoft-Antispam-PRVS: <BLUPR04MB545F724AFE6F5EDB7AAB08C81C20@BLUPR04MB545.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13018025)(5005006)(13016025)(8121501046)(93006095)(93004095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR04MB545; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR04MB545; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR04MB545; 4:+7jgJqsLQAXEnHm7vOQQXBh/PgroTus8f8Ky/VjP8gE?= =?us-ascii?Q?0KUcUC4TMLqLiqW5DqmQ/3lPlv4jtuhqAbSYSdt5YK/wMY+42xkLOGab16wb?= =?us-ascii?Q?WcRZCL3ch6R+JCCjBUkZXJdX59tCS6Xwqw7vXsFYMpoXvYVD/etE7ZUgUgxg?= =?us-ascii?Q?gscMzM+dZksa/wHN1DjiIW4DTY80dm1c0hbX08M8yag9pwQy+HPowLBtaBWd?= =?us-ascii?Q?2au4RDbHVpE037+/EAOpN/Vd0qQ5rre3y/czvzDCUxr1qDjHhy2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Lf/mMMVRjJaTE4IxJFf6s2XuggCRkeTTVWih?= =?us-ascii?Q?sCctpxvu9pzLS6Xu0Pawjm7uaPgZXSGb8VODVGswdwZkorgeRpTiYcDNvEhC?= =?us-ascii?Q?lRqfSJ5EmvHMpck4=3D?= X-Forefront-PRVS: 0337AFFE9A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR04MB545; 23:umEA0uzyqkChZf8uZYJUqNg+tth9r7ah1fpffUQIoH?= =?us-ascii?Q?NoDfdlGGHAnD6WERH8roXqJ3ABGLuFxCjJw4YCFzYz2YU3I46PkE4dUf3rE7?= =?us-ascii?Q?hiA7yTgNkN10wCEtQPwjslaktZmtD4jBRw0jFVZBKCHWGasXFnZik8TqcDGk?= =?us-ascii?Q?a7mngTvjrDxQLpwLoAET8WXUimRnBqB+IDzkqAzbW0aSV8EMHaRkkfovmRDT?= =?us-ascii?Q?gc+jEq9tzon4UtEI1ptoROdZdBDzNUWmaZSFkZM34kFY8ouKyVZcLYgtbZ5c?= =?us-ascii?Q?1+GxYLG7DKXI92UCNU1G02DG4kxDaX8aQr245vRmqiLXgYahSmllEDjsOuUy?= =?us-ascii?Q?Awm5FJ0Vdl5vpH34L6BnPRI1kcWsAiLjlfKfIaq6PkpEayTV+zB/ay7LaPDR?= =?us-ascii?Q?bnsgDSMvQWruqx/dy2y3kO0XODiJq3GzHPI/yasGr1LlBWq65CbQTSVScS8I?= =?us-ascii?Q?GegJidx8/vDvzivwOL+E4NYiKr3qQKUUFeJrBnZ5j9PjFiJXwwxPPkVvfgkD?= =?us-ascii?Q?cpDOXNnRMNgPDu9hGlBlL3KUbGYpHEU3ti0DtrD0nDcsrOfhJJ4BI8PyNGx6?= =?us-ascii?Q?symYJdxxtZ2cSuS77CMzXB91dU0OKZ7zFhUdG6cpJi151M0ssOG9OMeS8+gq?= =?us-ascii?Q?U0xYGBIz8AeNKTe1yT1MlE2x0YUQqnnM6fVpkJc8yqZY7CYpMZpvpZvgorzT?= =?us-ascii?Q?2fGbCZXus9ebm1WzEAwL2muZk5FX9RyM0fOkqYT/eKiwosXK2ipPNzj61WRs?= =?us-ascii?Q?hBNX/NB29xwWThWI+o6XdS18K5GfkG04ZGglp8W6chAhTpjExOotB1MwYM21?= =?us-ascii?Q?CBDB6yyxHttWYV+g0eL7Ew9f90D59lPhHtoWvpAjWJGxT4MR7H5Ep7PGmzhw?= =?us-ascii?Q?M5A1tr8+CURkZjCIf9UuNvoG5zYMrnHkiYgdDOLiPmKJars/kCBmhVA5DVl8?= =?us-ascii?Q?c6eJeNhg/N4dMWe7NUYWZqqfZJh6HER+7oL7fq480vTy4BYz79mt2+d7bbk7?= =?us-ascii?Q?EmJjf+P7aFbi2y/sk0fPRgD3b80bTsGELlq/LrkrqF7vAHZ/TTLF5TWesS8u?= =?us-ascii?Q?NWbTdhImEfG/E9Jq9Wo255ChMFHYLZnPkEBoMOn5P8iUcey6sKnM2GY7dUOR?= =?us-ascii?Q?S3PKysEqYMOwSZzNpZB2cjDaFpBGcc+TKaeXj1RVQJlCyHqIXZU4LvI918GT?= =?us-ascii?Q?ClXnSaYKiMj6w=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB545; 6:3mWUdOr41SdKk838RJf09n3InQJRDFbPP0jZHbnz/7dKFiM7TqfAgjDvKf+9u65555p9IBJCAcL1nfC66Vs1ODPFA17eCQs1qi0epHLNV/sxrvUR9OhDke08KWiNwkLXsvXZOC9yL7w/rInSVKLjSErKpKAbhMVxjqHFft5NAGq13jRN35+nh+LrxvNXXbUcc6DxnkL0vkrT5ddXOiX3eACoaiGFIw8mFOIl+jFbq5kI587l69+DQjf3cj6eMduSzZujuQoaqEVlSYFKvSrDAtFGSFtPqY0DvBHjqLDf4EQRexmG3Sts1bCO4P62tajnOfdhOQdO4KCoFIHVc7jWyuR00TZeQcT39hHWo8silMPjSbjGLmUv95AynvO7Hx1KIJfmjlxyHo63WHb8qoABJTf1zoo/dGcYFcuvZwG/eCUpNqkKEULc7/XyMzka+P8GkkGn/kSif3SrNczC6n21VWRbXdWEprf4iJF1Kse3mJHb9QWFD3JE9ms9/0jclkPKNG50N6u/IWG8hCDxev5u0/SO8ZqdFLLLMo6PXnqlVa8= X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB545; 5:SIzVlyPVplhFO75LqpWSzblNSMkzSGzQpfYmaTGSRXCyVYRxUIxNolq9nYp1yoIgQWv/hew3oDYkVOU5mWeqKueoLlryPMTDRI4ot1T2Gl5wu26lllDOgQqP3LT/bhNc1yQWM4dzUxO8YjFPFpQ79HNYexDJwmib+GyjipOfZIFzpkqPoVDcDqJvriz3Y4tw8L9L6voYjetehu61VjtD4SETpflrBsqdCmRsdkBZ32iLLlYfCjPmdwYaPW8YVSW2D/1asimNqChEKZ3JJscdXdAbuSkty1YpMzvyYrvE95QXCZOFo269tdnBSiLu9ng1Dd2TRSp8+rH72Dnv1szF91H8BQN4m+kpm9oVxr825pJ+9y3j4tyEGBwo7dnGjEiPlQ2AAFeHJ2O/4T/3be39iqR5Qc8L7nBdPB7UmTk4S/i/YH4LhRxkrBu7zKQKzu8A1ArnFW9NpmKS7KEVY7HU0C7S034HH0Q0klA4L4J9nQQd5C0kjV2GnXKZYYmS0c2+; 24:wuLo4x41yMa4RI5uzBllk/8wqgneOoRZjesDSrub0aXev4xm/nG8OSU/MwYMCBwdnXKmfZzrflvUeO7WJD1kBzHmb65CFBSMzlDSI7XvdE8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB545; 7:BQzX0nQJmWKo1lC4hm6yvhazv1CLZU81BbfXo+l4UUxPtQw/S9SaygJyvCyoSAISjS14AAtsyGQbCp8C/EVwBCNRN/WpYDDuzov5uJeTqW8ZSkG05Iuf98uRqy7ffKLOdgYtSjbY5q9U0GI7LakAWPUqbfkPEp+X94T8X/yVt2B31YVGAgw1y++3+fOiIeElTnb7h/AIyE6ST38/uLuUe4LtaN9dKMyg/Ni6C9AD+6DRKbMiojnRTZfE3nby7Ypgu2EiD6aMQVBYqMiPwfryJByoFln/2KCZnx30BVIMoEXjqe1Ie+jG7RYglaJ5vccVMwnj0FxeJbjRJd6GfMTojg==; 20:dsKy6IRW+YNqxVAVAPQvIt3BXJfI3BPns3/plKBkufR2MV92AOdAWoK7vY/St6ULAtSgicl7/nBG+jMa9rlFeIWsawu7PwYRXPC+TPJ2M6C+D/yVY5N/rNRWOxWB7ALavXkKl+DOeoVi5kSB4HikDHvQVa7GbypUDOF8BBw7iaw= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 16:33:48.5809 (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: BLUPR04MB545 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.31]); Tue, 13 Jun 2017 16:34:10 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 13 Jun 2017 16:34:10 +0000 (UTC) for IP:'68.232.141.245' DOMAIN:'esa1.hgst.iphmx.com' HELO:'esa1.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: -0.3 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW) 68.232.141.245 esa1.hgst.iphmx.com 68.232.141.245 esa1.hgst.iphmx.com <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: dm-devel@redhat.com Cc: Bart Van Assche <bart.vanassche@sandisk.com>, dm-devel@redhat.com, Xose Vazquez Perez <xose.vazquez@gmail.com> Subject: [dm-devel] [PATCH 1/4] kpartx: Improve portability of set_loop() X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 13 Jun 2017 16:34:23 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP |
On Tue, 2017-06-13 at 09:33 -0700, Bart Van Assche wrote: > Because macros like __x86_64__ are not defined by the C standard > and because it is easy to convert the int2ptr() macro into > standard C, use (void*)(uintptr_t) instead of int2ptr(). Inline > this macro because it only has one user. This patch does not > change any functionality. > > Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com> > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Xose Vazquez Perez <xose.vazquez@gmail.com> > --- > kpartx/lopart.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > Reviewed-by: Martin Wilck <mwilck@suse.com>
diff --git a/kpartx/lopart.c b/kpartx/lopart.c index 70054459..f7ab91b5 100644 --- a/kpartx/lopart.c +++ b/kpartx/lopart.c @@ -21,6 +21,7 @@ #include <fcntl.h> #include <errno.h> #include <stdlib.h> +#include <stdint.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/stat.h> @@ -37,13 +38,6 @@ #define LOOP_CTL_GET_FREE 0x4C82 #endif -#if !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) \ - && !defined (__s390x__) -#define int2ptr(x) ((void *) ((int) x)) -#else -#define int2ptr(x) ((void *) ((long) x)) -#endif - static char * xstrdup (const char *s) { @@ -249,7 +243,7 @@ int set_loop(const char *device, const char *file, int offset, int *loopro) loopinfo.lo_encrypt_type = LO_CRYPT_NONE; loopinfo.lo_encrypt_key_size = 0; - if (ioctl (fd, LOOP_SET_FD, int2ptr(ffd)) < 0) { + if (ioctl(fd, LOOP_SET_FD, (void*)(uintptr_t)(ffd)) < 0) { perror ("ioctl: LOOP_SET_FD"); close (fd); close (ffd);
Because macros like __x86_64__ are not defined by the C standard and because it is easy to convert the int2ptr() macro into standard C, use (void*)(uintptr_t) instead of int2ptr(). Inline this macro because it only has one user. This patch does not change any functionality. Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Xose Vazquez Perez <xose.vazquez@gmail.com> --- kpartx/lopart.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)