* [hch-misc:sanitize-vmalloc-api.2 5/32] kernel/dma/remap.c:32:22: error: 'count' undeclared; did you mean 'd_count'?
@ 2020-04-14 8:22 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-14 8:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]
tree: git://git.infradead.org/users/hch/misc.git sanitize-vmalloc-api.2
head: f44e0a9207268d44a9f106376661ed3c3f764564
commit: eab29baeeab828a08269b7260d4f02462ba99fe3 [5/32] dma-mapping: use vmap insted of reimplementing it
config: xtensa-randconfig-a001-20200414 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.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 eab29baeeab828a08269b7260d4f02462ba99fe3
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/dma/remap.c: In function 'dma_common_pages_remap':
>> kernel/dma/remap.c:32:22: error: 'count' undeclared (first use in this function); did you mean 'd_count'?
32 | vaddr = vmap(pages, count, VM_DMA_COHERENT, prot);
| ^~~~~
| d_count
kernel/dma/remap.c:32:22: note: each undeclared identifier is reported only once for each function it appears in
vim +32 kernel/dma/remap.c
22
23 /*
24 * Remaps an array of PAGE_SIZE pages into another vm_area.
25 * Cannot be used in non-sleeping contexts
26 */
27 void *dma_common_pages_remap(struct page **pages, size_t size,
28 pgprot_t prot, const void *caller)
29 {
30 void *vaddr;
31
> 32 vaddr = vmap(pages, count, VM_DMA_COHERENT, prot);
33 if (vaddr)
34 find_vm_area(vaddr)->pages = pages;
35 return vaddr;
36 }
37
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30827 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-14 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-14 8:22 [hch-misc:sanitize-vmalloc-api.2 5/32] kernel/dma/remap.c:32:22: error: 'count' undeclared; did you mean 'd_count'? 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.