From e0c98d94be9c9b870de9ef146b94bb19a0fda540 Mon Sep 17 00:00:00 2001 From: Marc Rittinghaus Date: Fri, 3 Feb 2023 19:35:25 +0100 Subject: [PATCH] include/uk/plat: Fix initrd0 macro This commit fixes a typo in the ukplat_memregion_find_initrd0 macro. Signed-off-by: Marc Rittinghaus Reviewed-by: Simon Kuenzer Approved-by: Simon Kuenzer Tested-by: Unikraft CI GitHub-Closes: #742 --- include/uk/plat/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uk/plat/memory.h b/include/uk/plat/memory.h index 689ddd518..bd7c444f3 100644 --- a/include/uk/plat/memory.h +++ b/include/uk/plat/memory.h @@ -180,7 +180,7 @@ ukplat_memregion_find_next(int i, __u32 type, __u32 flags, __u32 fmask, * return value < 0 means that there is no initrd module. */ #define ukplat_memregion_find_initrd0(mrd) \ - ukplat_memregion_find_next(-1, UKPLAT_MEMRF_INITRD, 0, 0, mrd) + ukplat_memregion_find_next(-1, UKPLAT_MEMRT_INITRD, 0, 0, mrd) /** * Sets the platform memory allocator and triggers the platform memory mappings -- 2.39.5