lkml.org 
[lkml]   [2022]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] srcu: Export srcu_check_nmi_safety() to modules
On Tue, Oct 18, 2022 at 1:50 PM Paul E. McKenney <paulmck@kernel.org> wrote:
>
> On Tue, Oct 18, 2022 at 12:45:33PM +0200, Frederic Weisbecker wrote:
> > On Tue, Oct 18, 2022 at 09:39:06AM +0800, Zqiang wrote:
> > > When enable CONFIG_PROVE_RCU and built modules, the following
> > > error appear:
> > >
> > > ERROR: modpost: "srcu_check_nmi_safety" [kernel/rcu/rcutorture.ko] undefined!
> > > ERROR: modpost: "srcu_check_nmi_safety" [kernel/rcu/rcuscale.ko] undefined!
> > >
> > > This commit fix it by exporting the srcu_check_nmi_safety().
> > >
> > > Signed-off-by: Zqiang <qiang1.zhang@intel.com>
> >
> > Paul, whichever way you prefer, editing the commit or adding this
> > one on top.
> >
> > Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
>
> Thank you all!
>
> This is what I currently have, folded into Frederic's original.
>
> Thoughts?

Looks good to me, has this caught any issues yet?

Thanks.

\
 
 \ /
  Last update: 2022-10-18 21:06    [W:0.047 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site