[arnd-asm-generic:master 1/3] include/linux/io-64-nonatomic-lo-hi.h:114:19: error: implicit declaration of function '__iowrite64_lo_hi'; did you mean 'iowrite64_lo_hi'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
head:   55d422e4e5bf7aece2038533451a9bd5e5181e95
commit: 07928da414b8c0166c9ad4d33b5470d6f7c1dd47 [1/3] asm-generic/io.h: rework split ioread64/iowrite64 helpers
config: riscv-randconfig-002-20250228 (https://download.01.org/0day-ci/archive/20250228/202502280726.h7lhKtT4-lkp@xxxxxxxxx/config)
compiler: riscv32-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250228/202502280726.h7lhKtT4-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502280726.h7lhKtT4-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:20:
   drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c: In function 'axi_dma_iowrite64':
>> include/linux/io-64-nonatomic-lo-hi.h:114:19: error: implicit declaration of function '__iowrite64_lo_hi'; did you mean 'iowrite64_lo_hi'? [-Wimplicit-function-declaration]
     114 | #define iowrite64 __iowrite64_lo_hi
         |                   ^~~~~~~~~~~~~~~~~
   drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:68:9: note: in expansion of macro 'iowrite64'
      68 |         iowrite64(val, chip->regs + reg);
         |         ^~~~~~~~~
   drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c: In function 'axi_dma_ioread64':
>> include/linux/io-64-nonatomic-lo-hi.h:105:18: error: implicit declaration of function '__ioread64_lo_hi'; did you mean 'ioread64_lo_hi'? [-Wimplicit-function-declaration]
     105 | #define ioread64 __ioread64_lo_hi
         |                  ^~~~~~~~~~~~~~~~
   drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:73:16: note: in expansion of macro 'ioread64'
      73 |         return ioread64(chip->regs + reg);
         |                ^~~~~~~~


vim +114 include/linux/io-64-nonatomic-lo-hi.h

   101	
   102	#ifndef ioread64
   103	#define ioread64_is_nonatomic
   104	#ifdef CONFIG_GENERIC_IOREMAP
 > 105	#define ioread64 __ioread64_lo_hi
   106	#else
   107	#define ioread64 ioread64_lo_hi
   108	#endif
   109	#endif
   110	
   111	#ifndef iowrite64
   112	#define iowrite64_is_nonatomic
   113	#ifdef CONFIG_GENERIC_IOREMAP
 > 114	#define iowrite64 __iowrite64_lo_hi
   115	#else
   116	#define iowrite64 iowrite64_lo_hi
   117	#endif
   118	#endif
   119	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux