Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 3 messages Mar 16, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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,
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,

Quoted 7 lines
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

357b804aa0b9 ("opp: Change return type of devm_pm_opp_register_set_opp_helper()")

The "inline" was removed :-(

Fixed and pushed. Thanks.

Signature · 1 line
viresh
#2 lore raw

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,
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,

      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 8 lines
Quoted 5 lines

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!