Re: linux-next: build failure after merge of the pm tree

Rafael J. Wysocki
2021-12-03T16:50:41Z

On Thursday, December 2, 2021 11:04:45 AM CET Daniel Lezcano wrote:
>
> On 02/12/2021 00:28, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
> >
> > drivers/powercap/dtpm.c: In function 'init_dtpm':
> > drivers/powercap/dtpm.c:466:21: error: unused variable 'dtpm_descr' [-Werror=unused-variable]
> > 466 | struct dtpm_descr *dtpm_descr;
> > | ^~~~~~~~~~
> > cc1: all warnings being treated as errors
> >
> > Caused by commit
> >
> > f751db8adaea ("powercap/drivers/dtpm: Disable DTPM at boot time")
>
> Rafael, will you drop the patch from your tree and I send a new one with
> the local variable also, or shall I send a change on top of?

I'll fix this.