Re: linux-next: build warning after merge of the devfreq tree

From: Leonard Crestez
Date: Mon Aug 26 2019 - 08:37:20 EST


On 26.08.2019 14:50, Stephen Rothwell wrote:
> Hi all,
>
> After merging the devfreq tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/devfreq/governor_passive.c: In function 'devfreq_passive_event_handler':
> drivers/devfreq/governor_passive.c:152:17: warning: unused variable 'dev' [-Wunused-variable]
> struct device *dev = devfreq->dev.parent;
> ^~~
>
> Introduced by commit
>
> 0ef7c7cce43f ("PM / devfreq: passive: Use non-devm notifiers")
>
An older version was merged somehow, this was fixed in v3:
https://patchwork.kernel.org/patch/11091793/

--
Regards,
Leonard