* [sashal-linux-stable:queue-5.4 145/174] kernel/dma/direct.c:329:3: error: too many arguments to function 'dma_capable'
@ 2020-01-08 23:52 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-08 23:52 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3405 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: cb8540dad0844e6c0677a071259599a99040d281
commit: f489bb32d9f157980098496f12264615e804590e [145/174] dma-direct: exclude dma_direct_map_resource from the min_low_pfn check
config: i386-randconfig-a002-20200108 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
git checkout f489bb32d9f157980098496f12264615e804590e
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/dma/direct.c: In function 'dma_direct_possible':
>> kernel/dma/direct.c:329:3: error: too many arguments to function 'dma_capable'
dma_capable(dev, dma_addr, size, true);
^~~~~~~~~~~
In file included from include/linux/dma-direct.h:12:0,
from kernel/dma/direct.c:10:
arch/x86/include/asm/dma-direct.h:5:6: note: declared here
bool dma_capable(struct device *dev, dma_addr_t addr, size_t size);
^~~~~~~~~~~
In file included from include/linux/init.h:5:0,
from include/linux/memblock.h:12,
from kernel/dma/direct.c:7:
kernel/dma/direct.c: In function 'dma_direct_map_resource':
kernel/dma/direct.c:378:16: error: too many arguments to function 'dma_capable'
if (unlikely(!dma_capable(dev, dma_addr, size, false))) {
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from include/linux/dma-direct.h:12:0,
from kernel/dma/direct.c:10:
arch/x86/include/asm/dma-direct.h:5:6: note: declared here
bool dma_capable(struct device *dev, dma_addr_t addr, size_t size);
^~~~~~~~~~~
--
In file included from include/linux/export.h:42:0,
from include/linux/linkage.h:7,
from arch/x86/include/asm/cache.h:5,
from include/linux/cache.h:6,
from kernel/dma/swiotlb.c:23:
kernel/dma/swiotlb.c: In function 'swiotlb_map':
>> kernel/dma/swiotlb.c:681:16: error: too many arguments to function 'dma_capable'
if (unlikely(!dma_capable(dev, *dma_addr, size, true))) {
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from include/linux/dma-direct.h:12:0,
from kernel/dma/swiotlb.c:24:
arch/x86/include/asm/dma-direct.h:5:6: note: declared here
bool dma_capable(struct device *dev, dma_addr_t addr, size_t size);
^~~~~~~~~~~
vim +/dma_capable +329 kernel/dma/direct.c
324
325 static inline bool dma_direct_possible(struct device *dev, dma_addr_t dma_addr,
326 size_t size)
327 {
328 return swiotlb_force != SWIOTLB_FORCE &&
> 329 dma_capable(dev, dma_addr, size, true);
330 }
331
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28760 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-08 23:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 23:52 [sashal-linux-stable:queue-5.4 145/174] kernel/dma/direct.c:329:3: error: too many arguments to function 'dma_capable' 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.