As the callback function in dt_for_each_range() uses 'uint64_t' as the datatype
for the arguments, so one needs to change the type of parameters in
is_bar_valid() as well.

Signed-off-by: Ayan Kumar Halder <[email protected]>
---
Changes from :-

v1-v5 - New patch introduced in v6.

 xen/arch/arm/pci/pci-host-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/arm/pci/pci-host-common.c 
b/xen/arch/arm/pci/pci-host-common.c
index 5550f9478d..de915aa590 100644
--- a/xen/arch/arm/pci/pci-host-common.c
+++ b/xen/arch/arm/pci/pci-host-common.c
@@ -379,7 +379,7 @@ int __init pci_host_bridge_mappings(struct domain *d)
  * right place for alignment check.
  */
 static int is_bar_valid(const struct dt_device_node *dev,
-                        paddr_t addr, paddr_t len, void *data)
+                        uint64_t addr, uint64_t len, void *data)
 {
     struct pdev_bar_check *bar_data = data;
     paddr_t s = bar_data->start;
-- 
2.17.1


Reply via email to