From: kernel test robot <lkp@intel.com>
To: Rick Edgecombe <rick.p.edgecombe@intel.com>
Cc: kbuild-all@lists.01.org, Mike Rapoport <rppt@kernel.org>,
linux-kernel@vger.kernel.org, Mike Rapoport <rppt@linux.ibm.com>
Subject: [rppt:pks/v0.0 18/27] include/asm-generic/pgalloc.h:64:9: error: implicit declaration of function 'free_table'; did you mean 'free_task'?
Date: Sat, 13 Nov 2021 01:38:13 +0800 [thread overview]
Message-ID: <202111130104.Ffwv7Jcz-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2846 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pks/v0.0
head: eed09ce6622d550ab5b10a86e7dd6c2ff6bd59d9
commit: 32e6645b0f3c84ee6e8d9a5566dffa5003821e37 [18/27] x86, mm: Protect page tables with PKS
config: arm64-randconfig-r025-20211103 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.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/rppt/linux.git/commit/?id=32e6645b0f3c84ee6e8d9a5566dffa5003821e37
git remote add rppt https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
git fetch --no-tags rppt pks/v0.0
git checkout 32e6645b0f3c84ee6e8d9a5566dffa5003821e37
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
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 arch/arm64/include/asm/pgalloc.h:17,
from arch/arm64/include/asm/kvm_mmu.h:114,
from arch/arm64/kernel/smp.c:44:
include/asm-generic/pgalloc.h: In function 'pte_free_kernel':
>> include/asm-generic/pgalloc.h:64:9: error: implicit declaration of function 'free_table'; did you mean 'free_task'? [-Werror=implicit-function-declaration]
64 | free_table(virt_to_page(pte));
| ^~~~~~~~~~
| free_task
cc1: some warnings being treated as errors
vim +64 include/asm-generic/pgalloc.h
5fba4af4456b5d Mike Rapoport 2019-07-11 56
5fba4af4456b5d Mike Rapoport 2019-07-11 57 /**
5fba4af4456b5d Mike Rapoport 2019-07-11 58 * pte_free_kernel - free PTE-level kernel page table page
5fba4af4456b5d Mike Rapoport 2019-07-11 59 * @mm: the mm_struct of the current context
5fba4af4456b5d Mike Rapoport 2019-07-11 60 * @pte: pointer to the memory containing the page table
5fba4af4456b5d Mike Rapoport 2019-07-11 61 */
5fba4af4456b5d Mike Rapoport 2019-07-11 62 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte)
5fba4af4456b5d Mike Rapoport 2019-07-11 63 {
42999ce092b58f Rick Edgecombe 2021-05-04 @64 free_table(virt_to_page(pte));
5fba4af4456b5d Mike Rapoport 2019-07-11 65 }
5fba4af4456b5d Mike Rapoport 2019-07-11 66
:::::: The code at line 64 was first introduced by commit
:::::: 42999ce092b58fa8310c49a262c00700e947ac40 x86, mm: Use cache of page tables
:::::: TO: Rick Edgecombe <rick.p.edgecombe@intel.com>
:::::: CC: Mike Rapoport <rppt@linux.ibm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41155 bytes --]
reply other threads:[~2021-11-12 17:39 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=202111130104.Ffwv7Jcz-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rick.p.edgecombe@intel.com \
--cc=rppt@kernel.org \
--cc=rppt@linux.ibm.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;
as well as URLs for NNTP newsgroup(s).