* [alobakin:idpf-libie 11/51] include/linux/dma-mapping.h:401:9: error: implicit declaration of function 'dma_check_sync'; did you mean 'dma_need_sync'?
@ 2024-01-14 17:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-14 17:02 UTC (permalink / raw)
To: Alexander Lobakin; +Cc: oe-kbuild-all
tree: https://github.com/alobakin/linux idpf-libie
head: 29cca1ea6c555a8b97694e38f18926da7969dcfe
commit: 366859db976ac1f430583a7ce8a1c4e9e63d589f [11/51] page_pool: add DMA-sync-for-CPU inline helper
config: sh-randconfig-001-20240114 (https://download.01.org/0day-ci/archive/20240115/202401150022.29UhTCNe-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240115/202401150022.29UhTCNe-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401150022.29UhTCNe-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/skbuff.h:28,
from include/linux/if_ether.h:19,
from include/linux/etherdevice.h:20,
from net/bpf/test_run.c:10:
include/linux/dma-mapping.h: In function '__dma_sync_single_range_for_cpu':
include/linux/dma-mapping.h:389:9: error: implicit declaration of function '__dma_sync_single_for_cpu'; did you mean 'dma_sync_single_for_cpu'? [-Werror=implicit-function-declaration]
389 | __dma_sync_single_for_cpu(dev, addr + offset, size, dir);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| dma_sync_single_for_cpu
include/linux/dma-mapping.h: In function '__dma_sync_single_range_for_device':
include/linux/dma-mapping.h:397:9: error: implicit declaration of function '__dma_sync_single_for_device'; did you mean 'dma_sync_single_for_device'? [-Werror=implicit-function-declaration]
397 | __dma_sync_single_for_device(dev, addr + offset, size, dir);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| dma_sync_single_for_device
include/net/page_pool/helpers.h: In function 'page_pool_dma_sync_for_cpu':
>> include/linux/dma-mapping.h:401:9: error: implicit declaration of function 'dma_check_sync'; did you mean 'dma_need_sync'? [-Werror=implicit-function-declaration]
401 | dma_check_sync(__dma_sync_single_range_for_cpu, d, a, o, s, r)
| ^~~~~~~~~~~~~~
include/net/page_pool/helpers.h:416:9: note: in expansion of macro 'dma_sync_single_range_for_cpu'
416 | dma_sync_single_range_for_cpu(pool->p.dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +401 include/linux/dma-mapping.h
ed6ccf10f24bdfc Christoph Hellwig 2018-12-26 399
9a3aa944b330413 Alexander Lobakin 2024-01-11 400 #define dma_sync_single_range_for_cpu(d, a, o, s, r) \
9a3aa944b330413 Alexander Lobakin 2024-01-11 @401 dma_check_sync(__dma_sync_single_range_for_cpu, d, a, o, s, r)
9a3aa944b330413 Alexander Lobakin 2024-01-11 402 #define dma_sync_single_range_for_device(d, a, o, s, r) \
9a3aa944b330413 Alexander Lobakin 2024-01-11 403 dma_check_sync(__dma_sync_single_range_for_device, d, a, o, s, r)
9a3aa944b330413 Alexander Lobakin 2024-01-11 404
:::::: The code at line 401 was first introduced by commit
:::::: 9a3aa944b33041331d3bf1c1ad194ecffee0cbf0 dma: compile-out DMA sync operations when not used
:::::: TO: Alexander Lobakin <aleksander.lobakin@intel.com>
:::::: CC: Alexander Lobakin <aleksander.lobakin@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-14 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14 17:02 [alobakin:idpf-libie 11/51] include/linux/dma-mapping.h:401:9: error: implicit declaration of function 'dma_check_sync'; did you mean 'dma_need_sync'? kernel 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.