Skip to content

Commit d045c31

Browse files
pratyushbrahmarppt
authored andcommitted
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 <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>
1 parent 8f5ae30 commit d045c31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mm/numa_memblks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static int __init numa_alloc_distance(void)
7676
for (j = 0; j < cnt; j++)
7777
numa_distance[i * cnt + j] = i == j ?
7878
LOCAL_DISTANCE : REMOTE_DISTANCE;
79-
printk(KERN_DEBUG "NUMA: Initialized distance table, cnt=%d\n", cnt);
79+
pr_debug("NUMA: Initialized distance table, cnt=%d\n", cnt);
8080

8181
return 0;
8282
}

0 commit comments

Comments
 (0)