linux-next: build warning after merge of the opp tree
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 :-(
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
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,
fromdrivers/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,
Quoted 7 lines
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Introduced by commit
357b804aa0b9("opp: Change return type ofdevm_pm_opp_register_set_opp_helper()")The "inline" was removed :-(
Fixed and pushed. Thanks.
Signature · 1 line
viresh
16.03.2021 07:48, Viresh Kumar пишет:
Quoted 12 lines · Stephen Rothwell
Quoted 11 lines
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,
fromdrivers/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,| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 8 lines
Quoted 5 lines
Introduced by commit
357b804aa0b9("opp: Change return type ofdevm_pm_opp_register_set_opp_helper()")The "inline" was removed :-(
Fixed and pushed. Thanks.
Thanks!