Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4528107imj; Tue, 12 Feb 2019 18:36:14 -0800 (PST) X-Google-Smtp-Source: AHgI3IYmdUpsYBBrktPeqqYV9KUJX3EOdU8qg7yI8Ho82WOLA+KAY1aKZdnSCava41Hcc3IBZR9T X-Received: by 2002:a62:2781:: with SMTP id n123mr7226165pfn.138.1550025373949; Tue, 12 Feb 2019 18:36:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550025373; cv=none; d=google.com; s=arc-20160816; b=BcljicygVGw2si1VtUTIlxkuA02XYt7rzi6Z1POILcUl/qlE6yFbx1uxLugE0mkcO5 /spm3tPHsmX/GErRwMyI8VvWvh+ao3+u/yrUjwfWF8kLabyDAVAG2UKxq2Kufy2A9KCj PL8+gPfa5QHd5EkYBKfrxSgMnqq/WQ7Mtjx+9EAfc+o0UAKddFyDZZ2IjVDKtBHgynyz qFae3/D5kwsLpYVHVKH0MVGWxSC+bbXD2H5XI/rN5t2oCtefieK3ttO2G25YK6RCgDK8 XUXyWjL/F+DNHK5QHkdS7/UqvAeKF76pfGTfm5qowUOD6nvad79XzRNdNiYTUsQxHF1R t/XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=CvJls/9WHq/uwdcCcc7/0++kAaQ3Tvmfv+2JesJGOp0=; b=c4TQc51w/b7/q0YfliksGaEhcgxDSp4iOdQjgT7X3fsA7J82ROzJABfiWPyh21j8L8 ANRlrOVX1V9Ev7VDzmV9zAtfIX21G6y1sNs3oXdBSwFsn0Y0vbT7kT3dG3sz0Cj1hmfo RO+TCUwcY+vR4KPbT9TyZKLJ0UEW8gP9IO+2KQeQFQ4gVvl+zYSc/94aBnwZhaOrZRct IkjiQR4eah+lDJG0zf7iCKmKzBZxOBvadXEnIeOe7b2hTv4Y8tNvBF6gYFPX1Tip5m0g 3OB38cHimpoQ6ziPSahq7jb9OZ75kX44ChElVwlIycj/93WYe8CvJKy8klIhB01DTEbo qqnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C6A0dNp3; 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 a2si12905660pgw.264.2019.02.12.18.35.58; Tue, 12 Feb 2019 18:36:13 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C6A0dNp3; 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 S1732708AbfBMAN5 (ORCPT + 99 others); Tue, 12 Feb 2019 19:13:57 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:59736 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728256AbfBMAN5 (ORCPT ); Tue, 12 Feb 2019 19:13:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CvJls/9WHq/uwdcCcc7/0++kAaQ3Tvmfv+2JesJGOp0=; b=C6A0dNp3ADgT55IKSzIAmX2/L o+7Uph0SMZRmVOav7QMIUPHLHEmp3jNeHrlnJZG+ecVd0IXzQkcp4na04WU0uueM0AW2cYs30NGOK LubZTVqRL07yeMIXiB4Lw2rQc1o9PH8+7B/yNlGwYlwO2Ao/bfGYJI0XgoPTjpxUPSTd3EW4Uk178 EQ1BcQ18WHcRr5jcKleDVf6fjnwTuHyC9MXXfONwZ5HZfwTyRYGmIkAtQb3JbNZ69rINrPx4hWBsQ PUQCo7CxgJ34VQGaj/Q1aBDUX/YyXvFj9TQMFe1ihjfupN+36tH0b/MTij0MBbKZcKJmwLxNIhtas 3t2rJodpQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtiBX-0004HW-Mw; Wed, 13 Feb 2019 00:13:56 +0000 Subject: Re: linux-next: Tree for Feb 12 (chrome/wilco_ec/) To: Nick Crews Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Duncan Laurie References: <20190212175059.1ea4c16c@canb.auug.org.au> <94edf49b-6b37-2dac-a2db-ad454b105fd1@infradead.org> From: Randy Dunlap Message-ID: <6913db72-85b3-0b7d-5e38-9cbb6ec4c8c2@infradead.org> Date: Tue, 12 Feb 2019 16:13:54 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/12/19 3:49 PM, Nick Crews wrote: > OK, here is the patch to fix this problem. We had the dependency backwards. > > Should I re-send out the entire patch series to the LKML with this fix in it? > > > diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig > index 462eb9dfa4f2..b69561050868 100644 > --- a/drivers/platform/chrome/Kconfig > +++ b/drivers/platform/chrome/Kconfig > @@ -95,7 +95,7 @@ config CROS_EC_LPC >   >  config CROS_EC_LPC_MEC >         bool "ChromeOS Embedded Controller LPC Microchip EC (MEC) variant" > -       depends on CROS_EC_LPC || WILCO_EC > +       depends on CROS_EC_LPC >         default n >         help >           If you say Y here, a variant LPC protocol for the Microchip EC > diff --git a/drivers/platform/chrome/wilco_ec/Kconfig b/drivers/platform/chrome/wilco_ec/Kconfig > index d8e2cddb4712..6ea2d3f64ce5 100644 > --- a/drivers/platform/chrome/wilco_ec/Kconfig > +++ b/drivers/platform/chrome/wilco_ec/Kconfig > @@ -1,6 +1,6 @@ >  config WILCO_EC >         tristate "ChromeOS Wilco Embedded Controller" > -       depends on ACPI && X86 > +       depends on ACPI && X86 && CROS_EC_LPC_MEC >         select CROS_EC_LPC_MEC >         help >           If you say Y here, you get support for talking to the ChromeOS > > Nick, Did you test this? When I apply the patch (by hand, since it was whitespace-mangled/damaged), I get this: rdunlap@midway:linux-next-20190212> make ARCH=x86_64 O=X64 oldconfig make[1]: Entering directory '/home/rdunlap/lnx/next/linux-next-20190212/X64' GEN Makefile scripts/kconfig/conf --oldconfig Kconfig drivers/platform/chrome/Kconfig:84:error: recursive dependency detected! drivers/platform/chrome/Kconfig:84: symbol CROS_EC_LPC_MEC is selected by WILCO_EC drivers/platform/chrome/wilco_ec/Kconfig:1: symbol WILCO_EC depends on CROS_EC_LPC_MEC For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" -- ~Randy