Re: [PATCH] cxl/hdm: Clean up a debug printk

From: Dave Jiang
Date: Fri May 09 2025 - 17:08:47 EST




On 5/9/25 2:01 PM, Ira Weiny wrote:
> Dan Carpenter wrote:
>> 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.
>>
>> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Applied to cxl/next

>
> [snip]