Received: by 10.223.176.5 with SMTP id f5csp2008239wra; Sun, 4 Feb 2018 18:06:15 -0800 (PST) X-Google-Smtp-Source: AH8x224zc/zw+3aBQhdjWRGJM35ooNKO2OErl1m+EukL9lwfz0fv6Zb7vS4NCRUsWonKGipBmdrT X-Received: by 10.101.74.208 with SMTP id c16mr5395269pgu.34.1517796375247; Sun, 04 Feb 2018 18:06:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517796375; cv=none; d=google.com; s=arc-20160816; b=CxtwD8rNW+sZVT4UljSIpJKPw+5P8WB2aZqEdaAb0L9eYAxlc9tmA/fmH1axTuh1UY nFivHLbS32ys7cwESkcPum4LHW90Br+p/w+O6LH67wjlcuT5qypDsSahOFLnCUwx/C3N p7kWlxICv0shRxVXKuILaT7I+9qNpx7w977pDz2t2w63hc+nXjRpcksb5OjCc69H6XKW PI7jSZgrEHP48e/QQ0oFUZTiZNWkLLUsfKyI2fC9vIogKNPXnVfEbdU0w99FsAIbv+43 9JU4ADFzkTMBJXvPBhHmYj7eyFnpvs/jqBNx6MHoIp1igeUzDiuxudlCjD/UDhJ5HrH0 4yTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=cIzFcRj/sES0rNJ0K1veXdU9wU6yb4NCwwZaW+kzzx4=; b=sSSqogMcokmJEkQAx5qxrzagav+P7VmluNhFBRZTNseCmq2JF54cbjjsZR+svmG1bx oYDdigHE7dMTv47088hvFUm/Cf4m43v0vfrVQW2NKcNRfg6cbJiNOROLxxz7jimvHIiU UeNZM/sbd2300PWDkXhSy3wA/CCtCsGawiDJo8cUbcTdJgubbrXp4KXjsvlOieuB4mrp BwH1tKYqWSrLAthk2vaOLTrecXGqkx0e9+vnvYp+hDtsR7lNu1YQhGEW1xw/TjCvZ9Ky VG+4DPeMWU3Q4OcFy82zaHCaeFWSHtGxyAygNXPnVRIHO24Ns5jNDGKhdPnFh4Ci5RV/ tRkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qC6GRWEv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si6241871plm.169.2018.02.04.18.06.00; Sun, 04 Feb 2018 18:06:15 -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=pass header.i=@gmail.com header.s=20161025 header.b=qC6GRWEv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751979AbeBECDh (ORCPT + 99 others); Sun, 4 Feb 2018 21:03:37 -0500 Received: from mail-ua0-f196.google.com ([209.85.217.196]:42024 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751982AbeBECDa (ORCPT ); Sun, 4 Feb 2018 21:03:30 -0500 Received: by mail-ua0-f196.google.com with SMTP id 47so1569008uau.9; Sun, 04 Feb 2018 18:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cIzFcRj/sES0rNJ0K1veXdU9wU6yb4NCwwZaW+kzzx4=; b=qC6GRWEvGrbGRdkFf/3tH1pCvAMakECzTf9gBeA2X9TG8QhIkA8RsFiYLajF7SyRR2 ykeMJsAAj7+FrcvvgMIROF9uEK8oT6FTxxmQuH+muDCN44QEWBZlY64B8mKdBrUcqHoq 58rGMUD1nJATpthe0ASzASkhh9jEC7PWPWlpeQllhaz70V58P5O0w5iYcfmFqT4RWdzX BUnXJ0ZchEAyWeeNTZuUhfMBCfnIQgaq72JGc/l1MV7cTdwodpD1Pk17nZ87azWJoUQO JlP1MR8Rp/RaDZ+HfZN7YBcUS1WEfZokhsoZA8QYvUJ9Qj6hsyyN1hipRjALeRGd7NOE VIXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cIzFcRj/sES0rNJ0K1veXdU9wU6yb4NCwwZaW+kzzx4=; b=VK/WnCcTMaUAXzcO//za9zKDrJEut1xxcuuGa+gkSZk5N1VB2fJCqEfEYrCLoKpTaS azbqHmsMWaGQ9mLVupAOk8Kl97LbDDneYAXvuMI8wUVwNY8MUIfMmUNrdOvJlpOLIiS9 RZTR2saEJqn7odm+2H+JmMS6X78n6IqrL+npiyO/vk0rM9sYJUWyZg7v1ZiGgnmLLIuh IFM+LizWs940Q3hY3U6SvX8K8XQ8cBMCqnh8yW0SSqgNwhSvpA/XgdjK++pSs0nOGyxc GLT5DXsZCD5UbiQJ+mFNZhytCAJGa90ZGlER6qQ2DUvnwUn3Zo55mHZB5hjApYXi2W8h 8CYA== X-Gm-Message-State: AKwxytcmkhEC1WbIHI1l+LGgOjeT2g/2iOUD5TK/NlHSAW/7L5Zi2hII 3chbM7ZyykCLm7UbgFWpaz+8yvwAZG3q7+Gj0v1d7ACyoWY= X-Received: by 10.159.41.33 with SMTP id t30mr41258983uat.16.1517796209410; Sun, 04 Feb 2018 18:03:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Sun, 4 Feb 2018 18:03:29 -0800 (PST) In-Reply-To: <20180205012146.23981-21-ulfalizer@gmail.com> References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-21-ulfalizer@gmail.com> From: Ulf Magnusson Date: Mon, 5 Feb 2018 03:03:29 +0100 Message-ID: Subject: Re: [PATCH 20/20] x86/PCI: VMD: Fix malformed default To: Linux Kernel Mailing List , Ley Foon Tan Cc: Linux Kbuild mailing list , tfiga@chromium.org, paul.burton@mips.com, Marek Szyprowski , Hans-Christian Noren Egtvedt , Linus Walleij , vgupta@synopsys.com, mgorman@techsingularity.net, hch@lst.de, mina86@mina86.com, robh@kernel.org, sboyd@codeaurora.org, paulus@ozlabs.org, will.deacon@arm.com, Tony Lindgren , Nicholas Piggin , Masahiro Yamada , Ulf Magnusson , Lorenzo Pieralisi , Bjorn Helgaas , linux-pci@vger.kernel.org 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 On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote: > 'default N' should be 'default n', though they happen to have the same > effect here, due to undefined symbols (N in this case) evaluating to n > in a tristate sense. > > Remove the default from VMD instead of changing it. bool and tristate > symbols implicitly default to n. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > script. > > Signed-off-by: Ulf Magnusson > --- > drivers/pci/host/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig > index a4ed7484d127..dc8a2a175f19 100644 > --- a/drivers/pci/host/Kconfig > +++ b/drivers/pci/host/Kconfig > @@ -215,7 +215,6 @@ config PCIE_TANGO_SMP8759 > config VMD > depends on PCI_MSI && X86_64 && SRCU > tristate "Intel Volume Management Device Driver" > - default N > ---help--- > Adds support for the Intel Volume Management Device (VMD). VMD is a > secondary PCI host bridge that allows PCI Express root ports, > -- > 2.14.1 > The PCIE_ALTERA symbol in this file also depends on the globally undefined symbol OF_PCI, which was removed in 4670d610d592 ("PCI: Move OF-related PCI functions into PCI core"). Cheers, Ulf