From: Michal Orzel Date: Fri, 4 Oct 2024 12:22:20 +0000 (+0200) Subject: dt-overlay: Print overlay I/O memory ranges in hex X-Git-Tag: 4.20.0-rc1~329 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b2c7d7070dd0b311b64598411f52cdfa2a882ea2;p=xen.git 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 Acked-by: Stefano Stabellini --- diff --git a/xen/common/dt-overlay.c b/xen/common/dt-overlay.c index 4d75b5b36a..5ce00514ef 100644 --- a/xen/common/dt-overlay.c +++ b/xen/common/dt-overlay.c @@ -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;