* [intel-tdx:guest-filter 17/34] arch/parisc/include/asm/io.h:139:23: error: 'addr' undeclared
@ 2023-09-23 20:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-23 20:40 UTC (permalink / raw)
To: Andi Kleen; +Cc: oe-kbuild-all, Kuppuswamy Sathyanarayanan
tree: https://github.com/intel/tdx.git guest-filter
head: 205bbdcce0e2be471018d939d81dae51d63b5bd5
commit: d80f2db5351d606316f8d9f3cd29d3e76fad255b [17/34] iomap: Mark ioremap shared when the device is authorized
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20230924/202309240414.RxIDRMGr-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309240414.RxIDRMGr-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/202309240414.RxIDRMGr-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/io.h:13,
from include/linux/irq.h:20,
from arch/parisc/include/asm/hardirq.h:13,
from include/linux/hardirq.h:11,
from include/linux/interrupt.h:11,
from include/linux/pci.h:38,
from lib/pci_iomap.c:7:
lib/pci_iomap.c: In function 'pci_iomap_range':
>> arch/parisc/include/asm/io.h:139:23: error: 'addr' undeclared (first use in this function)
139 | ioremap_prot((addr), (size), _PAGE_IOREMAP)
| ^~~~
lib/pci_iomap.c:47:32: note: in expansion of macro 'ioremap_driver_hardened'
47 | return ioremap_driver_hardened(start, len);
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/parisc/include/asm/io.h:139:23: note: each undeclared identifier is reported only once for each function it appears in
139 | ioremap_prot((addr), (size), _PAGE_IOREMAP)
| ^~~~
lib/pci_iomap.c:47:32: note: in expansion of macro 'ioremap_driver_hardened'
47 | return ioremap_driver_hardened(start, len);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/parisc/include/asm/io.h:139:31: error: 'size' undeclared (first use in this function); did you mean 'ksize'?
139 | ioremap_prot((addr), (size), _PAGE_IOREMAP)
| ^~~~
lib/pci_iomap.c:47:32: note: in expansion of macro 'ioremap_driver_hardened'
47 | return ioremap_driver_hardened(start, len);
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/addr +139 arch/parisc/include/asm/io.h
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 129
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 130 #define _PAGE_IOREMAP (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 131 _PAGE_ACCESSED | _PAGE_NO_CACHE)
^1da177e4c3f41 include/asm-parisc/io.h Linus Torvalds 2005-04-16 132
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 133 #define ioremap_wc(addr, size) \
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 134 ioremap_prot((addr), (size), _PAGE_IOREMAP)
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 135 #define ioremap_uc(addr, size) \
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 136 ioremap_prot((addr), (size), _PAGE_IOREMAP)
6ecf3c252b954b arch/parisc/include/asm/io.h Andi Kleen 2021-10-20 137 /* Share memory with host in confidential guest platforms */
6ecf3c252b954b arch/parisc/include/asm/io.h Andi Kleen 2021-10-20 138 #define ioremap_driver_hardened \
6ecf3c252b954b arch/parisc/include/asm/io.h Andi Kleen 2021-10-20 @139 ioremap_prot((addr), (size), _PAGE_IOREMAP)
426b313f356a31 arch/parisc/include/asm/io.h Baoquan He 2023-07-06 140
:::::: The code at line 139 was first introduced by commit
:::::: 6ecf3c252b954ba96df36a6f2be4ea3c83f23c7d asm/io.h: Add ioremap_driver_hardening
:::::: TO: Andi Kleen <ak@linux.intel.com>
:::::: CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.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:[~2023-09-23 20:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-23 20:40 [intel-tdx:guest-filter 17/34] arch/parisc/include/asm/io.h:139:23: error: 'addr' undeclared 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.