[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202001081646.jKC4QifK%lkp@intel.com>
Date: Wed, 8 Jan 2020 16:36:02 +0800
From: kbuild test robot <lkp@...el.com>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: kbuild-all@...ts.01.org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Mike Rapoport <rppt@...ux.ibm.com>,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/32: refactor pmd_offset(pud_offset(pgd_offset...
Hi Christophe,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on v5.5-rc5 next-20200106]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-32-refactor-pmd_offset-pud_offset-pgd_offset/20200107-210342
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-pmac32_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/powerpc/mm/mem.c: In function 'virt_to_kpte':
>> arch/powerpc/mm/mem.c:71:43: error: macro "pte_offset_kernel" requires 2 arguments, but only 1 given
return pte_offset_kernel(pmd_ptr_k(vaddr));
^
>> arch/powerpc/mm/mem.c:71:9: error: 'pte_offset_kernel' undeclared (first use in this function); did you mean 'pte_free_kernel'?
return pte_offset_kernel(pmd_ptr_k(vaddr));
^~~~~~~~~~~~~~~~~
pte_free_kernel
arch/powerpc/mm/mem.c:71:9: note: each undeclared identifier is reported only once for each function it appears in
arch/powerpc/mm/mem.c:72:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
vim +/pte_offset_kernel +71 arch/powerpc/mm/mem.c
68
69 static inline pte_t *virt_to_kpte(unsigned long vaddr)
70 {
> 71 return pte_offset_kernel(pmd_ptr_k(vaddr));
72 }
73 #endif
74
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (24479 bytes)
Powered by blists - more mailing lists