[PATCH] vsprintf: Use %p4chR instead of %p4cn for reading data in reversed host ordering

Alyssa Rosenzweig alyssa at rosenzweig.io
Tue Apr 29 13:53:53 UTC 2025


On Mon, 28 Apr 2025 14:31:32 +0200, Petr Mladek wrote:
> The generic FourCC format always prints the data using the big endian
> order. It is generic because it allows to read the data using a custom
> ordering.
> 
> The current code uses "n" for reading data in the reverse host ordering.
> It makes the 4 variants [hnbl] consistent with the generic printing
> of IPv4 addresses.
> 
> [...]

Applied, thanks!

[1/1] vsprintf: Use %p4chR instead of %p4cn for reading data in reversed host ordering
      commit: 37eed892cc5ff36aeee59bb78f6aa417a44030a9

Best regards,
-- 
Alyssa Rosenzweig <alyssa at rosenzweig.io>



More information about the dri-devel mailing list