tree:
git://git.infradead.org/users/hch/misc.git set_fs-coredump
head: 989bf8eec0898a5ce2a949912a1fe45dd4da27c6
commit: b798b18fe37310757ca69f5dad372ed18e80e1d2 [5/8] signal: refactor
copy_siginfo_to_user32
config: x86_64-randconfig-d003-20200428 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout b798b18fe37310757ca69f5dad372ed18e80e1d2
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/signal.c: In function 'x32_copy_siginfo_to_user':
> arch/x86/kernel/signal.c:521:2: error: implicit declaration of
function 'copy_siginfo_to_external32'; did you mean
'__copy_siginfo_to_external32'? [-Werror=implicit-function-declaration]
copy_siginfo_to_external32(&new, from);
^~~~~~~~~~~~~~~~~~~~~~~~~~
__copy_siginfo_to_external32
cc1: some warnings being treated as errors
vim +521 arch/x86/kernel/signal.c
514
515 #ifdef CONFIG_X86_X32_ABI
516 static int x32_copy_siginfo_to_user(struct compat_siginfo __user *to,
517 const struct kernel_siginfo *from)
518 {
519 struct compat_siginfo new;
520
521 copy_siginfo_to_external32(&new, from);
522 if
(from->si_signo == SIGCHLD) {
523 new._sifields._sigchld_x32._utime = from->si_utime;
524 new._sifields._sigchld_x32._stime = from->si_stime;
525 }
526 if (copy_to_user(to, &new, sizeof(struct compat_siginfo)))
527 return -EFAULT;
528 return 0;
529 }
530
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org