From patchwork Wed May 17 15:43:08 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: 9731507 X-Patchwork-Delegate: christophe.varoqui@free.fr 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 029C560363 for ; Wed, 17 May 2017 15:44:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E631B28111 for ; Wed, 17 May 2017 15:44:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAB522843F; Wed, 17 May 2017 15:44:42 +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 4FB2728111 for ; Wed, 17 May 2017 15:44:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0FD5D80484; Wed, 17 May 2017 15:44:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0FD5D80484 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 0FD5D80484 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="VSihdtdV" 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 DB6025B810; Wed, 17 May 2017 15:44:40 +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 988344A48D; Wed, 17 May 2017 15:44:40 +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 v4HFic0p018950 for ; Wed, 17 May 2017 11:44:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id DE5FE18034; Wed, 17 May 2017 15:44:38 +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 9C37618037 for ; Wed, 17 May 2017 15:44:32 +0000 (UTC) Received: from esa2.hgst.iphmx.com (unknown [68.232.143.124]) (using TLSv1.2 with cipher RC4-SHA (112/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 82E90C04B92A for ; Wed, 17 May 2017 15:44:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 82E90C04B92A 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 82E90C04B92A X-IronPort-AV: E=Sophos;i="5.38,355,1491235200"; d="scan'208";a="115232259" Received: from mail-bl2nam02lp0083.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([207.46.163.83]) by ob1.hgst.iphmx.com with ESMTP; 17 May 2017 23:44:16 +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=5xfUCOuaUKQ1DIj7mi8x1+H6qqGlCUaoYkcmRjYExZQ=; b=VSihdtdVosLT2/heH4dMV+0xvIDst1wiwKfKeu2NxUNc7mnfj3FiJTGl3E2nmh+usMAB0GHI+mC+lSKEqDib86K07a67zCmf0KRfubQLjL8a7gh7DQm+4aG4NQ6za04rrt7U3US/iUihnxw7dnNfPRJw73Z8USblB7gjUagLDfM= Received: from CO2PR04CA0065.namprd04.prod.outlook.com (10.166.88.33) by BY2PR0401MB0903.namprd04.prod.outlook.com (10.160.64.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Wed, 17 May 2017 15:43:16 +0000 Received: from SN1NAM04FT038.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::206) by CO2PR04CA0065.outlook.office365.com (2603:10b6:102:1::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14 via Frontend Transport; Wed, 17 May 2017 15:43:15 +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 SN1NAM04FT038.mail.protection.outlook.com (10.152.89.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1075.5 via Frontend Transport; Wed, 17 May 2017 15:43:14 +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 8E.84.29323.09F6C195; Wed, 17 May 2017 08:43:12 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Wed, 17 May 2017 08:43:09 -0700 X-AuditID: 0ac94369-548749800000728b-da-591c6f90d5f2 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 3B.38.11415.D8F6C195; Wed, 17 May 2017 08:43:09 -0700 (PDT) From: Bart Van Assche To: Christophe Varoqui Date: Wed, 17 May 2017 08:43:08 -0700 Message-ID: <20170517154309.17787-7-bart.vanassche@sandisk.com> In-Reply-To: <20170517154309.17787-1-bart.vanassche@sandisk.com> References: <20170517154309.17787-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsXCddJ5ke6EfJlIg4//hCzWfZzLZrH33WxW ByaPNbdPs3q833eVLYApissmJTUnsyy1SN8ugSvj677VbAUneCtOXz/N1MA4n7uLkZNDQsBE 4kr3OvYuRi4OIYGlTBKTb5xmBkkICexglDjdWgFT9LyjiQ2iaDOjxL+5p1lBEmwCRhLf3s9k AbFFBMwl5p9bBmYzC7hLnH75jg3EFhYwlmjauhdsKIuAqsT6y/MYuxg5OHgF7CXu3LSBmC8v cXbLTrASTgEHiV3fvzFC3GAv8bajE+w4CYHnLBK/v0PM4RUQlDg58wnULgmJgy9eQB2tLnFy yXymCYxCs5CUzUJStoCRaRWjWG5mTnFuemqBoalecWJeSmZxtl5yfu4mRkjIZu5gvPvE+xCj AAejEg9vRIBMpBBrYllxZe4hRgkOZiUR3v05QCHelMTKqtSi/Pii0pzU4kOM0hwsSuK852Sm RggJpCeWpGanphakFsFkmTg4pRoY9/v3tXh+uzB5lbwJ6w9e39MmTnXVPcePfYmdlblTWUdR 2PCn1bLPZV9rfrxtY0uJubvD7omWyJbZF0I9D6v19m2S37H0n4KCQM95VXU2rs8Fxwv0VZZZ X1SQejC5zcR25TW/bb1XgkJNdjz7+VN67goRsff5L63XnL5q6R7gwtR7b3tHwrU7SizFGYmG WsxFxYkAZs5KLFUCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMJMWRmVeSWpSXmKPExsXCtZEjRbc3XybS4P0eJYuDP9sYLdZ9nMtm sffdbFYHZo81t0+zerzfd5XNY9qa80wBzFFcNimpOZllqUX6dglcGV/3rWYrOMFbcfr6aaYG xvncXYycHBICJhLPO5rYuhi5OIQENjJKfFr9mgUkwSZgJPHt/UwwW0TAXGL+uWVgNrOAu0Rz 63MmEFtYwFiiaeteZhCbRUBVYv3leYwgNq+AvcT+61sYIRbIS5zdshOshlPAQWLX929gcSGg mrcdnewTGLkXMDKsYhTLzcwpzk3PLDA01CtOzEvJLM7WS87P3cQI9jZn5A7GpxPNDzEycXBK NTA++vujf7VIZEX6x8K53/OZ4t9y2f/8cOH0g7i0KJ2ooIdPPI0ETmf2Hy/4sE7yu6PN7vvT Pr+c5dv7TNX49OXD/yfOjd1yfsubl10L8+XMQvae3hC3Of2q0RPWB7v3+h7Kslt4br/JOjX/ /r8HXtwu+2B0jiej2t7qz6soDaf9iflLMyROrTKQUmIpzkg01GIuKk4EAEBET62mAQAA 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)(39410400002)(39400400002)(39850400002)(39450400003)(39860400002)(39840400002)(2980300002)(438002)(199003)(189002)(9170700003)(50986999)(8936002)(50226002)(48376002)(86362001)(8676002)(50466002)(2950100002)(81166006)(6916009)(77096006)(106466001)(110136004)(53936002)(107886003)(305945005)(38730400002)(54906002)(33646002)(5660300001)(76176999)(1076002)(478600001)(2906002)(47776003)(356003)(5003940100001)(36756003)(189998001)(72206003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0401MB0903; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT038; 1:mc1/5UDlKMShuiOoZ9EpPQjirutJ0Z0+UQ40DOn9KT9LIInnBHFmfmCpKJIKa1r+I1FWPQkLAeLxtbFQFgGm+1R3kdjoAoOrjEqN4o9qTJWcE27QuFuMmD+Bd1rWG6WDXk70D7p4bW2k5N8IS5+ezhBVjA38x+W4qaI+UgXZIkTZQDkRB52/kZbd0eYzcBQCTNuMqsGV6xT7d6+xkvugMv5RCGOqT3zF4tcI7gTPIHjuPNqPuWbF4cs2w/ny9MoaZieCNHnGGRvoXeXBQweS2f9xywZN4dl5Nhfa4THfCnraazKeMj5pkuGPzEA2c6rZU/HhUS8euOoZVhwNKNuoU9iqq9lmDWAJvxkhgx8BVmVasVcMLggJ9V7pZbg03/LewgvrJXQSfyUr/bSPKDQ6BE8iFJHBzQGBtm7VzVsd/hpV46hJCJyUGJ8Q7/ppFBrmVKyiVFty54iu5k1GdukzK8LDbPkAw4nXwuPwruUqP0dOhZb8H5kl540ChERrIOfC X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88464a39-1c52-4c27-c480-08d49d3b6e86 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BY2PR0401MB0903; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0903; 3:z0B/am0oSbrvQs4MpJKaNMKPyGgDGe8/jzez+3h3OWJy2XuPWLt8DhnYw8hac3ssX0G4WoVzjxmva2Xxy2vQyTnTTd2+cQujnE+MgG7VM1+sl6cJ9gHdu3+PEkPLBjdwIc6DsCTHEBoc+TGMNZnR/UvLh1siBPYrUng+jvJiAxfTka/VqdRP4B/5x34zJs1vfWUTCIFPgls3Z3O+5gbOcL7PYgZA72guEIzbgvsLvE41zkJ4eiWklPziL/A611O9ZRTdqxsu8z5T7f8iwKBjiuvunkVexDVXSiVIz7A+U26N0Zt0Mq1RiP2a1vAxAgVu+3oS9bfgEFFjIRbAjMTifm/lMnBcOj/cQ/9JkIjr+O/qxsNZpZVSyxVy30owQ5xJ5VQpJlPXq4HHxEvEhTx6P5g2lC8b2YVvlITAsPkBVdfZ7JQHLofFuzmP/3kw0d+HcsieOzaKY3fZAez0wsuwiJ2gorEFKzzr/5r837iT08mvddNotaZgvDXn2FKyBzzs X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0903; 25:Bt2jCDBU4GSMq27dHBUtHFDQdLkF3TVHLjtNNW+LNI7u2vjhzDGst9gIIOOA2FcG1XD7xnIva64zf4iqbIWSYn76EIPqb+yyE5UEDc/q+6ZrqYwd5/uidceZSvdzv8J48MPMpRoAIvnooK2bYkqFG3pdXEUQ+pOkYL5WXxOert2Ba2B3jDKJDhKSJrOdgXQoihnepWvPzXDuGISO0VPQ7iCnnCxw3do/Hgu8vwu/kY020gsxnJbVYam9COH59tmlnHJSOUlGAP7zpybCpXV0WEAZipX1VwGy8HGBsAZEYRn9suaAeHTjuiHRaCUhC0igeAkxEnvbPT/pnc2xL/jvVBU7ezsYeuBcEYZx8HTORyls3Xmdur/KYsvvBagWD3u4xyBbMDfBktnMo1Er42Gop0GId44i0RwIxlYmJ/JrbQRsAspwfJid7MJPgdJ2SWN4Rn7m4vORyGFKKmFgg1jRgfXxY3wxK/583dNOc8O5ksc=; 31:+DT/RWX5LnN3UB5Ar4hid8aXNMcgMPJlwXr5HkKAPa4XPiNASIMhdGQGivL9wXVTZvokjsLfLTHISTcRAazNy8vYnOyHQEXyahefhjNQZVzSxMa5Ty0QDW4am8IqJhjTrDdo+mUzfl1KrN54yCedYTevZGqpPoO06PCMj85VBsvw8ASE0nlUePc+DAHUafGes1HODFGw94xWvJrD5dFgMmD+qmnGoK1Hje6gGzpElppBZOeBcBdsluTDGo+PIxJ49iaRhyKMCyueBkmBbk9meQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0903; 20:Bj4IqNBdhrZjIPCBjBO/GXQlt3RDW8XTWBJ3q7u/opwBlKKQZB2e/7gdPazJfwMEyCrfrSOH9RGlK7WWegEK2VUsj1b21JGJmxb5rt6S6ejE2it67o0mW6aQs0+zxlalVOoJHh4sUioqDgNlJyM43doKwVD3jqC4mo4I6LUkFRe/VeLborzGd1P+4EngTcz1okI+/6Ey0cBEbgGpXHKXVKCHd1//99/D1HCleB5Cx+49h1iecF+GuM7r0HLeGzTL655HWT8eoXV9RO7067HQtXvxpWcxTWMWaUQKbj6cSHqnw/tWjFET3+pN9VHd2SCMTueRbiPKoaZS9bitPYeX0FmE0cdFyBbrHvtFzp8kb2ZSq53uo285zdxseBCH1AYD5CLldWmnQaLkNRgSagLzZ6eeBe0G43wmrro3MLESQT/OQ8zCHcsEMUSRlOIvy0m+Vp0RufxKG0mO9/aagm+L7ledv9a75s9J4m411cTJUjH6GiPtYblXil7Qljif81Ky X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123558100)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(6072148); SRVR:BY2PR0401MB0903; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0401MB0903; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0903; 4:bkxhNEFECZYXzeUM9sXXogsFJP3Ne3AIe5xB6PCrbg/kCfdqvKf7d5zYfFpBgrqIojd2GluxcCTXpQNSXxZW117O6J+UZPbJz7pLOcaf2v3G+dtqqUARqXgvx+HOPFp6TF/q7Bb3zg1eA59rYYBansqUijwJXKZGCLVNxm6rna4MxhnUkJSKb8OMWY3tF3Tr2AxxRWq6gXrVPbOCRG/hLkfptZtxTRFTo9Gn8HZ3JJgP9U6ByPdMfPsrF583gfYj/YRLWJejoNm97QFt7o21p5/2O4dVleTYAKtmE/YeFch2tj7JiLfQFmcnzlcMa6IDpXqvuQ0Fr0jJqQ55Vm492rtHO+Z3mUDP4ST4RfaUrfOh7lG5GJfSl97Yb1YNSHLf6+QYJhO7Z+ahZvom9h+ijvosJIgEE4BjkukAr4o9NMszxvdKzz8LKyNTsvFLtMXr/yA+l7VPfiZmq4Li4uZDJCIZlnRL0QUPoItYMBwx5RZwxRpo291TbeY9xdqHj+VfgobGvVJX3dVvymnJLn1RTKyxU4eYR41lifLJtyHJIvVcTBjgBCZviKWpI5rjODdevIwg0Ay1Fz1jYx64m2JVmuP9ce7Zy/ULcCGE4ksPhPW4mqvdimFVC8HnCxCaqa1ZQWmtBvsMv3FQQR87e4hs/iVyeNlEYS2rXcgqYJvNOuh5uipgDdR1IExVB2QnVpiKcH7MaamlN0wVJp0eE5HdUUedtprCpu3NQmh9/OchhSnRmfmkd9TqcKUwCved5b5HdrxpFvmuW/OyeDXYDeqMHmuCHBKNubt6+UlhaKeIPEV3DPx48iORaGcpKQNO/nIMm6/ntVVlc/4PpzjFxSYEKvforoWez9s7TnGLn0utVm2MTvoyypKxm8JB/GxVdclG X-Forefront-PRVS: 0310C78181 X-Microsoft-Exchange-Diagnostics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gwBnQqMjPYxKPpZN870HiUzuJbxHVp4ywfxTJRe+CjuVluVur7+y7UxrhEoVl6FaJJoxbzk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0401MB0903; 7:T6Zp5dkSj5XM3WSIaVfVgPhTh20vt5zh2DIxG1bTfCWFksWZvcopt6LwWyLSo2j4rTfBCh7x64kRcl+x3pGNKewEqHImQNlBCjAadqTEgo8gM5hlm+C6rTvMseJVWR8NoZ4d5JZ91SXZ/vsg0kU0SPgY0jCwLlwMCKjJFvbRsKqUr1QjqzcfwKD+Wikj4NsfO0+OgMz3enn2WigCKL2+N8UpwEbGZLVOuGwieD1sp42SP/pbHEY0UbezikFlJNQxKm9KR98hAvxbAXkUblAWaSdIqV46l+ujn9fRBcWvreK8VYI8JbVRWYjFJQFBayPDHgiSDfQh18Xxfwovi1/JvQ==; 20:3OYHa/6Ru+oN/CkyZyZsGOJ04qWFCjew7aoo0pY70dW9qvjJuUIr1FylvF6cZd3H1dEiHZ5BPLxx6GxJ+7Ctn3g7lQ6EJ7kpAzJLHpykmdgMgIPe7BsbGc+EcOIhufIEvADdcWRoxvw7/qzzChoenBt79w2bPXhD/C5wU0lIIlk= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2017 15:43:14.5133 (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: BY2PR0401MB0903 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]); Wed, 17 May 2017 15:44:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 17 May 2017 15:44:08 +0000 (UTC) for IP:'68.232.143.124' DOMAIN:'[68.232.143.124]' HELO:'esa2.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 68.232.143.124 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 0.493 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW, RDNS_NONE) 68.232.143.124 [68.232.143.124] 68.232.143.124 [68.232.143.124] X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 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 6/7] kpartx: Fix a compiler warning 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 17 May 2017 15:44:41 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Avoid that building against glibc >= 2.25 triggers the following compiler warning: lopart.c: In function 'is_loop_device': lopart.c:93:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . major(statbuf.st_rdev) == loopmajor); Signed-off-by: Bart Van Assche --- kpartx/Makefile | 4 ++++ kpartx/sysmacros.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/kpartx/Makefile b/kpartx/Makefile index 9441a2ba..2d2a249e 100644 --- a/kpartx/Makefile +++ b/kpartx/Makefile @@ -10,6 +10,10 @@ LIBDEPS += -ldevmapper ifneq ($(call check_func,dm_task_set_cookie,/usr/include/libdevmapper.h),0) CFLAGS += -DLIBDM_API_COOKIE endif +ifneq ($(call check_func,major,/usr/include/sys/sysmacros.h),0) + CFLAGS += -DHAVE_SYS_SYSMACROS_H +endif + OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \ gpt.o mac.o ps3.o crc32.o lopart.o xstrncpy.o devmapper.o diff --git a/kpartx/sysmacros.h b/kpartx/sysmacros.h index 171b33d4..dc5077ec 100644 --- a/kpartx/sysmacros.h +++ b/kpartx/sysmacros.h @@ -1,5 +1,10 @@ /* versions to be used with > 16-bit dev_t - leave unused for now */ +#ifdef HAVE_SYS_SYSMACROS_H +#include +#else +#include + #ifndef major #define major(dev) ((dev) >> 8) #endif @@ -7,3 +12,4 @@ #ifndef minor #define minor(dev) ((dev) & 0xff) #endif +#endif