From: Pratyush Brahma Date: Wed, 13 Aug 2025 07:21:02 +0000 (+0530) Subject: mm/numa_memblks: Use pr_debug instead of printk(KERN_DEBUG) X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d045c3154080a04beb07726fa311b89d21608981;p=users%2Fjedix%2Flinux-maple.git mm/numa_memblks: Use pr_debug instead of printk(KERN_DEBUG) Replace the direct usage of printk(KERN_DEBUG ...) with pr_debug(...) to align with the consistent `pr_*` API usage within the file. Reviewed-by: Joshua Hahn Signed-off-by: Pratyush Brahma Link: https://lore.kernel.org/r/20250813-numa-dbg-v3-1-1dcd1234fcc5@oss.qualcomm.com Signed-off-by: Mike Rapoport (Microsoft) --- diff --git a/mm/numa_memblks.c b/mm/numa_memblks.c index 541a99c4071a6..de626525a87c3 100644 --- a/mm/numa_memblks.c +++ b/mm/numa_memblks.c @@ -76,7 +76,7 @@ static int __init numa_alloc_distance(void) for (j = 0; j < cnt; j++) numa_distance[i * cnt + j] = i == j ? LOCAL_DISTANCE : REMOTE_DISTANCE; - printk(KERN_DEBUG "NUMA: Initialized distance table, cnt=%d\n", cnt); + pr_debug("NUMA: Initialized distance table, cnt=%d\n", cnt); return 0; }