Re: linux-next: build warning after merge of the pm tree

2021-04-02 Thread Rafael J. Wysocki
On Wednesday, March 31, 2021 8:22:54 AM CEST Vitaly Kuznetsov wrote: > Stephen Rothwell writes: > > > 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_play_dead': > >

Re: linux-next: build warning after merge of the pm tree

2021-03-30 Thread Vitaly Kuznetsov
Stephen Rothwell writes: > 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_play_dead': > drivers/acpi/processor_idle.c:542:15: warning: extra tokens at end of #ifdef > directi

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

2021-03-30 Thread Stephen Rothwell
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_play_dead': drivers/acpi/processor_idle.c:542:15: warning: extra tokens at end of #ifdef directive 542 | #ifdef defined(CONFIG_X86) &&

Re: linux-next: build warning after merge of the pm tree

2021-02-22 Thread Stephen Rothwell
Hi all, On Mon, 15 Feb 2021 11:39:39 +1100 Stephen Rothwell wrote: > > Hi all, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > In file included from drivers/gpu/drm/gma500/mdfld_output.c:28: > arch/x86/include/asm/intel_scu_ipc.h:23:12

Re: linux-next: build warning after merge of the pm tree

2021-02-15 Thread Andy Shevchenko
+Cc: Patrik (JFYI). On Mon, Feb 15, 2021 at 12:23 PM Andy Shevchenko wrote: > > On Mon, Feb 15, 2021 at 2:45 AM Stephen Rothwell > wrote: > > > > Hi all, > > > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > > In file included from dr

Re: linux-next: build warning after merge of the pm tree

2021-02-15 Thread Andy Shevchenko
On Mon, Feb 15, 2021 at 2:45 AM Stephen Rothwell wrote: > > Hi all, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > In file included from drivers/gpu/drm/gma500/mdfld_output.c:28: > arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'str

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

2021-02-14 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from drivers/gpu/drm/gma500/mdfld_output.c:28: arch/x86/include/asm/intel_scu_ipc.h:23:12: warning: 'struct module' declared inside parameter list will not be visible outside

Re: linux-next: build warning after merge of the pm tree

2021-01-26 Thread Zhang Rui
Hi, Stephen, Sorry that I missed this build warning in the first place, thanks for reporting. The patch below fixes it. BTW, Rafael, I think acpi_fpdt_init() also needs to be fixed to have proper return value. Do you prefer an incremental patch or a V2 of 208757d71098 ("ACPI: tables: introduce su

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

2021-01-26 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/printk.h:7, from include/linux/kernel.h:16, from include/linux/list.h:9, from include/linux/kobject.h:19,

Re: linux-next: build warning after merge of the pm tree

2020-11-19 Thread Andy Shevchenko
On Thu, Nov 19, 2020 at 11:09:01AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > WARNING: modpost: missing MODULE_LICENSE() in kernel/resource_kunit.o > > Introduced by commit > > 5df38ca6afe

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

2020-11-18 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: modpost: missing MODULE_LICENSE() in kernel/resource_kunit.o Introduced by commit 5df38ca6afec ("resource: Add test cases for new resource API") -- Cheers, Stephen Rothwell pg

Re: linux-next: build warning after merge of the pm tree

2020-10-15 Thread Stephen Rothwell
Hi all, On Thu, 8 Oct 2020 20:35:59 +1100 Stephen Rothwell wrote: > > On Thu, 1 Oct 2020 19:43:37 +1000 Stephen Rothwell > wrote: > > > > On Tue, 22 Sep 2020 18:11:26 +1000 Stephen Rothwell > > wrote: > > > > > > After merging the pm tree, today's linux-next build (i386 defconfig) > > > p

Re: linux-next: build warning after merge of the pm tree

2020-10-08 Thread Stephen Rothwell
Hi all, On Thu, 1 Oct 2020 19:43:37 +1000 Stephen Rothwell wrote: > > On Tue, 22 Sep 2020 18:11:26 +1000 Stephen Rothwell > wrote: > > > > After merging the pm tree, today's linux-next build (i386 defconfig) > > produced this warning: > > > > In file included from include/acpi/acpi.h:24, > >

Re: linux-next: build warning after merge of the pm tree

2020-10-01 Thread Stephen Rothwell
Hi all, On Tue, 22 Sep 2020 18:11:26 +1000 Stephen Rothwell wrote: > > After merging the pm tree, today's linux-next build (i386 defconfig) > produced this warning: > > In file included from include/acpi/acpi.h:24, > from drivers/acpi/acpica/hwgpe.c:10: > drivers/acpi/acpica/hw

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

2020-09-22 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (i386 defconfig) produced this warning: In file included from include/acpi/acpi.h:24, from drivers/acpi/acpica/hwgpe.c:10: drivers/acpi/acpica/hwgpe.c: In function 'acpi_hw_gpe_read': include/acpi/actypes.h:501:48: warni

Re: linux-next: build warning after merge of the pm tree

2020-07-29 Thread Neal Liu
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 'ac

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

2020-07-29 Thread Stephen Rothwell
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

Re: linux-next: build failure after merge of the pm tree (Was: linux-next: build warning after merge of the pm tree)

2019-10-16 Thread Andy Shevchenko
On Wed, Oct 16, 2019 at 11:15:44AM +0200, Geert Uytterhoeven wrote: > On Tue, Oct 15, 2019 at 1:27 PM Rafael J. Wysocki wrote: > > On Tuesday, October 15, 2019 1:16:50 AM CEST Stephen Rothwell wrote: > > > On Tue, 15 Oct 2019 10:08:55 +1100 Stephen Rothwell > > > = > > > wrote: > > > This becam

Re: linux-next: build failure after merge of the pm tree (Was: linux-next: build warning after merge of the pm tree)

2019-10-16 Thread Geert Uytterhoeven
Hi Rafael, On Tue, Oct 15, 2019 at 1:27 PM Rafael J. Wysocki wrote: > On Tuesday, October 15, 2019 1:16:50 AM CEST Stephen Rothwell wrote: > > On Tue, 15 Oct 2019 10:08:55 +1100 Stephen Rothwell > > = > > wrote: > > > > > > After merging the pm tree, today's linux-next build (arm > > > multi_v7

Re: linux-next: build failure after merge of the pm tree (Was: linux-next: build warning after merge of the pm tree)

2019-10-15 Thread Rafael J. Wysocki
On Tuesday, October 15, 2019 1:16:50 AM CEST Stephen Rothwell wrote: > > --Sig_/6GS1h5au_w04qPbsgg/ztsa > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Hi all, > > On Tue, 15 Oct 2019 10:08:55 +1100 Stephen Rothwell = > wrote: > > > > After merging

Re: linux-next: build warning after merge of the pm tree

2019-10-15 Thread Rafael J. Wysocki
On Tuesday, October 15, 2019 10:23:33 AM CEST Andy Shevchenko wrote: > On Tue, Oct 15, 2019 at 10:08:55AM +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the pm tree, today's linux-next build (arm > > multi_v7_defconfig) produced this warning: > > > > In file included from includ

Re: linux-next: build warning after merge of the pm tree

2019-10-15 Thread Andy Shevchenko
On Tue, Oct 15, 2019 at 10:08:55AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/linux/irqchip.h:14, > from arch/arm/kernel/irq.c:26: > include/l

linux-next: build failure after merge of the pm tree (Was: linux-next: build warning after merge of the pm tree)

2019-10-14 Thread Stephen Rothwell
Hi all, On Tue, 15 Oct 2019 10:08:55 +1100 Stephen Rothwell wrote: > > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/linux/irqchip.h:14, > from arch/arm/kernel/irq.c:26: > include/linux/ac

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

2019-10-14 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/irqchip.h:14, from arch/arm/kernel/irq.c:26: include/linux/acpi.h:682:31: warning: 'struct acpi_device' declared inside parameter list

Re: linux-next: build warning after merge of the pm tree

2019-07-11 Thread Rafael J. Wysocki
On Thursday, July 11, 2019 7:46:29 AM CEST wen.yan...@zte.com.cn wrote: > > Hi all, > > > > After merging the pm tree, today's linux-next build (powerpc > > ppc64_defconfig) produced this warning: > > > > drivers/cpufreq/pasemi-cpufreq.c: In function 'pas_cpufreq_cpu_init': > > drivers/cpufreq/pa

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

2019-07-10 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/cpufreq/pasemi-cpufreq.c: In function 'pas_cpufreq_cpu_init': drivers/cpufreq/pasemi-cpufreq.c:199:1: warning: label 'out_unmap_sdcpwr' defined but not used [-Wunused-label] out_

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

2019-01-23 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/acpi/acpi_dbg.c: In function 'acpi_aml_init': drivers/acpi/acpi_dbg.c:774:1: warning: label 'err_exit' defined but not used [-Wunused-label] err_exit: ^~~~ Introduced by com

Re: linux-next: build warning after merge of the pm tree

2018-07-30 Thread Stephen Rothwell
Hi all, On Mon, 30 Jul 2018 10:24:45 +0300 Sakari Ailus wrote: > > On Mon, Jul 30, 2018 at 12:00:53PM +1000, Stephen Rothwell wrote: > > > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > > drivers/media/i2c/mt9v111.c: In function 'mt

Re: linux-next: build warning after merge of the pm tree

2018-07-30 Thread jacopo mondi
Hi, On Mon, Jul 30, 2018 at 10:24:45AM +0300, Sakari Ailus wrote: > Hi folks, > > On Mon, Jul 30, 2018 at 12:00:53PM +1000, Stephen Rothwell wrote: > > Hi Rafael, > > > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > > drivers/media/i2c/

Re: linux-next: build warning after merge of the pm tree

2018-07-30 Thread Sakari Ailus
Hi folks, On Mon, Jul 30, 2018 at 12:00:53PM +1000, Stephen Rothwell wrote: > Hi Rafael, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/media/i2c/mt9v111.c: In function 'mt9v111_set_format': > drivers/media/i2c/mt9v111.c:887:15:

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

2018-07-29 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/media/i2c/mt9v111.c: In function 'mt9v111_set_format': drivers/media/i2c/mt9v111.c:887:15: warning: 'idx' may be used uninitialized in this function [-Wmaybe-uninitialized] unsig

Re: linux-next: build warning after merge of the pm tree

2018-06-08 Thread Rafael J. Wysocki
On Friday, June 8, 2018 2:30:35 AM CEST Stephen Rothwell wrote: > > --Sig_/ncqmE76IGCiWNItKgM.lURc > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Hi all, Hi, > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced th

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

2018-06-07 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: vmlinux.o(.text+0xc5b83a): Section mismatch in reference from the function __intel_pstate_cpu_init() to the variable .init.rodata:intel_pstate_hwp_boost_ids The function __intel_pst

Re: linux-next: build warning after merge of the pm tree

2018-04-10 Thread Rafael J. Wysocki
On Monday, April 9, 2018 3:24:38 AM CEST Stephen Rothwell wrote: > > --Sig_/QL=OZEguM./+7xhHdQruHaV > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Hi Rafael, > > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) produce

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

2018-04-08 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: kernel/time/tick-sched.c: In function 'tick_nohz_idle_exit': kernel/time/tick-sched.c:1162:3: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized] __tick

Re: linux-next: build warning after merge of the pm tree

2016-11-14 Thread Akshay Adiga
Hi Rafeal, Good catch, I need to set lpstate_idx = gpstate_idx. I will send a patch which fixes this commit. Thanks Stephen for reporting it. :) Regards Akshay Adiga On 11/14/2016 05:33 AM, Rafael J. Wysocki wrote: On Monday, November 14, 2016 10:40:09 AM Stephen Rothwell wrote: > Hi Rafael,

Re: linux-next: build warning after merge of the pm tree

2016-11-13 Thread Rafael J. Wysocki
On Monday, November 14, 2016 10:40:09 AM Stephen Rothwell wrote: > Hi Rafael, Hi Stephen, > After merging the pm tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > drivers/cpufreq/powernv-cpufreq.c: In function 'gpstate_timer_handler': > drivers/cpufreq/powernv

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

2016-11-13 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/cpufreq/powernv-cpufreq.c: In function 'gpstate_timer_handler': drivers/cpufreq/powernv-cpufreq.c:642:5: warning: 'lpstate_idx' may be used uninitialized in this function [-Wma

Re: linux-next: build warning after merge of the pm tree

2014-11-17 Thread Rafael J. Wysocki
On Tuesday, November 18, 2014 12:45:09 AM Paul Bolle wrote: > On Tue, 2014-11-18 at 00:14 +0100, Rafael J. Wysocki wrote: > > I'll drop the commit for now, but this looks strange. > > > > Had you cleaned up the kernel configuration after dropping the PM_RUNTIME > > select > > from ARCH_EXYNOS? >

Re: linux-next: build warning after merge of the pm tree

2014-11-17 Thread Paul Bolle
On Tue, 2014-11-18 at 00:14 +0100, Rafael J. Wysocki wrote: > I'll drop the commit for now, but this looks strange. > > Had you cleaned up the kernel configuration after dropping the PM_RUNTIME > select > from ARCH_EXYNOS? I retested this again: [linux * (next-20141117)]$ git status HEAD detach

Re: linux-next: build warning after merge of the pm tree

2014-11-17 Thread Rafael J. Wysocki
On Monday, November 17, 2014 12:31:43 PM Paul Bolle wrote: > On Mon, 2014-11-17 at 13:44 +1100, Stephen Rothwell wrote: > > Hi Rafael, > > > > After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) > > produced this warning: > > > > kernel/power/Kconfig:132:error: recursive

Re: linux-next: build warning after merge of the pm tree

2014-11-17 Thread Paul Bolle
On Mon, 2014-11-17 at 13:44 +1100, Stephen Rothwell wrote: > Hi Rafael, > > After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) > produced this warning: > > kernel/power/Kconfig:132:error: recursive dependency detected! > kernel/power/Kconfig:132: symbol PM_RUNTIME is

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

2014-11-16 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: kernel/power/Kconfig:132:error: recursive dependency detected! kernel/power/Kconfig:132: symbol PM_RUNTIME is selected by PM_GENERIC_DOMAINS kernel/power/Kconfig:272: symbol

Re: linux-next: build warning after merge of the pm tree

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 11:23:38 PM Fengguang Wu wrote: > On Wed, Oct 29, 2014 at 03:55:19PM +0100, Rafael J. Wysocki wrote: > > On Wednesday, October 29, 2014 01:51:29 PM Stephen Rothwell wrote: > > > Hi Rafael, > > > > Hi, > > > > > After merging the pm tree, today's linux-next build (ar

Re: linux-next: build warning after merge of the pm tree

2014-10-29 Thread Fengguang Wu
On Wed, Oct 29, 2014 at 03:55:19PM +0100, Rafael J. Wysocki wrote: > On Wednesday, October 29, 2014 01:51:29 PM Stephen Rothwell wrote: > > Hi Rafael, > > Hi, > > > After merging the pm tree, today's linux-next build (arm > > multi_v7_defconfig) produced this warning: > > > > drivers/of/base.c:

Re: linux-next: build warning after merge of the pm tree

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 01:51:29 PM Stephen Rothwell wrote: > Hi Rafael, Hi, > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/of/base.c: In function 'of_property_read_string_array': > drivers/of/base.c:1472:1: warning: con

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

2014-10-28 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/of/base.c: In function 'of_property_read_string_array': drivers/of/base.c:1472:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Introduced by commit e