From: kernel test robot <lkp@intel.com>
To: Tong Tiangen <tongtiangen@huawei.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Pasha Tatashin <pasha.tatashin@soleen.com>
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'?
Date: Mon, 16 May 2022 18:42:31 +0800 [thread overview]
Message-ID: <202205161811.2nLxmN2O-lkp@intel.com> (raw)
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 <lkp@intel.com>
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
reply other threads:[~2022-05-16 10:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205161811.2nLxmN2O-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pasha.tatashin@soleen.com \
--cc=tongtiangen@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox