Re: [PATCH v1 2/2] PCI: Include human-readable sizes in resource assignment messages
From: Andy Shevchenko
Date: Sat Aug 08 2026 - 13:48:17 EST
On Sat, Aug 08, 2026 at 12:23:08PM -0500, Bjorn Helgaas wrote:
> Include human-readable sizes, e.g., "16.0 MiB", in addition to the hex
> "0x1000000" size, in resource-related messages. Also consistently include
> the "0x" prefix.
Instead of repeating many times the %#llx (%s) and accompanying
string_get_size() calls can we rather introduce a (sub-)extension
to %p[R] (perhaps against 'R' to print only size) and use it?
--
With Best Regards,
Andy Shevchenko