[PATCH v2 098/113] efi: devicepath: align MemoryMapped name with spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The strings are currently only for barebox-internal consumption, but we
may in future expose them over the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL, so
we should start using the naming that's in the specification.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 efi/devicepath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efi/devicepath.c b/efi/devicepath.c
index 98aba6289e18..dfedeb6239ac 100644
--- a/efi/devicepath.c
+++ b/efi/devicepath.c
@@ -170,7 +170,7 @@ dev_path_mem_map(struct string *str, const void *dev_path)
 	const struct memmap_device_path *mem_map;
 
 	mem_map = dev_path;
-	cprintf(str, "mem_map(%d,0x%llx,0x%llx)",
+	cprintf(str, "MemoryMapped(0x%x,0x%llx,0x%llx)",
 		mem_map->memory_type,
 		mem_map->starting_address, mem_map->ending_address);
 }
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux