[PATCH] powerpc/pseries: Move CMO code from plapr_wrappers.h to platforms/pseries

kbuild test robot lkp at intel.com
Mon Nov 14 18:22:19 AEDT 2016


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':
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 49930 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20161114/47466efe/attachment-0001.gz>


More information about the Linuxppc-dev mailing list