2019-04-03 03:36:08

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the ipmi tree

Hi Corey,

After merging the ipmi tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
cleanup_srcu_struct_quiesced(&user->release_barrier);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cleanup_srcu_struct

Caused by commit

487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")

interacting with commit

f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")

from the rcu tree.

Based on the comments in the rcu tree commit, I have reverted the impi
tree commit for today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2019-04-03 20:28:27

by Corey Minyard

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the ipmi tree

On Wed, Apr 03, 2019 at 02:33:23PM +1100, Stephen Rothwell wrote:
> Hi Corey,
>
> After merging the ipmi tree, today's linux-next build (x86_64
> allmodconfig) failed like this:

Paul, any opinions on this? Is just running this in a workqueue
the best idea?

-corey

>
> drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
> drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
> cleanup_srcu_struct_quiesced(&user->release_barrier);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cleanup_srcu_struct
>
> Caused by commit
>
> 487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")
>
> interacting with commit
>
> f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")
>
> from the rcu tree.
>
> Based on the comments in the rcu tree commit, I have reverted the impi
> tree commit for today.
>
> --
> Cheers,
> Stephen Rothwell


2019-04-03 21:13:06

by Corey Minyard

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the ipmi tree

On Wed, Apr 03, 2019 at 03:27:29PM -0500, Corey Minyard wrote:
> On Wed, Apr 03, 2019 at 02:33:23PM +1100, Stephen Rothwell wrote:
> > Hi Corey,
> >
> > After merging the ipmi tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
>
> Paul, any opinions on this? Is just running this in a workqueue
> the best idea?

Well, I just that patch using a work item and pushed it up. Seems
to work ok. That was already done for other things in the driver.

>
> -corey
>
> >
> > drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
> > drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
> > cleanup_srcu_struct_quiesced(&user->release_barrier);
> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > cleanup_srcu_struct
> >
> > Caused by commit
> >
> > 487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")
> >
> > interacting with commit
> >
> > f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")
> >
> > from the rcu tree.
> >
> > Based on the comments in the rcu tree commit, I have reverted the impi
> > tree commit for today.
> >
> > --
> > Cheers,
> > Stephen Rothwell
>
>

2019-04-04 00:15:38

by Paul E. McKenney

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the ipmi tree

On Wed, Apr 03, 2019 at 04:12:12PM -0500, Corey Minyard wrote:
> On Wed, Apr 03, 2019 at 03:27:29PM -0500, Corey Minyard wrote:
> > On Wed, Apr 03, 2019 at 02:33:23PM +1100, Stephen Rothwell wrote:
> > > Hi Corey,
> > >
> > > After merging the ipmi tree, today's linux-next build (x86_64
> > > allmodconfig) failed like this:
> >
> > Paul, any opinions on this? Is just running this in a workqueue
> > the best idea?
>
> Well, I just that patch using a work item and pushed it up. Seems
> to work ok. That was already done for other things in the driver.

Sounds good to me, apologies for the slow response.

Thanx, Paul

> > -corey
> >
> > >
> > > drivers/char/ipmi/ipmi_msghandler.c: In function 'free_user':
> > > drivers/char/ipmi/ipmi_msghandler.c:1268:2: error: implicit declaration of function 'cleanup_srcu_struct_quiesced'; did you mean 'cleanup_srcu_struct'? [-Werror=implicit-function-declaration]
> > > cleanup_srcu_struct_quiesced(&user->release_barrier);
> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > cleanup_srcu_struct
> > >
> > > Caused by commit
> > >
> > > 487ecb21fa66 ("ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier")
> > >
> > > interacting with commit
> > >
> > > f5ad3991493c ("srcu: Remove cleanup_srcu_struct_quiesced()")
> > >
> > > from the rcu tree.
> > >
> > > Based on the comments in the rcu tree commit, I have reverted the impi
> > > tree commit for today.
> > >
> > > --
> > > Cheers,
> > > Stephen Rothwell
> >
> >
>