* [freescale-fslc:6.1-2.1.x-imx 4474/15768] drivers/soc/fsl/dpio/dpio-driver.c:32:41: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_wt'?
@ 2023-10-13 21:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-13 21:37 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
tree: https://github.com/Freescale/linux-fslc 6.1-2.1.x-imx
head: 3f41fbe42851375d3d5996e4bf9e9809e6c79517
commit: d55a1f8a47f2d73634aaa26728dab2f280a2fb52 [4474/15768] soc: fsl: dpio: use new ioremap_prot API
config: arm-randconfig-001-20231013 (https://download.01.org/0day-ci/archive/20231014/202310140533.D307ipcs-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231014/202310140533.D307ipcs-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/202310140533.D307ipcs-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/soc/fsl/dpio/dpio-driver.c: In function 'dpaa2_dpio_probe':
>> drivers/soc/fsl/dpio/dpio-driver.c:32:41: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_wt'? [-Werror=implicit-function-declaration]
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:34: error: 'PTE_TYPE_PAGE' undeclared (first use in this function); did you mean 'PTE_TYPE_LARGE'?
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:34: note: each undeclared identifier is reported only once for each function it appears in
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:50: error: 'PTE_AF' undeclared (first use in this function); did you mean 'PTR_IF'?
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:59: error: 'PTE_PXN' undeclared (first use in this function)
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:69: error: 'PTE_UXN' undeclared (first use in this function)
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:79: error: 'PTE_DIRTY' undeclared (first use in this function); did you mean 'L_PTE_DIRTY'?
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:91: error: 'PTE_WRITE' undeclared (first use in this function); did you mean 'MAY_WRITE'?
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:103: error: implicit declaration of function 'PTE_ATTRINDX' [-Werror=implicit-function-declaration]
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:30:116: error: 'MT_NORMAL' undeclared (first use in this function); did you mean 'ZONE_NORMAL'?
30 | #define PROT_NORMAL_NS (PTE_TYPE_PAGE | PTE_AF | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))
| ^~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:32:70: note: in expansion of macro 'PROT_NORMAL_NS'
32 | #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
| ^~~~~~~~~~~~~~
drivers/soc/fsl/dpio/dpio-driver.c:209:34: note: in expansion of macro 'ioremap_cache_ns'
209 | desc.regs_cena = ioremap_cache_ns(dpio_dev->regions[0].start,
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +32 drivers/soc/fsl/dpio/dpio-driver.c
31
> 32 #define ioremap_cache_ns(addr, size) ioremap_prot((addr), (size), PROT_NORMAL_NS)
33
34
--
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-10-13 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13 21:37 [freescale-fslc:6.1-2.1.x-imx 4474/15768] drivers/soc/fsl/dpio/dpio-driver.c:32:41: error: implicit declaration of function 'ioremap_prot'; did you mean 'ioremap_wt'? 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.