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 <[email protected]> Signed-off-by: Pratyush Brahma <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
1 parent 8f5ae30 commit d045c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)