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: xtensa-randconfig-002-20250228 (https://download.01.org/0day-ci/archive/20250228/202502280814.ATzYxKLc-lkp@xxxxxxxxx/config) compiler: xtensa-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250228/202502280814.ATzYxKLc-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/202502280814.ATzYxKLc-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from drivers/vfio/pci/vfio_pci_rdwr.c:19: drivers/vfio/pci/vfio_pci_rdwr.c: In function 'vfio_pci_core_iowrite64': >> include/linux/io-64-nonatomic-lo-hi.h:132:21: error: implicit declaration of function '__iowrite64be_lo_hi'; did you mean 'iowrite64be_lo_hi'? [-Wimplicit-function-declaration] 132 | #define iowrite64be __iowrite64be_lo_hi | ^~~~~~~~~~~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c:32:25: note: in expansion of macro 'iowrite64be' 32 | #define vfio_iowrite64 iowrite64be | ^~~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c:53:9: note: in expansion of macro 'vfio_iowrite64' 53 | vfio_iowrite##size(val, io); \ | ^~~~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c:65:1: note: in expansion of macro 'VFIO_IOWRITE' 65 | VFIO_IOWRITE(64) | ^~~~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c: In function 'vfio_pci_core_ioread64': >> include/linux/io-64-nonatomic-lo-hi.h:123:20: error: implicit declaration of function '__ioread64be_lo_hi'; did you mean 'ioread64be_lo_hi'? [-Wimplicit-function-declaration] 123 | #define ioread64be __ioread64be_lo_hi | ^~~~~~~~~~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c:31:25: note: in expansion of macro 'ioread64be' 31 | #define vfio_ioread64 ioread64be | ^~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c:79:16: note: in expansion of macro 'vfio_ioread64' 79 | *val = vfio_ioread##size(io); \ | ^~~~~~~~~~~ drivers/vfio/pci/vfio_pci_rdwr.c:91:1: note: in expansion of macro 'VFIO_IOREAD' 91 | VFIO_IOREAD(64) | ^~~~~~~~~~~ -- In file included from vfio_pci_rdwr.c:19: vfio_pci_rdwr.c: In function 'vfio_pci_core_iowrite64': >> include/linux/io-64-nonatomic-lo-hi.h:132:21: error: implicit declaration of function '__iowrite64be_lo_hi'; did you mean 'iowrite64be_lo_hi'? [-Wimplicit-function-declaration] 132 | #define iowrite64be __iowrite64be_lo_hi | ^~~~~~~~~~~~~~~~~~~ vfio_pci_rdwr.c:32:25: note: in expansion of macro 'iowrite64be' 32 | #define vfio_iowrite64 iowrite64be | ^~~~~~~~~~~ vfio_pci_rdwr.c:53:9: note: in expansion of macro 'vfio_iowrite64' 53 | vfio_iowrite##size(val, io); \ | ^~~~~~~~~~~~ vfio_pci_rdwr.c:65:1: note: in expansion of macro 'VFIO_IOWRITE' 65 | VFIO_IOWRITE(64) | ^~~~~~~~~~~~ vfio_pci_rdwr.c: In function 'vfio_pci_core_ioread64': >> include/linux/io-64-nonatomic-lo-hi.h:123:20: error: implicit declaration of function '__ioread64be_lo_hi'; did you mean 'ioread64be_lo_hi'? [-Wimplicit-function-declaration] 123 | #define ioread64be __ioread64be_lo_hi | ^~~~~~~~~~~~~~~~~~ vfio_pci_rdwr.c:31:25: note: in expansion of macro 'ioread64be' 31 | #define vfio_ioread64 ioread64be | ^~~~~~~~~~ vfio_pci_rdwr.c:79:16: note: in expansion of macro 'vfio_ioread64' 79 | *val = vfio_ioread##size(io); \ | ^~~~~~~~~~~ vfio_pci_rdwr.c:91:1: note: in expansion of macro 'VFIO_IOREAD' 91 | VFIO_IOREAD(64) | ^~~~~~~~~~~ vim +132 include/linux/io-64-nonatomic-lo-hi.h 119 120 #ifndef ioread64be 121 #define ioread64be_is_nonatomic 122 #ifdef CONFIG_GENERIC_IOREMAP > 123 #define ioread64be __ioread64be_lo_hi 124 #else 125 #define ioread64be ioread64be_lo_hi 126 #endif 127 #endif 128 129 #ifndef iowrite64be 130 #define iowrite64be_is_nonatomic 131 #ifdef CONFIG_GENERIC_IOREMAP > 132 #define iowrite64be __iowrite64be_lo_hi 133 #else 134 #define iowrite64be iowrite64be_lo_hi 135 #endif 136 #endif 137 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki