Re: [PATCH] uapi elf: delete unused macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux