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

From: Dmitry Osipenko
Date: Tue Mar 16 2021 - 10:30:39 EST


16.03.2021 07:48, Viresh Kumar пишет:
> On 16-03-21, 11:15, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the opp tree, today's linux-next build (powerpc
>> ppc64_defconfig) produced this warning:
>>
>> In file included from include/linux/devfreq.h:15,
>> from drivers/base/power/main.c:36:
>> include/linux/pm_opp.h:341:1: warning: 'devm_pm_opp_register_set_opp_helper' defined but not used [-Wunused-function]
>> 341 | devm_pm_opp_register_set_opp_helper(struct device *dev,
>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> Introduced by commit
>>
>> 357b804aa0b9 ("opp: Change return type of devm_pm_opp_register_set_opp_helper()")
>>
>> The "inline" was removed :-(
>
> Fixed and pushed. Thanks.
>

Thanks!