[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200713234017.GA23191@madhuparna-HP-Notebook>
Date: Tue, 14 Jul 2020 05:10:18 +0530
From: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>,
joel@...lfernandes.org, rcu@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rculist: Fix _list_check_srcu() macro
On Mon, Jul 13, 2020 at 02:26:24PM -0700, Paul E. McKenney wrote:
> On Tue, Jul 14, 2020 at 02:43:16AM +0530, Madhuparna Bhowmik wrote:
> > On Mon, Jul 13, 2020 at 02:02:44PM -0700, Paul E. McKenney wrote:
> > > On Mon, Jul 13, 2020 at 11:18:46PM +0530, madhuparnabhowmik10@...il.com wrote:
> > > > From: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
> > > >
> > > > This patch fixes the macro _list_check_srcu() for CONFIG_PROVE_RCU_LIST =
> > > > False.
> > > >
> > > > Reported-by: kernel test robot <lkp@...el.com>
> > > > Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
> > >
> > > Thank you, Madhuparna! I am folding this into your original, but
> > > with lowercase "true".
> > >
> > I am really sorry and thanks for applying this with the correction.
>
> No worries! Just thought that I should mention it in case there was
> some subtle reason why TRUE was needed in this case. ;-)
>
No, it was just a mistake.
Thanks,
Madhuparna
> Thanx, Paul
>
> > > > ---
> > > > include/linux/rculist.h | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/include/linux/rculist.h b/include/linux/rculist.h
> > > > index 516b4feb2682..a435ad62b90b 100644
> > > > --- a/include/linux/rculist.h
> > > > +++ b/include/linux/rculist.h
> > > > @@ -73,7 +73,7 @@ static inline void INIT_LIST_HEAD_RCU(struct list_head *list)
> > > > #define __list_check_rcu(dummy, cond, extra...) \
> > > > ({ check_arg_count_one(extra); })
> > > >
> > > > -#define __list_check_srcu(cond)
> > > > +#define __list_check_srcu(cond) TRUE
> > > > #endif
> > > >
> > > > /*
> > > > --
> > > > 2.17.1
> > > >
Powered by blists - more mailing lists