* [PATCH] idle/i7300: Add CONFIG_PCI dependency
@ 2016-10-30 11:42 Borislav Petkov
2016-10-30 14:54 ` Randy Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2016-10-30 11:42 UTC (permalink / raw)
To: LKML; +Cc: Andy Henroid, linux-pm
From: Borislav Petkov <bp@suse.de>
... in order to fix this randconfig build warning:
drivers/idle/i7300_idle.c: In function ‘i7300_idle_stop’:
./include/asm-generic/bug.h:117:24: warning: ‘got_ctl’ is used uninitialized in this function [-Wuninitialized]
int __ret_warn_once = !!(condition); \
^
drivers/idle/i7300_idle.c:415:5: note: ‘got_ctl’ was declared here
u8 got_ctl;
^
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Henroid <andrew.d.henroid@intel.com>
Cc: linux-pm@vger.kernel.org
---
drivers/idle/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/idle/Kconfig b/drivers/idle/Kconfig
index 4732dfc15447..c11ee3e657a6 100644
--- a/drivers/idle/Kconfig
+++ b/drivers/idle/Kconfig
@@ -18,6 +18,7 @@ config I7300_IDLE_IOAT_CHANNEL
config I7300_IDLE
tristate "Intel chipset idle memory power saving driver"
select I7300_IDLE_IOAT_CHANNEL
+ depends on CONFIG_PCI
help
Enable memory power savings when idle with certain Intel server
chipsets. The chipset must have I/O AT support, such as the
--
2.10.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] idle/i7300: Add CONFIG_PCI dependency
2016-10-30 11:42 [PATCH] idle/i7300: Add CONFIG_PCI dependency Borislav Petkov
@ 2016-10-30 14:54 ` Randy Dunlap
2016-10-30 16:32 ` Borislav Petkov
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2016-10-30 14:54 UTC (permalink / raw)
To: Borislav Petkov, LKML; +Cc: Andy Henroid, linux-pm
On 10/30/16 04:42, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
>
> ... in order to fix this randconfig build warning:
>
> drivers/idle/i7300_idle.c: In function ‘i7300_idle_stop’:
> ./include/asm-generic/bug.h:117:24: warning: ‘got_ctl’ is used uninitialized in this function [-Wuninitialized]
> int __ret_warn_once = !!(condition); \
> ^
> drivers/idle/i7300_idle.c:415:5: note: ‘got_ctl’ was declared here
> u8 got_ctl;
> ^
>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Cc: Andy Henroid <andrew.d.henroid@intel.com>
> Cc: linux-pm@vger.kernel.org
> ---
> drivers/idle/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/idle/Kconfig b/drivers/idle/Kconfig
> index 4732dfc15447..c11ee3e657a6 100644
> --- a/drivers/idle/Kconfig
> +++ b/drivers/idle/Kconfig
> @@ -18,6 +18,7 @@ config I7300_IDLE_IOAT_CHANNEL
> config I7300_IDLE
> tristate "Intel chipset idle memory power saving driver"
> select I7300_IDLE_IOAT_CHANNEL
> + depends on CONFIG_PCI
depends on PCI
(no CONFIG_ prefix)
> help
> Enable memory power savings when idle with certain Intel server
> chipsets. The chipset must have I/O AT support, such as the
>
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] idle/i7300: Add CONFIG_PCI dependency
2016-10-30 14:54 ` Randy Dunlap
@ 2016-10-30 16:32 ` Borislav Petkov
2016-11-14 0:36 ` Rafael J. Wysocki
0 siblings, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2016-10-30 16:32 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, Andy Henroid, linux-pm
On Sun, Oct 30, 2016 at 07:54:44AM -0700, Randy Dunlap wrote:
> depends on PCI
> (no CONFIG_ prefix)
Whoops!
Thanks. FWIW, it didn't fire even with "depends on CONFIG_PCI" anymore.
Didn't investigate why though...
---
From: Borislav Petkov <bp@suse.de>
Date: Sun, 30 Oct 2016 14:39:28 +0100
Subject: [PATCH] idle/i7300: Add CONFIG_PCI dependency
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
... in order to fix this randconfig build warning:
drivers/idle/i7300_idle.c: In function ‘i7300_idle_stop’:
./include/asm-generic/bug.h:117:24: warning: ‘got_ctl’ is used uninitialized in this function [-Wuninitialized]
int __ret_warn_once = !!(condition); \
^
drivers/idle/i7300_idle.c:415:5: note: ‘got_ctl’ was declared here
u8 got_ctl;
^
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Henroid <andrew.d.henroid@intel.com>
Cc: linux-pm@vger.kernel.org
---
drivers/idle/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/idle/Kconfig b/drivers/idle/Kconfig
index 4732dfc15447..a066fca3688f 100644
--- a/drivers/idle/Kconfig
+++ b/drivers/idle/Kconfig
@@ -18,6 +18,7 @@ config I7300_IDLE_IOAT_CHANNEL
config I7300_IDLE
tristate "Intel chipset idle memory power saving driver"
select I7300_IDLE_IOAT_CHANNEL
+ depends on PCI
help
Enable memory power savings when idle with certain Intel server
chipsets. The chipset must have I/O AT support, such as the
--
2.10.0
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] idle/i7300: Add CONFIG_PCI dependency
2016-10-30 16:32 ` Borislav Petkov
@ 2016-11-14 0:36 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2016-11-14 0:36 UTC (permalink / raw)
To: Borislav Petkov; +Cc: Randy Dunlap, LKML, Andy Henroid, linux-pm
On Sunday, October 30, 2016 05:32:47 PM Borislav Petkov wrote:
> On Sun, Oct 30, 2016 at 07:54:44AM -0700, Randy Dunlap wrote:
> > depends on PCI
> > (no CONFIG_ prefix)
>
> Whoops!
>
> Thanks. FWIW, it didn't fire even with "depends on CONFIG_PCI" anymore.
> Didn't investigate why though...
>
> ---
> From: Borislav Petkov <bp@suse.de>
> Date: Sun, 30 Oct 2016 14:39:28 +0100
> Subject: [PATCH] idle/i7300: Add CONFIG_PCI dependency
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> ... in order to fix this randconfig build warning:
>
> drivers/idle/i7300_idle.c: In function ‘i7300_idle_stop’:
> ./include/asm-generic/bug.h:117:24: warning: ‘got_ctl’ is used uninitialized in this function [-Wuninitialized]
> int __ret_warn_once = !!(condition); \
> ^
> drivers/idle/i7300_idle.c:415:5: note: ‘got_ctl’ was declared here
> u8 got_ctl;
> ^
>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Cc: Andy Henroid <andrew.d.henroid@intel.com>
> Cc: linux-pm@vger.kernel.org
> ---
> drivers/idle/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/idle/Kconfig b/drivers/idle/Kconfig
> index 4732dfc15447..a066fca3688f 100644
> --- a/drivers/idle/Kconfig
> +++ b/drivers/idle/Kconfig
> @@ -18,6 +18,7 @@ config I7300_IDLE_IOAT_CHANNEL
> config I7300_IDLE
> tristate "Intel chipset idle memory power saving driver"
> select I7300_IDLE_IOAT_CHANNEL
> + depends on PCI
> help
> Enable memory power savings when idle with certain Intel server
> chipsets. The chipset must have I/O AT support, such as the
>
Applied.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-14 0:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-30 11:42 [PATCH] idle/i7300: Add CONFIG_PCI dependency Borislav Petkov
2016-10-30 14:54 ` Randy Dunlap
2016-10-30 16:32 ` Borislav Petkov
2016-11-14 0:36 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox