linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Daniel Axtens <dja@axtens.net>
Cc: kbuild-all@01.org, linuxppc-dev@lists.ozlabs.org,
	Daniel Axtens <dja@axtens.net>
Subject: Re: [PATCH 3/3] powerpc/sparse: Add more assembler prototypes.
Date: Fri, 2 Sep 2016 08:36:07 +0800	[thread overview]
Message-ID: <201609020814.tRMPDErn%fengguang.wu@intel.com> (raw)
In-Reply-To: <1472772381-22696-3-git-send-email-dja@axtens.net>

[-- Attachment #1: Type: text/plain, Size: 5551 bytes --]

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@rustcorp.com.au>
:::::: CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 49909 bytes --]

  reply	other threads:[~2016-09-02  0:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 23:26 [PATCH 1/3] powerpc/sparse: Make a bunch of things static Daniel Axtens
2016-09-01 23:26 ` [PATCH 2/3] powerpc/kvm: sparse: prototypes for functions called from assembler Daniel Axtens
2016-09-01 23:26 ` [PATCH 3/3] powerpc/sparse: Add more assembler prototypes Daniel Axtens
2016-09-02  0:36   ` kbuild test robot [this message]
2016-09-02  1:10   ` kbuild test robot
2016-09-01 23:38 ` [PATCH 1/3] powerpc/sparse: Make a bunch of things static Andrew Donnellan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201609020814.tRMPDErn%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=dja@axtens.net \
    --cc=kbuild-all@01.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).