]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm/numa_memblks: Use pr_debug instead of printk(KERN_DEBUG)
authorPratyush Brahma <pratyush.brahma@oss.qualcomm.com>
Wed, 13 Aug 2025 07:21:02 +0000 (12:51 +0530)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Wed, 13 Aug 2025 07:46:04 +0000 (10:46 +0300)
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 <joshua.hahnjy@gmail.com>
Signed-off-by: Pratyush Brahma <pratyush.brahma@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250813-numa-dbg-v3-1-1dcd1234fcc5@oss.qualcomm.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
mm/numa_memblks.c

index 541a99c4071a67e5b0ef66f4136dee268a880003..de626525a87c3ed54d31695e86f18c980c084558 100644 (file)
@@ -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;
 }