lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201803102118.2RzgEHI7%fengguang.wu@intel.com>
Date:   Sat, 10 Mar 2018 21:27:34 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>
Subject: arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN"
 redefined

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   cdb06e9d8f520c969676e7d6778cffe5894f079f
commit: 101110f6271ce956a049250c907bc960030577f8 Kbuild: always define endianess in kconfig.h
date:   2 weeks ago
config: h8300-h8300h-sim_defconfig (attached as .config)
compiler: h8300-linux-gcc (GCC) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 101110f6271ce956a049250c907bc960030577f8
        # save the attached .config to linux build tree
        make.cross ARCH=h8300 

All warnings (new ones prefixed by >>):

   In file included from include/asm-generic/bitops/le.h:6:0,
                    from arch/h8300/include/asm/bitops.h:177,
                    from include/linux/bitops.h:38,
                    from include/linux/log2.h:16,
                    from include/asm-generic/getorder.h:8,
                    from include/asm-generic/page.h:99,
                    from arch/h8300/include/asm/page.h:5,
                    from arch/h8300/include/asm/string.h:8,
                    from include/linux/string.h:20,
                    from include/linux/uuid.h:20,
                    from include/linux/mod_devicetable.h:13,
                    from scripts/mod/devicetable-offsets.c:3:
>> arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN" redefined
    #define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
    
   In file included from <command-line>:0:0:
   include/linux/kconfig.h:8:0: note: this is the location of the previous definition
    #define __BIG_ENDIAN 4321
    
--
   In file included from include/asm-generic/bitops/le.h:6:0,
                    from arch/h8300/include/asm/bitops.h:177,
                    from include/linux/bitops.h:38,
                    from include/linux/kernel.h:11,
                    from include/asm-generic/bug.h:18,
                    from arch/h8300/include/asm/bug.h:8,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
>> arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN" redefined
    #define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
    
   In file included from <command-line>:0:0:
   include/linux/kconfig.h:8:0: note: this is the location of the previous definition
    #define __BIG_ENDIAN 4321
    
   In file included from include/asm-generic/bitops/le.h:6:0,
                    from arch/h8300/include/asm/bitops.h:177,
                    from include/linux/bitops.h:38,
                    from include/linux/kernel.h:11,
                    from include/asm-generic/bug.h:18,
                    from arch/h8300/include/asm/bug.h:8,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:12,
                    from include/asm-generic/current.h:5,
                    from ./arch/h8300/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12,
                    from arch/h8300/kernel/asm-offsets.c:13:
>> arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN" redefined
    #define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
    
   In file included from <command-line>:0:0:
   include/linux/kconfig.h:8:0: note: this is the location of the previous definition
    #define __BIG_ENDIAN 4321
    

vim +/__BIG_ENDIAN +5 arch/h8300/include/asm/byteorder.h

d2a5f499 Yoshinori Sato 2015-05-11  4  
d2a5f499 Yoshinori Sato 2015-05-11 @5  #define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
d2a5f499 Yoshinori Sato 2015-05-11  6  #include <linux/byteorder/big_endian.h>
d2a5f499 Yoshinori Sato 2015-05-11  7  

:::::: The code at line 5 was first introduced by commit
:::::: d2a5f4999f6c211adf30d9788349e13988d6f2a7 h8300: Assembly headers

:::::: TO: Yoshinori Sato <ysato@...rs.sourceforge.jp>
:::::: CC: Yoshinori Sato <ysato@...rs.sourceforge.jp>

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

Download attachment ".config.gz" of type "application/gzip" (4767 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ