Received: by 10.223.185.116 with SMTP id b49csp1035515wrg; Fri, 23 Feb 2018 10:44:22 -0800 (PST) X-Google-Smtp-Source: AH8x227FDTxCn68+/dBXtH+2nnMj5grU8KTPahg/Iz/x62XPLz6XH09NuuFqaWWc6g3li2vNMYXm X-Received: by 2002:a17:902:6c4d:: with SMTP id h13-v6mr2551478pln.273.1519411462131; Fri, 23 Feb 2018 10:44:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519411462; cv=none; d=google.com; s=arc-20160816; b=xQnjUl2RpVtjJPtIBMr5kTBPiBLwtvSxURIQSBUwqsGf4Q06EM+uArCYSZHHyLZ07I yF4n7C1s7qraAYOQtms0lax19hU2HZ1OKSM+RVedPm4bktTNnQhvwLi5BUv9sdweT8ok u7SRl0bL5LjkLwuyh498zQiYw4iyXErbI9Gsj9rZTBMKQnKpyf9J8EyoNBh84s4jBzyd zHKKbf31Czy3PfqXT7NL3yHWbbtZpA4u6JKJ02LOxr8Jqclh2ZOfmYyZb3FpZYjtmE61 WF8KbuJBSeVU1PiTOQPnLa0wNteFXSwT/vbSZ+JCScIcKSC4AN3EcsqwV+YBgdXdM0zX M7Tg== 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=dr0hPv1kgJ2LygrRjd4iuFQ3BRW0KIsRivsI9NnPn90=; b=lY4bSx3FNnwahQlIJL9jLzXvy0YlkdMUTFkwciHcZUSdeTet9fTapXRvyNU8gI3jv2 uj3cwCZ4+HEDRnXQp9I6V0GP5Q2cc2dCBj6wdG3Il0myil70i1c2WbXW3utH5rqA13Rb 5PcKGcT/Q4MssQTHhCYYgVHBz8XPZpjG/W1gotOg0eInnRT0SiPO4Tk5j7t9EcvXGFA/ sC+Nb6AA8Aln/VtU2jt24lXXLSxwm93TuixfgPYdm2Ump/3xrNC5tXIoXF74Jyy9nYu6 09Yxbe+b4p61HIQc54/rbHBbjET+5IBzOFaE0CKCN68wqIZ1KG4KYVOErM7invv8hlCz /gLw== 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 l24si1820131pgo.580.2018.02.23.10.44.06; Fri, 23 Feb 2018 10:44:22 -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 S933003AbeBWSmM (ORCPT + 99 others); Fri, 23 Feb 2018 13:42:12 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41302 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753559AbeBWSmI (ORCPT ); Fri, 23 Feb 2018 13:42:08 -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 40944707; Fri, 23 Feb 2018 18:42:07 +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.4 153/193] idle: i7300: add PCI dependency Date: Fri, 23 Feb 2018 19:26:26 +0100 Message-Id: <20180223170349.920176501@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@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.4-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