]> git.ipfire.org Git - thirdparty/linux.git/commit
cxl/region: fix format string for resource_size_t
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Dec 2025 09:52:26 +0000 (10:52 +0100)
committerDave Jiang <dave.jiang@intel.com>
Tue, 6 Jan 2026 01:12:06 +0000 (18:12 -0700)
commit88c72bab77aaf389beccf762e112828253ca0564
tree4bb8a128893c9990bf49b9c1ab33130806d25dc2
parent269031b15c1433ff39e30fa7ea3ab8f0be9d6ae2
cxl/region: fix format string for resource_size_t

The size of this type is architecture specific, and the recommended
way to print it portably is through the custom %pap format string.

Fixes: d6602e25819d ("cxl/region: Add support to indicate region has extended linear cache")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>> ---
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/20251204095237.1032528-1-arnd@kernel.org
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/region.c