[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250811140246.3264034-1-joshua.hahnjy@gmail.com>
Date: Mon, 11 Aug 2025 07:02:45 -0700
From: Joshua Hahn <joshua.hahnjy@...il.com>
To: Mike Rapoport <rppt@...nel.org>
Cc: pratyush.brahma@....qualcomm.com,
Andrew Morton <akpm@...ux-foundation.org>,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mm/numa_memblks: Use pr_debug instead of printk(KERN_DEBUG)
On Mon, 11 Aug 2025 11:01:32 +0300 Mike Rapoport <rppt@...nel.org> wrote:
> On Mon, Aug 11, 2025 at 12:13:54PM +0530, pratyush.brahma@....qualcomm.com wrote:
> > From: Pratyush Brahma <pratyush.brahma@....qualcomm.com>
> >
> > 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@...il.com>
> > Signed-off-by: Pratyush Brahma <pratyush.brahma@....qualcomm.com>
> > ---
> > Changes in v2:
> > - Removed printk header as suggested by Joshua.
> > - Link to v1: https://lore.kernel.org/r/20250808-numa-dbg-v1-1-2ddd1ec634aa@oss.qualcomm.com
> > ---
> > mm/numa_memblks.c | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/mm/numa_memblks.c b/mm/numa_memblks.c
> > index 541a99c4071a67e5b0ef66f4136dee268a880003..ed6fcfca057ab4c9a8aa26cd1929551b4ded4a5b 100644
> > --- a/mm/numa_memblks.c
> > +++ b/mm/numa_memblks.c
> > @@ -2,7 +2,6 @@
> >
> > #include <linux/array_size.h>
> > #include <linux/sort.h>
> > -#include <linux/printk.h>
>
> Please don't, pr_debug is defined there.
Hello Mike, you're totally right, sorry about the incorrect feedback.
For some reason I completely missed this dependency when reviewing.
Joshua
Sent using hkml (https://github.com/sjp38/hackermail)
Powered by blists - more mailing lists