diff --git a/kernel/resource.c b/kernel/resource.c index 5c86d266be34..c99cf3f35802 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -467,7 +467,7 @@ int walk_mem_res(u64 start, u64 end, void *arg, { unsigned long flags = IORESOURCE_MEM | IORESOURCE_BUSY; - return __walk_iomem_res_desc(start, end, flags, IORES_DESC_NONE, true, + return __walk_iomem_res_desc(start, end, flags, IORES_DESC_NONE, false, arg, func); }