dt-overlay: Print overlay I/O memory ranges in hex

Printing I/O memory rangeset ranges in decimal is not very helpful when
debugging, so switch to hex by adding RANGESETF_prettyprint_hex flag
for iomem_ranges rangeset.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Michal Orzel authored and Julien Grall committed 2024-10-10 16:18:56 +01:00
1 parent 239b0c8f06
commit b2c7d7070d
1 file changed
+2 -1
+2 -1
View File
@@ -869,7 +869,8 @@ static long handle_attach_overlay_nodes(struct domain *d,
goto out;
}
entry->iomem_ranges = rangeset_new(d, "Overlay: I/O Memory", 0);
entry->iomem_ranges = rangeset_new(d, "Overlay: I/O Memory",
RANGESETF_prettyprint_hex);
if (entry->iomem_ranges == NULL)
{
rc = -ENOMEM;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.