* [nvdimm:libnvdimm-pending 297/299] arch/powerpc/include/asm/uaccess.h:331:1: error: conflicting types for 'copy_mc_to_kernel'
@ 2020-05-15 3:53 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-15 3:53 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3272 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git libnvdimm-pending
head: bb12557751a16ec04d801b01492257f720e4718e
commit: b00239d425d5c3c3d20f62bb1180905c0d133ab3 [297/299] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user,kernel}()
config: powerpc-allnoconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b00239d425d5c3c3d20f62bb1180905c0d133ab3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/uaccess.h:11,
from include/linux/crypto.h:21,
from include/crypto/hash.h:11,
from include/linux/uio.h:10,
from include/linux/socket.h:8,
from include/linux/compat.h:15,
from arch/powerpc/kernel/asm-offsets.c:14:
>> arch/powerpc/include/asm/uaccess.h:331:1: error: conflicting types for 'copy_mc_to_kernel'
331 | copy_mc_to_kernel(void *to, const void *from, unsigned long size)
| ^~~~~~~~~~~~~~~~~
In file included from include/linux/bitmap.h:9,
from include/linux/cpumask.h:12,
from include/linux/workqueue.h:15,
from include/linux/rhashtable-types.h:15,
from include/linux/ipc.h:7,
from include/uapi/linux/sem.h:5,
from include/linux/sem.h:5,
from include/linux/compat.h:14,
from arch/powerpc/kernel/asm-offsets.c:14:
include/linux/string.h:176:15: note: previous definition of 'copy_mc_to_kernel' was here
176 | unsigned long copy_mc_to_kernel(void *dst, const void *src, size_t cnt)
| ^~~~~~~~~~~~~~~~~
In file included from include/linux/uaccess.h:11,
from include/linux/crypto.h:21,
from include/crypto/hash.h:11,
from include/linux/uio.h:10,
from include/linux/socket.h:8,
from include/linux/compat.h:15,
from arch/powerpc/kernel/asm-offsets.c:14:
arch/powerpc/include/asm/uaccess.h: In function 'copy_mc_to_kernel':
arch/powerpc/include/asm/uaccess.h:333:9: error: implicit declaration of function 'copy_mc_generic' [-Werror=implicit-function-declaration]
333 | return copy_mc_generic(to, from, size);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:100: arch/powerpc/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1142: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
vim +/copy_mc_to_kernel +331 arch/powerpc/include/asm/uaccess.h
326
327 extern unsigned long __copy_tofrom_user(void __user *to,
328 const void __user *from, unsigned long size);
329
330 static inline unsigned long
> 331 copy_mc_to_kernel(void *to, const void *from, unsigned long size)
332 {
333 return copy_mc_generic(to, from, size);
334 }
335
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 6432 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-15 3:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 3:53 [nvdimm:libnvdimm-pending 297/299] arch/powerpc/include/asm/uaccess.h:331:1: error: conflicting types for 'copy_mc_to_kernel' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.