mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: mudongliang <mudongliangabcd@gmail.com>
Cc: kbuild-all@01.org, benh@kernel.crashing.org, paulus@samba.org,
	mpe@ellerman.id.au, takahiro.akashi@linaro.org,
	will.deacon@arm.com, linuxppc-dev@lists.ozlabs.org,
	linux-kernel@vger.kernel.org, linux-api@vger.kernel.org
Subject: Re: [PATCH] uapi elf: delete unused macros
Date: Fri, 6 Nov 2015 00:45:59 +0800	[thread overview]
Message-ID: <201511060026.mdZ4SdBm%fengguang.wu@intel.com> (raw)
In-Reply-To: <563B78AD.2060906@gmail.com>

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

Hi mudongliang,

[auto build test ERROR on: powerpc/next]
[also build test ERROR on: v4.3 next-20151105]

url:    https://github.com/0day-ci/linux/commits/mudongliang/uapi-elf-delete-unused-macros/20151105-234433
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: mips-jz4740 (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=mips 

All errors (new ones prefixed by >>):

   In file included from include/linux/elf.h:4:0,
                    from include/linux/module.h:15,
                    from fs/binfmt_elf.c:12:
   fs/binfmt_elf.c: In function 'fill_elf_header':
>> arch/mips/include/asm/elf.h:279:18: error: 'ELFDATA2MSB' undeclared (first use in this function)
    #define ELF_DATA ELFDATA2MSB
                     ^
   fs/binfmt_elf.c:1350:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^
   arch/mips/include/asm/elf.h:279:18: note: each undeclared identifier is reported only once for each function it appears in
    #define ELF_DATA ELFDATA2MSB
                     ^
   fs/binfmt_elf.c:1350:26: note: in expansion of macro 'ELF_DATA'
     elf->e_ident[EI_DATA] = ELF_DATA;
                             ^

vim +/ELFDATA2MSB +279 arch/mips/include/asm/elf.h

875d43e7 include/asm-mips/elf.h      Ralf Baechle   2005-09-03  273  #endif /* CONFIG_64BIT */
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  274  
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  275  /*
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  276   * These are used to set parameters in the core dumps.
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  277   */
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  278  #ifdef __MIPSEB__
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16 @279  #define ELF_DATA	ELFDATA2MSB
08d9d1c4 arch/mips/include/asm/elf.h David Daney    2008-12-17  280  #elif defined(__MIPSEL__)
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  281  #define ELF_DATA	ELFDATA2LSB
^1da177e include/asm-mips/elf.h      Linus Torvalds 2005-04-16  282  #endif

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

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 17582 bytes --]

  parent reply	other threads:[~2015-11-05 16:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 15:41 mudongliang
2015-11-05 16:27 ` kbuild test robot
2015-11-05 16:45 ` kbuild test robot [this message]
2015-11-05 17:02 ` kbuild test robot
2015-11-06 14:45 mudongliang

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=201511060026.mdZ4SdBm%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=benh@kernel.crashing.org \
    --cc=kbuild-all@01.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=mudongliangabcd@gmail.com \
    --cc=paulus@samba.org \
    --cc=takahiro.akashi@linaro.org \
    --cc=will.deacon@arm.com \
    /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

all inboxes | Powered by JetHome®