linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the opp tree
@ 2021-03-16  0:15 Stephen Rothwell
  2021-03-16  4:48 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2021-03-16  0:15 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Dmitry Osipenko, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

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 :-(

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warning after merge of the opp tree
  2021-03-16  0:15 linux-next: build warning after merge of the opp tree Stephen Rothwell
@ 2021-03-16  4:48 ` Viresh Kumar
  2021-03-16 14:29   ` Dmitry Osipenko
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2021-03-16  4:48 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Dmitry Osipenko, Linux Kernel Mailing List, Linux Next Mailing List

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.

-- 
viresh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warning after merge of the opp tree
  2021-03-16  4:48 ` Viresh Kumar
@ 2021-03-16 14:29   ` Dmitry Osipenko
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Osipenko @ 2021-03-16 14:29 UTC (permalink / raw)
  To: Viresh Kumar, Stephen Rothwell
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-16 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16  0:15 linux-next: build warning after merge of the opp tree Stephen Rothwell
2021-03-16  4:48 ` Viresh Kumar
2021-03-16 14:29   ` Dmitry Osipenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).