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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF7A3C433FE for ; Mon, 16 May 2022 10:43:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8E1028D0007; Mon, 16 May 2022 06:43:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 891D38D0003; Mon, 16 May 2022 06:43:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 780498D0007; Mon, 16 May 2022 06:43:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 6BF988D0003 for ; Mon, 16 May 2022 06:43:33 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 44A97339EB for ; Mon, 16 May 2022 10:43:33 +0000 (UTC) X-FDA: 79471269906.13.8627C7E Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf04.hostedemail.com (Postfix) with ESMTP id 23064400D3 for ; Mon, 16 May 2022 10:43:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652697810; x=1684233810; h=date:from:to:cc:subject:message-id:mime-version; bh=Owx64G3ecx8UOtuzhqX3Xd3y5R0C4s+r3X/71tgzngY=; b=P+UBPjD1QvLRJIU+IegFh3XapKpYZLhUotjU+azmqEKmxzAGHTAfQbBO ivp4dI8ZwHoIeMI+PgD3E/LFqT5L/LlXRv2Fw38rvHaj1huSrmsIhWWl3 MNoca3fiVp3ZG6UR5eJEUT+Vko+0S0LEDlhM/D9JAVQ4aVjdDFMsUotnp Cdef9bK/4nH8Bdt5OZ4ZqFjBTi1VzwoRfE1MGqO/kQAusVueTK95wrOJT DFAoZ0+fGcrwUAqZwKwfvgde6aPdhO7HthRtF/OruX19UMTB/4Lk6OqCi 9nJGk6cQDTpuLkesKRUaOkbF785Ho7WpN1llqWiSBjkgsnoBWDTp3cdRu w==; X-IronPort-AV: E=McAfee;i="6400,9594,10348"; a="357202317" X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="357202317" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 03:43:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,229,1647327600"; d="scan'208";a="713310177" Received: from lkp-server02.sh.intel.com (HELO 0628dcddc537) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 16 May 2022 03:43:27 -0700 Received: from kbuild by 0628dcddc537 with local (Exim 4.95) (envelope-from ) id 1nqYCE-00001I-Ja; Mon, 16 May 2022 10:43:26 +0000 Date: Mon, 16 May 2022 18:42:31 +0800 From: kernel test robot To: Tong Tiangen Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , Pasha Tatashin Subject: [akpm-mm:mm-stable 118/151] arch/riscv/include/asm/pgtable.h:662:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? Message-ID: <202205161811.2nLxmN2O-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: 9aeadp9wg8i8g1hhjwb4kedg48tco1qr X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 23064400D3 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=P+UBPjD1; spf=none (imf04.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1652697797-240197 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-stable head: bbe832b9db2e1ad21522f8f0bf02775fff8a0e0e commit: 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 [118/151] riscv/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK config: riscv-randconfig-p002-20220516 (https://download.01.org/0day-ci/archive/20220516/202205161811.2nLxmN2O-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 11.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 # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=3fee229a8eb936b96933c6b2cd02d2e87a4cc997 git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-stable git checkout 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv prepare 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 include/linux/pgtable.h:6, from include/linux/mm.h:29, from arch/riscv/kernel/asm-offsets.c:10: arch/riscv/include/asm/pgtable.h: In function 'pud_user_accessible_page': >> arch/riscv/include/asm/pgtable.h:662:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? [-Werror=implicit-function-declaration] 662 | return pud_leaf(pud) && pud_user(pud); | ^~~~~~~~ | pmd_leaf cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:120: arch/riscv/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1194: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +662 arch/riscv/include/asm/pgtable.h 659 660 static inline bool pud_user_accessible_page(pud_t pud) 661 { > 662 return pud_leaf(pud) && pud_user(pud); 663 } 664 #endif 665 -- 0-DAY CI Kernel Test Service https://01.org/lkp