From patchwork Thu Sep 14 10:10:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naohiro Aota X-Patchwork-Id: 9952681 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 AB428602C9 for ; Thu, 14 Sep 2017 10:11:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA86E28E48 for ; Thu, 14 Sep 2017 10:11:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D85028E51; Thu, 14 Sep 2017 10:11:55 +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=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 328B028E48 for ; Thu, 14 Sep 2017 10:11:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbdINKLx (ORCPT ); Thu, 14 Sep 2017 06:11:53 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:50218 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751277AbdINKLt (ORCPT ); Thu, 14 Sep 2017 06:11:49 -0400 X-IronPort-AV: E=Sophos;i="5.42,392,1500912000"; d="scan'208";a="50858642" Received: from mail-by2nam03lp0048.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.48]) by ob1.hgst.iphmx.com with ESMTP; 14 Sep 2017 18:11:04 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=26CCkVgZGYRQA9gr05WH6aD4xp1DnFDTDASAdwrBdE4=; b=R8qtQk/3peiIZc9jY6JJzJO29HFgso70aRFWlRrFUHL+zCnqRBMB897OZ/hcmW8z8hDWXGLqBYzZz+EkOXgGeOMXzXMSui10sbVqv/Bh8WqfpNLhyQ8CxyNB5x6wa3MaYKqnQZW+cIOoERBNH/YXe+iCs6orKN0fwvlLou4prxU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Naohiro.Aota@wdc.com; Received: from naota.dhcp.fujisawa.hgst.com (199.255.44.171) by CY4PR04MB0662.namprd04.prod.outlook.com (10.172.136.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Thu, 14 Sep 2017 10:11:01 +0000 Subject: [PATCH 2/2] btrfs: build: omit unnecessary -MD flag From: Naohiro Aota To: linux-btrfs@vger.kernel.org Cc: dsterba@suse.com Date: Thu, 14 Sep 2017 19:10:56 +0900 Message-ID: <150538385685.24503.15875606860945494531.stgit@naota.dhcp.fujisawa.hgst.com> In-Reply-To: <150538384653.24503.41288304442819820.stgit@naota.dhcp.fujisawa.hgst.com> References: <150538384653.24503.41288304442819820.stgit@naota.dhcp.fujisawa.hgst.com> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [199.255.44.171] X-ClientProxiedBy: BN6PR1301CA0005.namprd13.prod.outlook.com (10.174.84.146) To CY4PR04MB0662.namprd04.prod.outlook.com (10.172.136.147) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 42f15e96-f175-4839-3acd-08d4fb58e735 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR04MB0662; X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0662; 3:z8yjDXwS3JqeFIa3603fa1TGoCH5QmSzgdC5htw+m1UB1sbL3Suoghy6HQJ6eHVHoMfclVcXkWfP/mmCNQCPyxnO2aiAQeG770XaUZLulNUsrKyfUNlfEzAls2teLEb9Cb2PR8zaCu8eBBlXRpIKhlmQt2eSFgOiiznF3rZ6VotSM6o8w2Vosx3+KoQ+zm7EpAfNolPl1X/6LFXm3Ki3OlghyrVnMwLZdVJN0+Kpbw0dQ56ZUzepO+UiROFiLbG9; 25:mfTTrCMBxi+4En/5tSTfCOBiwGsP82b1xyy+T1ouAaiK5DwFzMFL9T7diNi/HWJTe8tK2vm7RPAcB8sWB2MME0StNPJtn2Pi/9qN/O7p/2HulnYAK9hU2zEQzI3LIVk6PgEgOToPSCTwyBTxT/L5le9J4AwjrRFQ8bjGArCtQGNmZ8VsaI4mufhrPo9nIpry5sPTbtkfvcvvDE/W6sZ3AJLAgIegiipdFRd6doe/Q+CEnkTeZkxI79HsxnOsqAywwHXLpbgjhl/sygJ8pCsOViFDmPzrOFKGzr3eGJ8XFqqNA+aD9OQ+C0VYPJdmOsEkFWtH453hL6WWP6EPJnwhbw==; 31:xOFYlRfnVMekVYmtmIG2qxUSGzXntrlZUVFajhVFFZvZmeSusUk/6oZwbolpk/kYkkp6yIfr4dKzrvxV4cg8WPckn5XN1hzdoL9fEfKcjJplDUy2DPXzNiQ17xlNQPmABVTUXTVCdTQ4sknJD9yMEgsPpXYiUCGaLeARyGw46pXKtGdHQYItyPOa8a35X1pV7KET4EzrECIZeIc23hpku1g2LkzLn0OFc24KSqIy5/c= X-MS-TrafficTypeDiagnostic: CY4PR04MB0662: WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0662; 20:q1N50IO7Dcjs51CMeW5wHDK6sEdEMQZc7g0lmaexg71raiCcPz5Yx9/BY2PPce61iP9mo1IEJrJGdSolCUle8JjkLIWu1rtxySh2r4jY98nrKlFANFMkaoVo0y1KDv6vZBXgkmJPQvecGzWej7CkUckvvseqyHYRYRYqkLw0bzWFJay7nELG/ieAgZXPLHp6m2mPgydu03Ktd8g4MaLYRSA7xf+F32F8S/DZRKl/s1DAuRnuoo64VXToQhDrEIMEK4EufEPhojTXnx3jew3Lu16ifgiUa9spir546adbKobSm+7+VJarnXCfyPhkZVQwci+Gf6d2q2EC4k6uslQlzTpwrkVu0+0QDcqRijKDuE+asn+SoiGoYi+MtaZtz7aiCqvIptWMvTh/khDIbwgoSGlAChrQvP8y7ES3NxdaNAAQufcFbc+knmZ/PoNpFvZL1NL065b3tOLppUihzAFGgcWKaETPctRWlO9H3L85AHMrvayohALlJuNwNqhIvYqQ; 4:nw+4SIbX7o+Eqmdqfky7b3sxTCGsOD6Gp1bysK9mpIt7kncVAHoEwDQzvHsucDq517Vy613E1BFwablf/QLYp34sOUyCCIkJEYefjV2VG98v7S4N9vk5gvPYTmk/836WxlBWtcLw5WHL6G3fcV9rS1YtE4MQ11mBgsOLlmitHgZ3ugHfHE2BZKvhxxdrkem8Bn8FPy66BytET6D0PvYGOaJiyrTiFbfeePWxI/CST0xRSlqge4thvIb9R6lkcQMC X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR04MB0662; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR04MB0662; X-Forefront-PRVS: 0430FA5CB7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(346002)(376002)(199003)(189002)(86362001)(81166006)(2361001)(81156014)(50466002)(8676002)(230700001)(7736002)(53936002)(5660300001)(55016002)(6506006)(305945005)(103116003)(9686003)(4001350100001)(110136004)(68736007)(33646002)(4326008)(23676002)(478600001)(189998001)(6116002)(3846002)(25786009)(83506001)(8936002)(97736004)(54356999)(76176999)(50986999)(101416001)(2351001)(105586002)(2950100002)(6916009)(66066001)(47776003)(16526017)(72206003)(316002)(6666003)(106356001)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB0662; H:naota.dhcp.fujisawa.hgst.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: wdc.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjA0TUIwNjYyOzIzOlRxWmZtZTBHSVNhSlJnSVlsV0NTNFF4NDBX?= =?utf-8?B?dUROeXJtTnFsUkg4S2xNUmRQbXJFUjVhSkxySUUzYjdpdCtncTJYSzhFZ2pD?= =?utf-8?B?bDVad1h1VDVUUjdrZFR5YnZtTyt6QjBjT21lSVV5YXFFNktJcTZxOG5xTERG?= =?utf-8?B?VnhIZGl4U1NzV1pFZXhuaE5QbGd3OExRbXVhMVhzUVI0aStpMEYwYVJxMHlE?= =?utf-8?B?QldDRHFWU205OGJhTEFaMkJZWCtHc01TVHVRLzQ4SWRxVXk5cThVUnoxWUUx?= =?utf-8?B?bitHVGtuY2k3TmtLYWdaZ0hPVFRtNUlHNG9iTEJWWTZXY1ozTUE4bHZkc1lL?= =?utf-8?B?c0toQVhiRFZIVzVxRG82OHZVZkpOaWh2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/JzT/hWb61lZWAveT+uARgsg=; 7:jRQdICr8xMONUHEcqAVxEcpDmHaDhTCL9/q1EgS9bk+XDDObrGPhEXaH/sy9koCHC25OobG+XB7q+hbfDT1ygZQSe3KFlHZfk0LP00A1dL5ZRSshlbwF65H7hYFYnFwKNfVlYKx746MWiQqFX6DiLNWINzQGXUdyxIXAj2D33t/iEExB1SUh1q6zP2RAERAipsJxPqoklsrGHyMna4PkoGJlSZKstzcPYhy0hv+ZoZ0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0662; 20:KMXvU0uu9t1mYLikMwNLkwyswoGMqNmyrVfjjvEsy4L6bymeMARoXiq1GAWsCbN9R3iObNHdlna0Y53zZA0p8RgtoLGzPQ46UFReZLYDmjAdkORKD9WsSixNTCeFwi0T++8LcTesGPlxTiOpg40ZeU3TlGAvsGjWImnBin/0+lk= X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2017 10:11:01.1293 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB0662 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP According to gcc(1), "-MD is equivalent to -M -MF file, except that -E is not implied." Since the rule in the Makefile is just generating dependency file and not building object file, it is no use to have "-MD" here. Also, it's overridden and conflicting with the following "-MM" flag. I guess we can drop it. Signed-off-by: Naohiro Aota --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Makefile b/Makefile index c00dff6..60c802a 100644 --- a/Makefile +++ b/Makefile @@ -264,7 +264,7 @@ else endif %.o.d: %.c - $(Q)$(CC) -MD -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o) -MT $@ $(CFLAGS) $< + $(Q)$(CC) -MM -MG -MF $@ -MT $(@:.o.d=.o) -MT $(@:.o.d=.static.o) -MT $@ $(CFLAGS) $< # # Pick from per-file variables, btrfs_*_cflags