Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3435390imm; Sun, 1 Jul 2018 21:54:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIllnEUiDlLm0Hw3KPw2IYfT5wSldbhaPjVJxfNnHzRezlN5zZln5Jm+w1hBOGQkqZqPvxG X-Received: by 2002:a17:902:9a08:: with SMTP id v8-v6mr24502994plp.148.1530507284812; Sun, 01 Jul 2018 21:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530507284; cv=none; d=google.com; s=arc-20160816; b=Ops9lWE4NG2wUVayJ3Ba1Z98b9/cvdtvl2MqSN7nW6LlUhU+gGv1VXiNI+qBvbaRFD Sk3YKuZsL5HOfm5ALk+91RBv5C8VbuXM+VFJ8KbQX6UhNf7hUxaaHnUAtOqaKxsbgHja kZ+OMdbDX2ic8kjOvmuUQxN9c3kxbaKRDmnA9ex54chhs5ACnsg6aLepIG3Tk8A3WFcf ktwof47Gj77Vp9g4rTMT5rS6j/E9vLh8trllgTxgaOuYhPcrKhe/rwYUfND44kWMDRJt 8tkB3yvVqw45HyAuNKXVW0djv2TDvcOc2vEMLJ7KjQeDXHiYakj7jCUieqOslsDNhCYm WHrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=JQCxpvlsWgYoea0PmZeaP/jyhBJUQ6bSTEIziXCawXw=; b=NuNLB+lGC9aG3UVZQmOfp39R3WnPDzcQadCAPrtrIQ5W7XIs6FfJwefifvpJ95Vb9L Ku0MJ9AS3HDfUNyeQVtqIsCVcBGr2LNQycjMIMqSi7AZy01mY3k2U42xkC9vP2gcb2RO HpxpFwow15bgW5TKIV5k+BbDAlEhtVJakZqYTPOH2es1aCAmlUr99gq9zBPMDA16XCX9 UG+Y47MoFMaPzbENCCrT1FXUj6m2mWWv9sa8APr78uk1s68W8nbvvrr26Y6xJN7DOyUm X2lRO2VWnEutS1Pan0SfHatKV3oTqnQTMGTfKGZtjyC/JTaZ1gGy7CCsREhHs7m3LE4w p4zA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7-v6si15667202plz.510.2018.07.01.21.54.30; Sun, 01 Jul 2018 21:54:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753056AbeGBElW (ORCPT + 99 others); Mon, 2 Jul 2018 00:41:22 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:9639 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbeGBElU (ORCPT ); Mon, 2 Jul 2018 00:41:20 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1, AES128-SHA) id ; Sun, 01 Jul 2018 21:41:20 -0700 Received: from HQMAIL107.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Sun, 01 Jul 2018 21:41:19 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Sun, 01 Jul 2018 21:41:19 -0700 Received: from [10.110.48.28] (10.110.48.28) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 2 Jul 2018 04:41:18 +0000 Subject: Re: [PATCH v2 4/6] mm/fs: add a sync_mode param for clear_page_dirty_for_io() To: kbuild test robot , CC: , Matthew Wilcox , Michal Hocko , Christopher Lameter , Jason Gunthorpe , Dan Williams , Jan Kara , , LKML , linux-rdma , References: <20180702005654.20369-5-jhubbard@nvidia.com> <201807020937.9CUpXIGc%fengguang.wu@intel.com> X-Nvconfidentiality: public From: John Hubbard Message-ID: Date: Sun, 1 Jul 2018 21:40:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <201807020937.9CUpXIGc%fengguang.wu@intel.com> X-Originating-IP: [10.110.48.28] X-ClientProxiedBy: HQMAIL103.nvidia.com (172.20.187.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/01/2018 07:11 PM, kbuild test robot wrote: > Hi John, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v4.18-rc3] > [cannot apply to next-20180629] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/john-hubbard-gmail-com/mm-fs-gup-don-t-unmap-or-drop-filesystem-buffers/20180702-090125 > config: x86_64-randconfig-x010-201826 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > [...] > ^ > include/linux/compiler.h:58:42: note: in definition of macro '__trace_if' > if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ > ^~~~ >>> fs/f2fs/data.c:2021:4: note: in expansion of macro 'if' > if (!clear_page_dirty_for_io(page), wbc->sync_mode) > ^~ > fs/f2fs/data.c:2021:9: error: too few arguments to function 'clear_page_dirty_for_io' > if (!clear_page_dirty_for_io(page), wbc->sync_mode) > ^ > include/linux/compiler.h:69:16: note: in definition of macro '__trace_if' > ______r = !!(cond); \ > ^~~~ >>> fs/f2fs/data.c:2021:4: note: in expansion of macro 'if' > if (!clear_page_dirty_for_io(page), wbc->sync_mode) > ^~ > Typo, that should have been: if (!clear_page_dirty_for_io(page, wbc->sync_mode)) ...fixed locally, I'll include it in the next spin. (Somehow my last build didn't have all the filesystems enabled, sorry for the glitches.) thanks, -- John Hubbard NVIDIA