[PATCH 3/3] powerpc/sparse: Add more assembler prototypes.
kbuild test robot
lkp at intel.com
Fri Sep 2 10:36:07 AEST 2016
Hi Daniel,
[auto build test WARNING on v4.8-rc4]
[also build test WARNING on next-20160825]
[cannot apply to powerpc/next kvm-ppc/kvm-ppc-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Daniel-Axtens/powerpc-sparse-Make-a-bunch-of-things-static/20160902-075213
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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 warnings (new ones prefixed by >>):
In file included from arch/powerpc/include/uapi/asm/sigcontext.h:13:0,
from arch/powerpc/include/uapi/asm/ucontext.h:5,
from arch/powerpc/include/asm/asm-prototypes.h:18,
from arch/powerpc/platforms/pseries/lpar.c:48:
>> arch/powerpc/include/asm/elf.h:33:0: warning: "ELF_CORE_EFLAGS" redefined
#define ELF_CORE_EFLAGS (is_elf2_task() ? 2 : 0)
^
In file included from arch/powerpc/platforms/pseries/lpar.c:47:0:
arch/powerpc/include/asm/fadump.h:49:0: note: this is the location of the previous definition
#define ELF_CORE_EFLAGS 0
^
In file included from arch/powerpc/include/uapi/asm/sigcontext.h:13:0,
from arch/powerpc/include/uapi/asm/ucontext.h:5,
from arch/powerpc/include/asm/asm-prototypes.h:18,
from arch/powerpc/platforms/pseries/lpar.c:48:
>> arch/powerpc/include/asm/elf.h:33:0: warning: "ELF_CORE_EFLAGS" redefined
#define ELF_CORE_EFLAGS (is_elf2_task() ? 2 : 0)
^
In file included from arch/powerpc/platforms/pseries/lpar.c:47:0:
arch/powerpc/include/asm/fadump.h:49:0: note: this is the location of the previous definition
#define ELF_CORE_EFLAGS 0
^
vim +/ELF_CORE_EFLAGS +33 arch/powerpc/include/asm/elf.h
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 17 /*
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 18 * This is used to ensure we don't load something for the wrong architecture.
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 19 */
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 20 #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH)
01e31dba include/asm-powerpc/elf.h Roland McGrath 2008-01-02 21 #define compat_elf_check_arch(x) ((x)->e_machine == EM_PPC)
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 22
81970387 include/asm-powerpc/elf.h Roland McGrath 2007-12-20 23 #define CORE_DUMP_USE_REGSET
637a6ff6 include/asm-ppc64/elf.h Olof Johansson 2005-09-20 24 #define ELF_EXEC_PAGESIZE PAGE_SIZE
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 25
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 26 /* This is the location that an ET_DYN program is loaded if exec'ed. Typical
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 27 use of this is to invoke "./ld.so someprog" to test out a new version of
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 28 the loader. We need to make sure that it is out of the way of the program
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 29 that it will "exec", and that there is sufficient room for the brk. */
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 30
59994fb0 arch/powerpc/include/asm/elf.h Vineeth Vijayan 2014-11-14 31 #define ELF_ET_DYN_BASE 0x20000000
^1da177e include/asm-ppc64/elf.h Linus Torvalds 2005-04-16 32
918d0355 arch/powerpc/include/asm/elf.h Rusty Russell 2013-11-20 @33 #define ELF_CORE_EFLAGS (is_elf2_task() ? 2 : 0)
918d0355 arch/powerpc/include/asm/elf.h Rusty Russell 2013-11-20 34
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 35 /*
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 36 * Our registers are always unsigned longs, whether we're a 32 bit
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 37 * process or 64 bit, on either a 64 bit or 32 bit kernel.
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 38 *
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 39 * This macro relies on elf_regs[i] having the right type to truncate to,
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 40 * either u32 or u64. It defines the body of the elf_core_copy_regs
5f149cf0 include/asm-powerpc/elf.h Roland McGrath 2007-10-16 41 * function, either the native one with elf_gregset_t elf_regs or
:::::: The code at line 33 was first introduced by commit
:::::: 918d03552e031dcbdaa2a22da3c2abff5952c38a powerpc: Set eflags correctly for ELF ABIv2 core dumps.
:::::: TO: Rusty Russell <rusty at rustcorp.com.au>
:::::: CC: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
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/octet-stream
Size: 49909 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160902/488b7cbd/attachment-0001.obj>
More information about the Linuxppc-dev
mailing list