]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxl/hdm: Clean up a debug printk
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 22 Feb 2024 06:14:02 +0000 (09:14 +0300)
committerDave Jiang <dave.jiang@intel.com>
Fri, 9 May 2025 21:04:08 +0000 (14:04 -0700)
commita223ce195741ca4f1a0e1a44f3e75ce5662b6c06
tree6db5cd4d79a76d0346df9f84f1ddde5eb5cf4502
parent68d8b4f399e78a7be2bc69530c7e4b3e79fde9db
cxl/hdm: Clean up a debug printk

Smatch complains that %pa is for phys_addr_t types and "size" is a u64.

    drivers/cxl/core/hdm.c:521 cxl_dpa_alloc() error: '%pa' expects
    argument of type 'phys_addr_t*', argument 4 has type 'ullong*

Looking at this, to me it seems more useful to print the sizes as
decimal instead of hex.  Let's do that.

[dj: Adjusted based on latest code changes. ]

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://patch.msgid.link/3d3d969d-651d-4e9d-a892-900876a60ab5@moroto.mountain
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/core.h
drivers/cxl/core/hdm.c