aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPratyush Brahma <pratyush.brahma@oss.qualcomm.com>2025-08-13 12:51:02 +0530
committerMike Rapoport (Microsoft) <rppt@kernel.org>2025-08-13 10:46:04 +0300
commitd045c3154080a04beb07726fa311b89d21608981 (patch)
treefa5fb3fbd8ff7889f5fae296bb1dfed2a92f308f
parentLinux 6.17-rc1 (diff)
downloadwireguard-linux-d045c3154080a04beb07726fa311b89d21608981.tar.xz
wireguard-linux-d045c3154080a04beb07726fa311b89d21608981.zip
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>
-rw-r--r--mm/numa_memblks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/numa_memblks.c b/mm/numa_memblks.c
index 541a99c4071a..de626525a87c 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;
}