xen/arm: Include xen/vmap.h in mm.c
PATCH 1/1 xen/arm: Include xen/vmap.h in mm.c
As reported by ECLAIR scan, MISRA requires declaration to be visible (R8.4). This is not the case for ioremap().
---
https://gitlab.com/xen-project/hardware/xen/-/jobs/9599092510
as part of the most recent pipeline on staging:
https://gitlab.com/xen-project/hardware/xen/-/pipelines/1748174980
--- xen/arch/arm/mm.c | 1 + 1 file changed, 1 insertion(+)
xen/arch/arm/mm.c +1 -0
@@ -12,6 +12,7 @@#include <xen/grant_table.h> #include <xen/guest_access.h> #include <xen/mm.h> +#include <xen/vmap.h> #include <xsm/xsm.h>
Signature · 1 line
2.25.1
Hi Michal,
Quoted 7 lines · Michal Orzel
As reported by ECLAIR scan, MISRA requires declaration to be visible (R8.4). This is not the case for
ioremap().Fixes 2cd02c27d327 ("arm/mpu: Implement stubs for ioremap_attr on MPU")Signed-off-by Michal Orzel <[email protected]>
Cheers
Bertrand
Quoted 23 lines
---
https://gitlab.com/xen-project/hardware/xen/-/jobs/9599092510
as part of the most recent pipeline on staging:
https://gitlab.com/xen-project/hardware/xen/-/pipelines/1748174980
---xen/arch/arm/mm.c| 1 +1 file changed, 1 insertion(+)xen/arch/arm/mm.c +1
-0@@ -12,6 +12,7 @@#include <xen/grant_table.h> #include <xen/guest_access.h> #include <xen/mm.h> +#include <xen/vmap.h> #include <xsm/xsm.h> Signature · 1 line
2.25.1
Quoted 5 lines · Michal Orzel
As reported by ECLAIR scan, MISRA requires declaration to be visible (R8.4). This is not the case for
ioremap().Fixes 2cd02c27d327 ("arm/mpu: Implement stubs for ioremap_attr on MPU")Signed-off-by Michal Orzel <[email protected]>