Re: [PATCH] powerpc/32: Add VDSO version of getcpu

From: kbuild test robot
Date: Sat Aug 17 2019 - 22:09:33 EST


Hi Christophe,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc4 next-20190816]
[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/Christophe-Leroy/powerpc-32-Add-VDSO-version-of-getcpu/20190818-075346
config: powerpc-allnoconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.4.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.4.0 make.cross ARCH=powerpc

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> arch/powerpc/kernel/vdso32/getcpu.S:22:28: error: operator '*' has no right operand
#elif defined (CONFIG_SMP)*/
^

vim +22 arch/powerpc/kernel/vdso32/getcpu.S

10
11 .text
12 /*
13 * Exact prototype of getcpu
14 *
15 * int __kernel_getcpu(unsigned *cpu, unsigned *node);
16 *
17 */
18 V_FUNCTION_BEGIN(__kernel_getcpu)
19 .cfi_startproc
20 #if defined(CONFIG_PPC64)
21 mfspr r5,SPRN_SPRG_VDSO_READ
> 22 #elif defined (CONFIG_SMP)*/

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip