Received: by 10.213.65.68 with SMTP id h4csp3240831imn; Tue, 3 Apr 2018 01:03:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/k9WzOKVhcmvVSNvbDEptyQQK6o7OFZ9Ajn0w9V4j0bOcK7S6/uOt5U0qrAWl5YwwifQi7 X-Received: by 10.98.76.68 with SMTP id z65mr9859615pfa.181.1522742633046; Tue, 03 Apr 2018 01:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522742633; cv=none; d=google.com; s=arc-20160816; b=R6cwAJlS1S2lg2uzhcbPNttvxLliQPRtDHTWZEcI4RMjUpTUC2ffgR9fBTCV7T1KtJ PN1h73h1exffXGMbMgk9FwCaYqRwNocYUR2R08+XeWwAQcBJDGL2MSe7txW6z86U8CP+ nYy3fd+FIiUgn8m8+2OQWRYcSr3tHxN3byh/hrRhso2t73cIIguGZxggbTK2c8N7TLYW dRBkXVkcsz+yIO3Vzy+oTTvwWuP9USCL3vnl08xWF/K96LIg5P6I7WL/ebswcoKUzIpP mJ5V94Ud/NEZMCFfZ6u+xVRZl4TA5PbMpmZKov2nuIP0ZkIprsxXoU4Prc1uW274J/Ym NtWw== 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:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=NBs5fnF++kYI/JL1MJJvJjb3Q3iD5aqU33X9MUkyoxY=; b=pnFhwQzENmT00OLii7qLucD6Wph+alR1W5XeIr7ulgZj8MxNuRwaYtf2QcRbrtq8SQ ntLwJiF37Jj6hbhgw9ueMpwKgBydcefM/eKOMTLKqgRCLqjT1Pjfi34UYuKAbJt1NhO1 FfB16gl7Xk9SrrHVI4kX/A7mh7XMZWxEw1W3TVmai5ROPA3DkeClYMhAQ/cG/7opKP1O Ft5fn+7JGRrlMGEKdSMitp5tyUThppSYTm8DE60Kf7318hfnDSMlM41pCiYSv2gSF0+R peA0XGgtHjpGQLwTD/aITA6cT5DRv1rk3yOyGDm6oPrCtDiukVfk3ZJOyneuPJ9XzZIH AWzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=LTpAGDS4; dkim=pass header.i=@codeaurora.org header.s=default header.b=GS0HtGsu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si1503903pgu.633.2018.04.03.01.03.39; Tue, 03 Apr 2018 01:03:53 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=LTpAGDS4; dkim=pass header.i=@codeaurora.org header.s=default header.b=GS0HtGsu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754980AbeDCICC (ORCPT + 99 others); Tue, 3 Apr 2018 04:02:02 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42154 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754690AbeDCICB (ORCPT ); Tue, 3 Apr 2018 04:02:01 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BAF3B602B7; Tue, 3 Apr 2018 08:02:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522742520; bh=HHuf5lUEPDrhj+n5me/yU+pJNwLT3ddRIg/wl2q41mQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=LTpAGDS4gVwvJoEK/f/NAKDh2Fo/JIAar8HSNzHAv63z9R9tzRJ5tufjbtonk9cm3 8TVcnvUEcLrovjihqGD0RlxieTIgUP/z4RWaZ1hdPfKo0UdCSuvNQE24wdlDO5Uien 8e8qcJS7aaR7tBt4q6Qo2baKaADHBmkCUIf4LT2o= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.204.79.109] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: cpandya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 719CF602B7; Tue, 3 Apr 2018 08:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522742519; bh=HHuf5lUEPDrhj+n5me/yU+pJNwLT3ddRIg/wl2q41mQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=GS0HtGsuOg+48dJ+AYOoQtomvs8HEqTQgdBhdrIMzu2A3IgWowLxYfyjuWCqFEWwp YhEBQO8BbX7HF3JVP0mFsVtBwfbsRke30b7TnUh3bQxXfGz6ueHRENwccB9CPgoBgF MEfL2Q12T41j/q8Z49h+iZg4NxPffYBttg12sogY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 719CF602B7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=cpandya@codeaurora.org Subject: Re: [PATCH v7 1/4] ioremap: Update pgtable free interfaces with addr To: kbuild test robot Cc: kbuild-all@01.org, catalin.marinas@arm.com, will.deacon@arm.com, mark.rutland@arm.com, toshi.kani@hpe.com, arnd@arndb.de, ard.biesheuvel@linaro.org, marc.zyngier@arm.com, james.morse@arm.com, kristina.martsenko@arm.com, takahiro.akashi@linaro.org, gregkh@linuxfoundation.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, akpm@linux-foundation.org References: <1522240282-12104-2-git-send-email-cpandya@codeaurora.org> <201803291957.TombWSzK%fengguang.wu@intel.com> From: Chintan Pandya Message-ID: <95da57a0-dcf9-c829-1c4b-6492d7681750@codeaurora.org> Date: Tue, 3 Apr 2018 13:31:52 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <201803291957.TombWSzK%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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 3/29/2018 5:23 PM, kbuild test robot wrote: > Hi Chintan, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on v4.16-rc7] > [also build test ERROR on next-20180328] > [cannot apply to arm64/for-next/core tip/x86/core asm-generic/master] > [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/Chintan-Pandya/ioremap-Update-pgtable-free-interfaces-with-addr/20180329-133736 > config: x86_64-rhel (attached as .config) > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): > > arch/x86/mm/pgtable.c: In function 'pud_free_pmd_page': >>> arch/x86/mm/pgtable.c:725:8: error: too few arguments to function 'pmd_free_pte_page' > if (!pmd_free_pte_page(&pmd[i]), addr + (i * PMD_SIZE)) > ^~~~~~~~~~~~~~~~~ > In file included from arch/x86/include/asm/pgtable.h:1292:0, > from include/linux/memremap.h:8, > from include/linux/mm.h:27, > from arch/x86/mm/pgtable.c:2: > include/asm-generic/pgtable.h:987:5: note: declared here > int pmd_free_pte_page(pmd_t *pmd, unsigned long addr); > ^~~~~~~~~~~~~~~~~ > arch/x86/mm/pgtable.c:725:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] > if (!pmd_free_pte_page(&pmd[i]), addr + (i * PMD_SIZE)) > ^ > > vim +/pmd_free_pte_page +725 arch/x86/mm/pgtable.c > > 705 > 706 /** > 707 * pud_free_pmd_page - Clear pud entry and free pmd page. > 708 * @pud: Pointer to a PUD. > 709 * @addr: Virtual address associated with pud. > 710 * > 711 * Context: The pud range has been unmaped and TLB purged. > 712 * Return: 1 if clearing the entry succeeded. 0 otherwise. > 713 */ > 714 int pud_free_pmd_page(pud_t *pud, unsigned long addr) > 715 { > 716 pmd_t *pmd; > 717 int i; > 718 > 719 if (pud_none(*pud)) > 720 return 1; > 721 > 722 pmd = (pmd_t *)pud_page_vaddr(*pud); > 723 > 724 for (i = 0; i < PTRS_PER_PMD; i++) > > 725 if (!pmd_free_pte_page(&pmd[i]), addr + (i * PMD_SIZE)) Missed it. Will upload v8 > 726 return 0; > 727 > 728 pud_clear(pud); > 729 free_page((unsigned long)pmd); > 730 > 731 return 1; > 732 } > 733 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation > Chintan -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project