Re: [PATCH 13/20] powerpc: Use generic compat_siginfo_t

From: kbuild test robot
Date: Fri Oct 16 2015 - 19:02:28 EST


Hi Amanieu,

[auto build test ERROR on arm64/for-next/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/Amanieu-d-Antras/Fix-handling-of-compat_siginfo_t/20151015-051137
config: powerpc-defconfig (attached as .config)
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

Note: the linux-review/Amanieu-d-Antras/Fix-handling-of-compat_siginfo_t/20151015-051137 HEAD 041b7d538bec8eec85a60b4a808bbe3959fcd8c3 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

arch/powerpc/kernel/signal_32.c: In function 'copy_siginfo_to_user32':
>> arch/powerpc/kernel/signal_32.c:930:11: error: 'SI_PAD_SIZE32' undeclared (first use in this function)
SI_PAD_SIZE32);
^
arch/powerpc/kernel/signal_32.c:930:11: note: each undeclared identifier is reported only once for each function it appears in
arch/powerpc/kernel/signal_32.c: In function 'copy_siginfo_from_user32':
arch/powerpc/kernel/signal_32.c:976:29: error: 'SI_PAD_SIZE32' undeclared (first use in this function)
from->_sifields._pad, SI_PAD_SIZE32))
^

vim +/SI_PAD_SIZE32 +930 arch/powerpc/kernel/signal_32.c

^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 924 */
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 925 err = __put_user(s->si_signo, &d->si_signo);
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 926 err |= __put_user(s->si_errno, &d->si_errno);
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 927 err |= __put_user((short)s->si_code, &d->si_code);
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 928 if (s->si_code < 0)
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 929 err |= __copy_to_user(&d->_sifields._pad, &s->_sifields._pad,
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 @930 SI_PAD_SIZE32);
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 931 else switch(s->si_code >> 16) {
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 932 case __SI_CHLD >> 16:
^1da177e arch/ppc64/kernel/signal32.c Linus Torvalds 2005-04-16 933 err |= __put_user(s->si_pid, &d->si_pid);

:::::: The code at line 930 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data