linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2021-11-12 17:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-12 17:38 UTC (permalink / raw)
  To: Rick Edgecombe; +Cc: kbuild-all, Mike Rapoport, linux-kernel, Mike Rapoport

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-12 17:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 17:38 [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'? kernel test robot

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).