* [mmotm:master 198/211] lib/dma-mapping.c:11: undefined reference to `bad_dma_ops'
@ 2017-03-17 3:45 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-03-17 3:45 UTC (permalink / raw)
To: Andi Kleen
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 8276ddb3c638602509386f1a05f75326dbf5ce09
commit: fcf58ec2015f30ac80f69138843007384d6aefc1 [198/211] include/linux/dma-mapping.h: uninline dma_alloc/free_attrs
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout fcf58ec2015f30ac80f69138843007384d6aefc1
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64
All errors (new ones prefixed by >>):
kernel/built-in.o: In function `__atomic_add_unless':
include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless'
include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless'
include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless'
include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless'
include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless'
mm/built-in.o:include/asm-generic/atomic-instrumented.h:70: more undefined references to `__arch_atomic_add_unless' follow
lib/lib.a(dma-mapping.o): In function `dma_alloc_attrs':
>> lib/dma-mapping.c:11: undefined reference to `bad_dma_ops'
lib/lib.a(dma-mapping.o): In function `dma_free_attrs':
lib/dma-mapping.c:34: undefined reference to `bad_dma_ops'
lib/dma-mapping.c:40: undefined reference to `bad_dma_ops'
collect2: error: ld returned 1 exit status
vim +11 lib/dma-mapping.c
5 dma_addr_t *dma_handle, gfp_t flag,
6 unsigned long attrs)
7 {
8 const struct dma_map_ops *ops = get_dma_ops(dev);
9 void *cpu_addr;
10
> 11 BUG_ON(!ops);
12
13 if (dma_alloc_from_coherent(dev, size, dma_handle, &cpu_addr))
14 return cpu_addr;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 7724 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-17 3:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17 3:45 [mmotm:master 198/211] lib/dma-mapping.c:11: undefined reference to `bad_dma_ops' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.