Re: [PATCH] powerpc/pseries: Move CMO code from plapr_wrappers.h to platforms/pseries
From: kbuild test robot <hidden>
Date: 2016-11-14 07:23:20
Hi Michael, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.9-rc5 next-20161111] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michael-Ellerman/powerpc-pseries-Move-CMO-code-from-plapr_wrappers-h-to-platforms-pseries/20161114-145812 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-allmodconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=powerpc All errors (new ones prefixed by >>): arch/powerpc/platforms/pseries/cmm.c: In function 'plpar_page_set_loaned':
quoted
arch/powerpc/platforms/pseries/cmm.c:114:30: error: implicit declaration of function 'cmo_get_page_size' [-Werror=implicit-function-declaration]
unsigned long cmo_page_sz = cmo_get_page_size();
^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/cmo_get_page_size +114 arch/powerpc/platforms/pseries/cmm.c
108 static int hotplug_occurred; /* protected by the hotplug mutex */
109
110 static struct task_struct *cmm_thread_ptr;
111
112 static long plpar_page_set_loaned(unsigned long vpa)
113 {
> 114 unsigned long cmo_page_sz = cmo_get_page_size();
115 long rc = 0;
116 int i;
117
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/gzip] 49930 bytes