lkml.org 
[lkml]   [2020]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the pm tree
Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/acpi/processor_idle.c: In function 'acpi_idle_enter_s2idle':
drivers/acpi/processor_idle.c:666:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
666 | return;
| ^~~~~~
drivers/acpi/processor_idle.c:657:12: note: declared here
657 | static int acpi_idle_enter_s2idle(struct cpuidle_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/acpi/processor_idle.c:670:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
670 | return;
| ^~~~~~
drivers/acpi/processor_idle.c:657:12: note: declared here
657 | static int acpi_idle_enter_s2idle(struct cpuidle_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

efe9711214e6 ("cpuidle: change enter_s2idle() prototype")

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-07-30 04:55    [W:0.055 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site