Received: by 10.223.185.116 with SMTP id b49csp1088000wrg; Fri, 23 Feb 2018 11:43:01 -0800 (PST) X-Google-Smtp-Source: AH8x227li4aZX6p3PniyuOutvp+oYslMvwoFSsUsHTzQP+5ECJvMBz0JWF+OAfbMFOwkvPWh1xhE X-Received: by 10.167.128.194 with SMTP id a2mr2835681pfn.186.1519414981505; Fri, 23 Feb 2018 11:43:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519414981; cv=none; d=google.com; s=arc-20160816; b=a4Qqjv6UnyXGTzeWgL1rSql7Ys7rVaW0SpBmNXx8WWTt3ZGXPhzPz3dT+B7t6yVvQV 269vV7MPr06DE7uWyhcer0UYJqAoutYdX+j59ue0QN8I9QAwfIn38klCr7UfETAsSDaU EEtM6VqUEyGOAGoU+ce2WTywK/0m+A3osYNEtBFvkzoZWzdB60uMuzltfoR7uhNG6w2i DsRc1QkEgq+T8NDBA05ysMddKGU43BlzAkOt1KjcUt3kXXga+spzrRNno6sxewne9Cdj bm6kil6sUya/XKa5u1A1epE49mZbd+m+k26l/UgvGYY/JYBnECoKqkF/he2kvh6hYi6e SLGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=imXk5ExmtYS0u4px6oEj9mv40OyxX0LemIn0pN96qFo=; b=IgzX+bVEA9CQ5mXEduOlqaHKKj5fmlUhzo/cVO+ZVL7jpdg6Apsv4mSBFhnaoM44AV LBrtzTf6MEoP8rsIX+laYd8LWz6LQDyUvMFVF0cDQqBqpKS/h6XCRmk80RS7eTNlU7B2 rPhCbNiFR6reOTJaSKOgh8RoUR4XRpmtACE/N6v8uPd2YyIt19h7T5tG6FHykB5VYh++ lM315/XUyag4cksrrLea0jVZwvsOyWqeq+ZTFRk73wiEpV5boyghSG7mp5ZFEz8cGIm9 KllblZiKjqU8mty3qLKa9KzgGusb9lLvHiuG7qzVwRFEK4KJ11EwvK7pWlVD3sJzkRSp s3CQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si1857012pgo.717.2018.02.23.11.42.46; Fri, 23 Feb 2018 11:43:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934423AbeBWSsf (ORCPT + 99 others); Fri, 23 Feb 2018 13:48:35 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44946 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934405AbeBWSsb (ORCPT ); Fri, 23 Feb 2018 13:48:31 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 89A9EFDC; Fri, 23 Feb 2018 18:48:30 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , Arnd Bergmann Subject: [PATCH 4.9 138/145] idle: i7300: add PCI dependency Date: Fri, 23 Feb 2018 19:27:24 +0100 Message-Id: <20180223170742.562665464@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann GCC correctly points out an uninitialized variable use when CONFIG_PCI is disabled. drivers/idle/i7300_idle.c: In function 'i7300_idle_notifier': include/asm-generic/bug.h:119:5: error: 'got_ctl' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (unlikely(__ret_warn_once && !__warned)) { \ ^ drivers/idle/i7300_idle.c:415:5: note: 'got_ctl' was declared here u8 got_ctl; ^~~~~~~ The driver no longer exists in later kernels, so this patch only appplies to linux-4.9.y and earlier. Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- drivers/idle/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/idle/Kconfig +++ b/drivers/idle/Kconfig @@ -17,6 +17,7 @@ config I7300_IDLE_IOAT_CHANNEL config I7300_IDLE tristate "Intel chipset idle memory power saving driver" + depends on PCI select I7300_IDLE_IOAT_CHANNEL help Enable memory power savings when idle with certain Intel server