From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 588B6C433E1 for ; Thu, 27 Aug 2020 06:04:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 14D4920786 for ; Thu, 27 Aug 2020 06:04:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="L1mr4A2b" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14D4920786 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8EE636B0003; Thu, 27 Aug 2020 02:04:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 89E5F6B0006; Thu, 27 Aug 2020 02:04:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7B5176B0007; Thu, 27 Aug 2020 02:04:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0157.hostedemail.com [216.40.44.157]) by kanga.kvack.org (Postfix) with ESMTP id 669006B0003 for ; Thu, 27 Aug 2020 02:04:09 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 210FF45B4 for ; Thu, 27 Aug 2020 06:04:09 +0000 (UTC) X-FDA: 77195308218.24.fact66_2a0a1d42706a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin24.hostedemail.com (Postfix) with ESMTP id F42021A4A0 for ; Thu, 27 Aug 2020 06:04:08 +0000 (UTC) X-HE-Tag: fact66_2a0a1d42706a X-Filterd-Recvd-Size: 5348 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Thu, 27 Aug 2020 06:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=S2fHv+1GvZbTJHAXEDMfqA+idFozFcgbt6XrQLRBXfc=; b=L1mr4A2bdGE6XuO185gmeA1nAN elfQ9cmy0YP2Iof+eMvhMFPtUFBBS/+Md6tMsx93YZsZhKI5w7FprT1ad/VIM2lHQcvLKvfOr7Q4m rwTER8SinEWVj8W4mYtL8BIU7dXtpQBKzBpowWiY/HhoFNv2+LuQQC/jI2MvnH9Oc1fErw8WhD1iW /Pmm/sk52OGDFuo0nTxm2FGOtGaxNJ97DmXrS0ZSJSDnmEZoIlTOXc40+3qv6ejMF62EpcP6gocGq ncIPgV3+kWxMujqFnJeOtosb7+L376mmE4CQFXUih2mlWuejesselCF2qJwgkqibZv4KsdQK/9T1E GSgBQbFA==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBB0y-0005KN-2G; Thu, 27 Aug 2020 06:04:00 +0000 Subject: Re: [hnaz-linux-mm:master 1/421] arch/powerpc/include/asm/mmu.h:139:22: error: unknown type name 'next_tlbcam_idx' To: kernel test robot , Andrew Morton Cc: kbuild-all@lists.01.org, Linux Memory Management List , Johannes Weiner References: <202008251009.zFrMbVzh%lkp@intel.com> From: Randy Dunlap Message-ID: Date: Wed, 26 Aug 2020 23:03:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <202008251009.zFrMbVzh%lkp@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: F42021A4A0 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, I can't reproduce this with mmotm of 2020-08-25... More below. On 8/24/20 7:11 PM, kernel test robot wrote: > tree: https://github.com/hnaz/linux-mm master > head: 2932a9e66c580f3c8d95ec27716d437198fb4c94 > commit: 4c4ef2c53a5e517248011bd1908235df1257e66d [1/421] origin > config: powerpc-ppc64e_defconfig (attached as .config) > compiler: powerpc64-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 4c4ef2c53a5e517248011bd1908235df1257e66d > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from arch/powerpc/include/asm/paca.h:18, > from arch/powerpc/include/asm/percpu.h:13, > from include/linux/random.h:14, > from include/linux/net.h:18, > from fs/cifs/netmisc.c:12: >>> arch/powerpc/include/asm/mmu.h:139:22: error: unknown type name 'next_tlbcam_idx' That's not a type name. It's a variable name. The type is 'int'. > 139 | DECLARE_PER_CPU(int, next_tlbcam_idx); > | ^~~~~~~~~~~~~~~ > -- > In file included from arch/powerpc/include/asm/paca.h:18, > from arch/powerpc/include/asm/percpu.h:13, > from include/linux/random.h:14, > from include/linux/net.h:18, > from fs/cifs/netmisc.c:12: >>> arch/powerpc/include/asm/mmu.h:139:22: error: unknown type name 'next_tlbcam_idx' > 139 | DECLARE_PER_CPU(int, next_tlbcam_idx); > | ^~~~~~~~~~~~~~~ > In file included from fs/cifs/cifsglob.h:32, > from fs/cifs/netmisc.c:22: > fs/cifs/smb2pdu.h:28:10: fatal error: cifsacl.h: No such file or directory > 28 | #include > | ^~~~~~~~~~~ #include That probably could be changed to "cifsacl.h". > compilation terminated. > > # https://github.com/hnaz/linux-mm/commit/4c4ef2c53a5e517248011bd1908235df1257e66d > git remote add hnaz-linux-mm https://github.com/hnaz/linux-mm > git fetch --no-tags hnaz-linux-mm master > git checkout 4c4ef2c53a5e517248011bd1908235df1257e66d > vim +/next_tlbcam_idx +139 arch/powerpc/include/asm/mmu.h > > 7c03d653cd2577 Benjamin Herrenschmidt 2008-12-18 136 > 3160b09796129a Becky Bruce 2011-06-28 137 #ifdef CONFIG_PPC_FSL_BOOK3E > 3160b09796129a Becky Bruce 2011-06-28 138 #include > 3160b09796129a Becky Bruce 2011-06-28 @139 DECLARE_PER_CPU(int, next_tlbcam_idx); > 3160b09796129a Becky Bruce 2011-06-28 140 #endif > 3160b09796129a Becky Bruce 2011-06-28 141 > > :::::: The code at line 139 was first introduced by commit > :::::: 3160b09796129abc9523ea3cd1633b0faba64a02 powerpc: Create next_tlbcam_idx percpu variable for FSL_BOOKE It's surprising that a patch from 2011 would start showing problems now. > :::::: TO: Becky Bruce > :::::: CC: Kumar Gala -- ~Randy