* [arnd-asm-generic:dma-sync-rework 20/20] arch/csky/mm/dma-mapping.c:65:18: error: 'paddr' undeclared
@ 2023-03-24 14:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-24 14:10 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: oe-kbuild-all, linux-arch
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git dma-sync-rework
head: 9a711fbea373208c1eeb2fafb0c744bc23a79a43
commit: 9a711fbea373208c1eeb2fafb0c744bc23a79a43 [20/20] dma-mapping: replace custom code with generic implementation
config: csky-defconfig (https://download.01.org/0day-ci/archive/20230324/202303242224.lSidB94K-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=9a711fbea373208c1eeb2fafb0c744bc23a79a43
git remote add arnd-asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
git fetch --no-tags arnd-asm-generic dma-sync-rework
git checkout 9a711fbea373208c1eeb2fafb0c744bc23a79a43
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303242224.lSidB94K-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/csky/mm/dma-mapping.c: In function 'arch_dma_cache_inv':
>> arch/csky/mm/dma-mapping.c:65:18: error: 'paddr' undeclared (first use in this function)
65 | cache_op(paddr, size, dma_inv_range);
| ^~~~~
arch/csky/mm/dma-mapping.c:65:18: note: each undeclared identifier is reported only once for each function it appears in
arch/csky/mm/dma-mapping.c: In function 'arch_dma_cache_wback_inv':
arch/csky/mm/dma-mapping.c:70:18: error: 'paddr' undeclared (first use in this function)
70 | cache_op(paddr, size, dma_wbinv_range);
| ^~~~~
vim +/paddr +65 arch/csky/mm/dma-mapping.c
013de2d6671d89 Guo Ren 2018-09-05 62
9a711fbea37320 Arnd Bergmann 2023-03-22 63 static inline void arch_dma_cache_inv(phys_addr_t start, size_t size)
013de2d6671d89 Guo Ren 2018-09-05 64 {
ae76f635d4e1cf Guo Ren 2019-07-30 @65 cache_op(paddr, size, dma_inv_range);
013de2d6671d89 Guo Ren 2018-09-05 66 }
9a711fbea37320 Arnd Bergmann 2023-03-22 67
:::::: The code at line 65 was first introduced by commit
:::::: ae76f635d4e1cffa6870cc5472567ca9d6940a22 csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range
:::::: TO: Guo Ren <ren_guo@c-sky.com>
:::::: CC: Guo Ren <ren_guo@c-sky.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-24 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 14:10 [arnd-asm-generic:dma-sync-rework 20/20] arch/csky/mm/dma-mapping.c:65:18: error: 'paddr' undeclared kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).