tree: https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git for-next head: a9f947bb3dc755158f69eea147d2ea92e3e4dcfe commit: f2df38946a1072054450d26d685b882eed1f885d [5/15] m68k: group io mapping definitions and functions config: m68k-multi_defconfig (attached as .config) compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 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 f2df38946a1072054450d26d685b882eed1f885d # save the attached .config to linux build tree make.cross ARCH=m68k All warnings (new ones prefixed by >>):
drivers/net/ethernet/8390/mac8390.c:156:0: warning: "memcpy_fromio" redefined
#define memcpy_fromio(a, b, c) memcpy((a), (void *)(b), (c)) In file included from arch/m68k/include/asm/nubus.h:6:0, from include/linux/nubus.h:14, from drivers/net/ethernet/8390/mac8390.c:29: arch/m68k/include/asm/kmap.h:56:0: note: this is the location of the previous definition #define memcpy_fromio memcpy_fromio
drivers/net/ethernet/8390/mac8390.c:157:0: warning: "memcpy_toio" redefined
#define memcpy_toio(a, b, c) memcpy((void *)(a), (b), (c)) In file included from arch/m68k/include/asm/nubus.h:6:0, from include/linux/nubus.h:14, from drivers/net/ethernet/8390/mac8390.c:29: arch/m68k/include/asm/kmap.h:63:0: note: this is the location of the previous definition #define memcpy_toio memcpy_toio vim +/memcpy_fromio +156 drivers/net/ethernet/8390/mac8390.c ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 133 2964db0f drivers/net/mac8390.c Finn Thain 2007-05-01 134 /* Sane (32-bit chunk memory read/write) - Some Farallon and Apple do this*/ ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 135 static void sane_get_8390_hdr(struct net_device *dev, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 136 struct e8390_pkt_hdr *hdr, int ring_page); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 137 static void sane_block_input(struct net_device *dev, int count, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 138 struct sk_buff *skb, int ring_offset); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 139 static void sane_block_output(struct net_device *dev, int count, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 140 const unsigned char *buf, const int start_page); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 141 ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 142 /* dayna_memcpy to and from card */ ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 143 static void dayna_memcpy_fromcard(struct net_device *dev, void *to, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 144 int from, int count); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 145 static void dayna_memcpy_tocard(struct net_device *dev, int to, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 146 const void *from, int count); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 147 ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 148 /* Dayna - Dayna/Kinetics use this */ ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 149 static void dayna_get_8390_hdr(struct net_device *dev, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 150 struct e8390_pkt_hdr *hdr, int ring_page); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 151 static void dayna_block_input(struct net_device *dev, int count, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 152 struct sk_buff *skb, int ring_offset); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 153 static void dayna_block_output(struct net_device *dev, int count, ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 154 const unsigned char *buf, int start_page); ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 155 ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 @156 #define memcpy_fromio(a, b, c) memcpy((a), (void *)(b), (c)) ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 @157 #define memcpy_toio(a, b, c) memcpy((void *)(a), (b), (c)) ^1da177e drivers/net/mac8390.c Linus Torvalds 2005-04-16 158 :::::: The code at line 156 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: application/gzip