mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
239b0c8f06
commit
b2c7d7070d
1 file changed
+2
-1
@@ -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;
|
||||
|
||||