Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fc6eabbbf8ef99efed778dd5afabc83c21dba585 commit: 101110f6271ce956a049250c907bc960030577f8 Kbuild: always define endianess in kconfig.h date: 3 weeks ago config: m32r-allmodconfig (attached as .config) compiler: m32r-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=m32r All errors (new ones prefixed by >>): In file included from arch/m32r/include/uapi/asm/byteorder.h:8:0, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/module.h:9, from lib///lzo/lzo1x_compress.c:14: include/linux/byteorder/big_endian.h:8:2: warning: #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN [-Wcpp] #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN ^~~~~~~ In file included from lib///lzo/lzo1x_compress.c:18:0: >> lib///lzo/lzodefs.h:27:2: error: #error "conflicting endian definitions" #error "conflicting endian definitions" ^~~~~ -- from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:39:0: warning: "__cpu_to_be32" redefined #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:39:0: note: this is the location of the previous definition #define __cpu_to_be32(x) ((__force __be32)(__u32)(x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:40:0: warning: "__be32_to_cpu" redefined #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:40:0: note: this is the location of the previous definition #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:41:0: warning: "__cpu_to_be16" redefined #define __cpu_to_be16(x) ((__force __be16)__swab16((x))) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:41:0: note: this is the location of the previous definition #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:42:0: warning: "__be16_to_cpu" redefined #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x)) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:42:0: note: this is the location of the previous definition #define __be16_to_cpu(x) ((__force __u16)(__be16)(x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:44:31: error: redefinition of '__cpu_to_le64p' static __always_inline __le64 __cpu_to_le64p(const __u64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:44:31: note: previous definition of '__cpu_to_le64p' was here static __always_inline __le64 __cpu_to_le64p(const __u64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:48:30: error: redefinition of '__le64_to_cpup' static __always_inline __u64 __le64_to_cpup(const __le64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:48:30: note: previous definition of '__le64_to_cpup' was here static __always_inline __u64 __le64_to_cpup(const __le64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:52:31: error: redefinition of '__cpu_to_le32p' static __always_inline __le32 __cpu_to_le32p(const __u32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:52:31: note: previous definition of '__cpu_to_le32p' was here static __always_inline __le32 __cpu_to_le32p(const __u32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:56:30: error: redefinition of '__le32_to_cpup' static __always_inline __u32 __le32_to_cpup(const __le32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:56:30: note: previous definition of '__le32_to_cpup' was here static __always_inline __u32 __le32_to_cpup(const __le32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:60:31: error: redefinition of '__cpu_to_le16p' static __always_inline __le16 __cpu_to_le16p(const __u16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:60:31: note: previous definition of '__cpu_to_le16p' was here static __always_inline __le16 __cpu_to_le16p(const __u16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:64:30: error: redefinition of '__le16_to_cpup' static __always_inline __u16 __le16_to_cpup(const __le16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:64:30: note: previous definition of '__le16_to_cpup' was here static __always_inline __u16 __le16_to_cpup(const __le16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:68:31: error: redefinition of '__cpu_to_be64p' static __always_inline __be64 __cpu_to_be64p(const __u64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:68:31: note: previous definition of '__cpu_to_be64p' was here static __always_inline __be64 __cpu_to_be64p(const __u64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:72:30: error: redefinition of '__be64_to_cpup' static __always_inline __u64 __be64_to_cpup(const __be64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:72:30: note: previous definition of '__be64_to_cpup' was here static __always_inline __u64 __be64_to_cpup(const __be64 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:76:31: error: redefinition of '__cpu_to_be32p' static __always_inline __be32 __cpu_to_be32p(const __u32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:76:31: note: previous definition of '__cpu_to_be32p' was here static __always_inline __be32 __cpu_to_be32p(const __u32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:80:30: error: redefinition of '__be32_to_cpup' static __always_inline __u32 __be32_to_cpup(const __be32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:80:30: note: previous definition of '__be32_to_cpup' was here static __always_inline __u32 __be32_to_cpup(const __be32 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:84:31: error: redefinition of '__cpu_to_be16p' static __always_inline __be16 __cpu_to_be16p(const __u16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:84:31: note: previous definition of '__cpu_to_be16p' was here static __always_inline __be16 __cpu_to_be16p(const __u16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: >> include/uapi/linux/byteorder/little_endian.h:88:30: error: redefinition of '__be16_to_cpup' static __always_inline __u16 __be16_to_cpup(const __be16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:88:30: note: previous definition of '__be16_to_cpup' was here static __always_inline __u16 __be16_to_cpup(const __be16 *p) ^~~~~~~~~~~~~~ In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:92:0: warning: "__cpu_to_le64s" redefined #define __cpu_to_le64s(x) do { (void)(x); } while (0) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:92:0: note: this is the location of the previous definition #define __cpu_to_le64s(x) __swab64s((x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:93:0: warning: "__le64_to_cpus" redefined #define __le64_to_cpus(x) do { (void)(x); } while (0) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:93:0: note: this is the location of the previous definition #define __le64_to_cpus(x) __swab64s((x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:94:0: warning: "__cpu_to_le32s" redefined #define __cpu_to_le32s(x) do { (void)(x); } while (0) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, from arch/m32r/include/asm/bitops.h:22, from include/linux/bitops.h:38, from include/linux/kernel.h:11, from include/linux/list.h:9, from include/linux/rculist.h:10, from include/linux/sched/signal.h:5, from drivers/staging/rtl8723bs/include/drv_types.h:26, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/big_endian.h:94:0: note: this is the location of the previous definition #define __cpu_to_le32s(x) __swab32s((x)) In file included from include/linux/byteorder/little_endian.h:5:0, from drivers/staging/rtl8723bs/include/rtw_byteorder.h:19, from drivers/staging/rtl8723bs/include/drv_types.h:30, from drivers/staging/rtl8723bs/hal/odm_types.h:18, from drivers/staging/rtl8723bs/hal/odm_precomp.h:19, from drivers/staging/rtl8723bs/hal/HalPhyRf.c:17: include/uapi/linux/byteorder/little_endian.h:95:0: warning: "__le32_to_cpus" redefined #define __le32_to_cpus(x) do { (void)(x); } while (0) In file included from include/linux/byteorder/big_endian.h:5:0, from arch/m32r/include/uapi/asm/byteorder.h:8, .. vim +27 lib///lzo/lzodefs.h 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 25 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 26 #if defined(__BIG_ENDIAN) && defined(__LITTLE_ENDIAN) 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 @27 #error "conflicting endian definitions" 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 28 #elif defined(__x86_64__) 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 29 #define LZO_USE_CTZ64 1 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 30 #define LZO_USE_CTZ32 1 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 31 #elif defined(__i386__) || defined(__powerpc__) 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 32 #define LZO_USE_CTZ32 1 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 33 #elif defined(__arm__) && (__LINUX_ARM_ARCH__ >= 5) 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 34 #define LZO_USE_CTZ32 1 8b975bd3 Markus F.X.J. Oberhumer 2012-08-13 35 #endif 64c70b1c Richard Purdie 2007-07-10 36 :::::: The code at line 27 was first introduced by commit :::::: 8b975bd3f9089f8ee5d7bbfd798537b992bbc7e7 lib/lzo: Update LZO compression to current upstream version :::::: TO: Markus F.X.J. Oberhumer <markus@xxxxxxxxxxxxx> :::::: CC: Markus F.X.J. Oberhumer <markus@xxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip