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")
I have used the pm tree from next-20211201 for today.
--
Cheers,
Stephen Rothwell
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 have used the pm tree from next-20211201 for today.
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
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.
On 03/12/2021 17:50, Rafael J. Wysocki wrote:
> 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.
Ok, thanks. Sorry for the inconvenience
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog