Hi Prameela, Thank you for the patch! Yet something to improve: [auto build test ERROR on wireless-drivers-next/master] [also build test ERROR on v4.16-rc2 next-20180219] [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/Amitkumar-Karwar/rsi-add-rx-control-block-to-handle-rx-packets-in-USB/20180220-042908 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master config: ia64-allmodconfig (attached as .config) compiler: ia64-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 # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): In file included from drivers/bluetooth/btrsi.c:21:0: >> include/linux/unaligned/le_byteshift.h:41:19: error: redefinition of 'get_unaligned_le16' static inline u16 get_unaligned_le16(const void *p) ^~~~~~~~~~~~~~~~~~ In file included from arch/ia64/include/asm/unaligned.h:5:0, from arch/ia64/include/asm/io.h:23, from arch/ia64/include/asm/smp.h:21, from include/linux/smp.h:64, from include/linux/topology.h:33, from include/linux/gfp.h:9, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/bluetooth/btrsi.c:17: include/linux/unaligned/le_struct.h:7:19: note: previous definition of 'get_unaligned_le16' was here static inline u16 get_unaligned_le16(const void *p) ^~~~~~~~~~~~~~~~~~ In file included from drivers/bluetooth/btrsi.c:21:0: >> include/linux/unaligned/le_byteshift.h:46:19: error: redefinition of 'get_unaligned_le32' static inline u32 get_unaligned_le32(const void *p) ^~~~~~~~~~~~~~~~~~ In file included from arch/ia64/include/asm/unaligned.h:5:0, from arch/ia64/include/asm/io.h:23, from arch/ia64/include/asm/smp.h:21, from include/linux/smp.h:64, from include/linux/topology.h:33, from include/linux/gfp.h:9, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/bluetooth/btrsi.c:17: include/linux/unaligned/le_struct.h:12:19: note: previous definition of 'get_unaligned_le32' was here static inline u32 get_unaligned_le32(const void *p) ^~~~~~~~~~~~~~~~~~ In file included from drivers/bluetooth/btrsi.c:21:0: >> include/linux/unaligned/le_byteshift.h:51:19: error: redefinition of 'get_unaligned_le64' static inline u64 get_unaligned_le64(const void *p) ^~~~~~~~~~~~~~~~~~ In file included from arch/ia64/include/asm/unaligned.h:5:0, from arch/ia64/include/asm/io.h:23, from arch/ia64/include/asm/smp.h:21, from include/linux/smp.h:64, from include/linux/topology.h:33, from include/linux/gfp.h:9, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/bluetooth/btrsi.c:17: include/linux/unaligned/le_struct.h:17:19: note: previous definition of 'get_unaligned_le64' was here static inline u64 get_unaligned_le64(const void *p) ^~~~~~~~~~~~~~~~~~ In file included from drivers/bluetooth/btrsi.c:21:0: >> include/linux/unaligned/le_byteshift.h:56:20: error: redefinition of 'put_unaligned_le16' static inline void put_unaligned_le16(u16 val, void *p) ^~~~~~~~~~~~~~~~~~ In file included from arch/ia64/include/asm/unaligned.h:5:0, from arch/ia64/include/asm/io.h:23, from arch/ia64/include/asm/smp.h:21, from include/linux/smp.h:64, from include/linux/topology.h:33, from include/linux/gfp.h:9, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/bluetooth/btrsi.c:17: include/linux/unaligned/le_struct.h:22:20: note: previous definition of 'put_unaligned_le16' was here static inline void put_unaligned_le16(u16 val, void *p) ^~~~~~~~~~~~~~~~~~ In file included from drivers/bluetooth/btrsi.c:21:0: >> include/linux/unaligned/le_byteshift.h:61:20: error: redefinition of 'put_unaligned_le32' static inline void put_unaligned_le32(u32 val, void *p) ^~~~~~~~~~~~~~~~~~ In file included from arch/ia64/include/asm/unaligned.h:5:0, from arch/ia64/include/asm/io.h:23, from arch/ia64/include/asm/smp.h:21, from include/linux/smp.h:64, from include/linux/topology.h:33, from include/linux/gfp.h:9, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/bluetooth/btrsi.c:17: include/linux/unaligned/le_struct.h:27:20: note: previous definition of 'put_unaligned_le32' was here static inline void put_unaligned_le32(u32 val, void *p) ^~~~~~~~~~~~~~~~~~ In file included from drivers/bluetooth/btrsi.c:21:0: >> include/linux/unaligned/le_byteshift.h:66:20: error: redefinition of 'put_unaligned_le64' static inline void put_unaligned_le64(u64 val, void *p) ^~~~~~~~~~~~~~~~~~ In file included from arch/ia64/include/asm/unaligned.h:5:0, from arch/ia64/include/asm/io.h:23, from arch/ia64/include/asm/smp.h:21, from include/linux/smp.h:64, from include/linux/topology.h:33, from include/linux/gfp.h:9, from include/linux/umh.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from drivers/bluetooth/btrsi.c:17: include/linux/unaligned/le_struct.h:32:20: note: previous definition of 'put_unaligned_le64' was here static inline void put_unaligned_le64(u64 val, void *p) ^~~~~~~~~~~~~~~~~~ vim +/get_unaligned_le16 +41 include/linux/unaligned/le_byteshift.h 064106a9 Harvey Harrison 2008-04-29 40 064106a9 Harvey Harrison 2008-04-29 @41 static inline u16 get_unaligned_le16(const void *p) 064106a9 Harvey Harrison 2008-04-29 42 { 064106a9 Harvey Harrison 2008-04-29 43 return __get_unaligned_le16((const u8 *)p); 064106a9 Harvey Harrison 2008-04-29 44 } 064106a9 Harvey Harrison 2008-04-29 45 064106a9 Harvey Harrison 2008-04-29 @46 static inline u32 get_unaligned_le32(const void *p) 064106a9 Harvey Harrison 2008-04-29 47 { 064106a9 Harvey Harrison 2008-04-29 48 return __get_unaligned_le32((const u8 *)p); 064106a9 Harvey Harrison 2008-04-29 49 } 064106a9 Harvey Harrison 2008-04-29 50 064106a9 Harvey Harrison 2008-04-29 @51 static inline u64 get_unaligned_le64(const void *p) 064106a9 Harvey Harrison 2008-04-29 52 { 064106a9 Harvey Harrison 2008-04-29 53 return __get_unaligned_le64((const u8 *)p); 064106a9 Harvey Harrison 2008-04-29 54 } 064106a9 Harvey Harrison 2008-04-29 55 064106a9 Harvey Harrison 2008-04-29 @56 static inline void put_unaligned_le16(u16 val, void *p) 064106a9 Harvey Harrison 2008-04-29 57 { 064106a9 Harvey Harrison 2008-04-29 58 __put_unaligned_le16(val, p); 064106a9 Harvey Harrison 2008-04-29 59 } 064106a9 Harvey Harrison 2008-04-29 60 064106a9 Harvey Harrison 2008-04-29 @61 static inline void put_unaligned_le32(u32 val, void *p) 064106a9 Harvey Harrison 2008-04-29 62 { 064106a9 Harvey Harrison 2008-04-29 63 __put_unaligned_le32(val, p); 064106a9 Harvey Harrison 2008-04-29 64 } 064106a9 Harvey Harrison 2008-04-29 65 064106a9 Harvey Harrison 2008-04-29 @66 static inline void put_unaligned_le64(u64 val, void *p) 064106a9 Harvey Harrison 2008-04-29 67 { 064106a9 Harvey Harrison 2008-04-29 68 __put_unaligned_le64(val, p); 064106a9 Harvey Harrison 2008-04-29 69 } 064106a9 Harvey Harrison 2008-04-29 70 :::::: The code at line 41 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