Search Linux Wireless

Re: [PATCH] mwifiex: Use put_unaligned_le32

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

 



Hi Himanshu,

[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on v4.14-rc3 next-20170929]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Himanshu-Jha/mwifiex-Use-put_unaligned_le32/20171007-095017
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from arch/xtensa/include/asm/unaligned.h:22:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/be_struct.h:6:19: error: redefinition of 'get_unaligned_be16'
    static inline u16 get_unaligned_be16(const void *p)
                      ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:22:28: note: previous definition of 'get_unaligned_be16' was here
    static __always_inline u16 get_unaligned_be16(const void *p)
                               ^
   In file included from arch/xtensa/include/asm/unaligned.h:22:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/be_struct.h:11:19: error: redefinition of 'get_unaligned_be32'
    static inline u32 get_unaligned_be32(const void *p)
                      ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:27:28: note: previous definition of 'get_unaligned_be32' was here
    static __always_inline u32 get_unaligned_be32(const void *p)
                               ^
   In file included from arch/xtensa/include/asm/unaligned.h:22:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/be_struct.h:16:19: error: redefinition of 'get_unaligned_be64'
    static inline u64 get_unaligned_be64(const void *p)
                      ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:32:28: note: previous definition of 'get_unaligned_be64' was here
    static __always_inline u64 get_unaligned_be64(const void *p)
                               ^
   In file included from arch/xtensa/include/asm/unaligned.h:22:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/be_struct.h:21:20: error: redefinition of 'put_unaligned_be16'
    static inline void put_unaligned_be16(u16 val, void *p)
                       ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:52:29: note: previous definition of 'put_unaligned_be16' was here
    static __always_inline void put_unaligned_be16(u16 val, void *p)
                                ^
   In file included from arch/xtensa/include/asm/unaligned.h:22:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/be_struct.h:26:20: error: redefinition of 'put_unaligned_be32'
    static inline void put_unaligned_be32(u32 val, void *p)
                       ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:57:29: note: previous definition of 'put_unaligned_be32' was here
    static __always_inline void put_unaligned_be32(u32 val, void *p)
                                ^
   In file included from arch/xtensa/include/asm/unaligned.h:22:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/be_struct.h:31:20: error: redefinition of 'put_unaligned_be64'
    static inline void put_unaligned_be64(u64 val, void *p)
                       ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:62:29: note: previous definition of 'put_unaligned_be64' was here
    static __always_inline void put_unaligned_be64(u64 val, void *p)
                                ^
   In file included from arch/xtensa/include/asm/unaligned.h:23:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/le_byteshift.h:40:19: error: redefinition of 'get_unaligned_le16'
    static inline u16 get_unaligned_le16(const void *p)
                      ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:7:28: note: previous definition of 'get_unaligned_le16' was here
    static __always_inline u16 get_unaligned_le16(const void *p)
                               ^
   In file included from arch/xtensa/include/asm/unaligned.h:23:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/le_byteshift.h:45:19: error: redefinition of 'get_unaligned_le32'
    static inline u32 get_unaligned_le32(const void *p)
                      ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:12:28: note: previous definition of 'get_unaligned_le32' was here
    static __always_inline u32 get_unaligned_le32(const void *p)
                               ^
   In file included from arch/xtensa/include/asm/unaligned.h:23:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/le_byteshift.h:50:19: error: redefinition of 'get_unaligned_le64'
    static inline u64 get_unaligned_le64(const void *p)
                      ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:17:28: note: previous definition of 'get_unaligned_le64' was here
    static __always_inline u64 get_unaligned_le64(const void *p)
                               ^
   In file included from arch/xtensa/include/asm/unaligned.h:23:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/le_byteshift.h:55:20: error: redefinition of 'put_unaligned_le16'
    static inline void put_unaligned_le16(u16 val, void *p)
                       ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:37:29: note: previous definition of 'put_unaligned_le16' was here
    static __always_inline void put_unaligned_le16(u16 val, void *p)
                                ^
   In file included from arch/xtensa/include/asm/unaligned.h:23:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/le_byteshift.h:60:20: error: redefinition of 'put_unaligned_le32'
    static inline void put_unaligned_le32(u32 val, void *p)
                       ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:42:29: note: previous definition of 'put_unaligned_le32' was here
    static __always_inline void put_unaligned_le32(u32 val, void *p)
                                ^
   In file included from arch/xtensa/include/asm/unaligned.h:23:0,
                    from include/linux/etherdevice.h:28,
                    from include/linux/ieee80211.h:22,
                    from drivers/net//wireless/marvell/mwifiex/decl.h:28,
                    from drivers/net//wireless/marvell/mwifiex/cmdevt.c:21:
>> include/linux/unaligned/le_byteshift.h:65:20: error: redefinition of 'put_unaligned_le64'
    static inline void put_unaligned_le64(u64 val, void *p)
                       ^
   In file included from drivers/net//wireless/marvell/mwifiex/cmdevt.c:20:0:
   include/linux/unaligned/access_ok.h:47:29: note: previous definition of 'put_unaligned_le64' was here
    static __always_inline void put_unaligned_le64(u64 val, void *p)
                                ^

vim +/put_unaligned_le32 +60 include/linux/unaligned/le_byteshift.h

064106a9 Harvey Harrison 2008-04-29  39  
064106a9 Harvey Harrison 2008-04-29 @40  static inline u16 get_unaligned_le16(const void *p)
064106a9 Harvey Harrison 2008-04-29  41  {
064106a9 Harvey Harrison 2008-04-29  42  	return __get_unaligned_le16((const u8 *)p);
064106a9 Harvey Harrison 2008-04-29  43  }
064106a9 Harvey Harrison 2008-04-29  44  
064106a9 Harvey Harrison 2008-04-29 @45  static inline u32 get_unaligned_le32(const void *p)
064106a9 Harvey Harrison 2008-04-29  46  {
064106a9 Harvey Harrison 2008-04-29  47  	return __get_unaligned_le32((const u8 *)p);
064106a9 Harvey Harrison 2008-04-29  48  }
064106a9 Harvey Harrison 2008-04-29  49  
064106a9 Harvey Harrison 2008-04-29 @50  static inline u64 get_unaligned_le64(const void *p)
064106a9 Harvey Harrison 2008-04-29  51  {
064106a9 Harvey Harrison 2008-04-29  52  	return __get_unaligned_le64((const u8 *)p);
064106a9 Harvey Harrison 2008-04-29  53  }
064106a9 Harvey Harrison 2008-04-29  54  
064106a9 Harvey Harrison 2008-04-29 @55  static inline void put_unaligned_le16(u16 val, void *p)
064106a9 Harvey Harrison 2008-04-29  56  {
064106a9 Harvey Harrison 2008-04-29  57  	__put_unaligned_le16(val, p);
064106a9 Harvey Harrison 2008-04-29  58  }
064106a9 Harvey Harrison 2008-04-29  59  
064106a9 Harvey Harrison 2008-04-29 @60  static inline void put_unaligned_le32(u32 val, void *p)
064106a9 Harvey Harrison 2008-04-29  61  {
064106a9 Harvey Harrison 2008-04-29  62  	__put_unaligned_le32(val, p);
064106a9 Harvey Harrison 2008-04-29  63  }
064106a9 Harvey Harrison 2008-04-29  64  
064106a9 Harvey Harrison 2008-04-29 @65  static inline void put_unaligned_le64(u64 val, void *p)
064106a9 Harvey Harrison 2008-04-29  66  {
064106a9 Harvey Harrison 2008-04-29  67  	__put_unaligned_le64(val, p);
064106a9 Harvey Harrison 2008-04-29  68  }
064106a9 Harvey Harrison 2008-04-29  69  

:::::: The code at line 60 was first introduced by commit
:::::: 064106a91be5e76cb42c1ddf5d3871e3a1bd2a23 kernel: add common infrastructure for unaligned access

:::::: TO: Harvey Harrison <harvey.harrison@xxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux