[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1596078619.23705.0.camel@mtkswgap22>
Date: Thu, 30 Jul 2020 11:10:19 +0800
From: Neal Liu <neal.liu@...iatek.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Sami Tolvanen <samitolvanen@...gle.com>
Subject: Re: linux-next: build warning after merge of the pm tree
This warning should be fixed also.
Should I send another patch?
Thanks !
On Thu, 2020-07-30 at 12:55 +1000, Stephen Rothwell wrote:
> 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")
>
Powered by blists - more mailing lists