From: Borislav Petkov <bp@alien8.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andy Henroid <andrew.d.henroid@intel.com>, linux-pm@vger.kernel.org
Subject: [PATCH] idle/i7300: Add CONFIG_PCI dependency
Date: Sun, 30 Oct 2016 12:42:28 +0100 [thread overview]
Message-ID: <20161030114228.24114-1-bp@alien8.de> (raw)
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
next reply other threads:[~2016-10-30 11:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 11:42 Borislav Petkov [this message]
2016-10-30 14:54 ` [PATCH] idle/i7300: Add CONFIG_PCI dependency Randy Dunlap
2016-10-30 16:32 ` Borislav Petkov
2016-11-14 0:36 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161030114228.24114-1-bp@alien8.de \
--to=bp@alien8.de \
--cc=andrew.d.henroid@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox