diff options
author | Dave Jiang <dave.jiang@intel.com> | 2025-02-28 23:47:39 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2025-03-15 02:27:54 +0300 |
commit | 3d3e3b94440631179b7b6ffb1a64b944b27519c1 (patch) | |
tree | 9ee0ac6dd37d1bcfeda005df3ee3ad4fc8b7d3f3 /scripts/gdb/linux/proc.py | |
parent | 114a89b433aa899cdcc867bb26806a41aae505ee (diff) | |
download | linux-3d3e3b94440631179b7b6ffb1a64b944b27519c1.tar.xz |
cxl: Fix warning from emitting resource_size_t as long long int on 32bit systems
Reported by kernel test bot from an ARM build:
drivers/cxl/core/region.c:3263:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
On a 32bit system, resource_size_t is defined as 32bit long vs on a 64bit
system it is defined as 64bit long. Use %pa format to deal with
resource_size_t.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503010252.mIDhZ5kY-lkp@intel.com/
Fixes: 0ec9849b6333 ("acpi/hmat / cxl: Add extended linear cache support for CXL")
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/20250228204739.3849309-1-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions