Received: by 10.223.185.116 with SMTP id b49csp246413wrg; Sat, 10 Feb 2018 06:20:37 -0800 (PST) X-Google-Smtp-Source: AH8x2274T7b3iEBmfc7PlrlxhWLkdYdbSkqhjRqjtkHQl6BFsN/DqdqQYWDir2vcuzp1ng8XVKNw X-Received: by 2002:a17:902:6b05:: with SMTP id o5-v6mr5601072plk.179.1518272437844; Sat, 10 Feb 2018 06:20:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518272437; cv=none; d=google.com; s=arc-20160816; b=i54ui/nIh+rxUffid6owwYphuLE4rtexyacJLHQdKV8lX8aHw9G2iQizfDSVh+skbL BO7HF3kAX87miN19eOoGsfLFr5nFaRkLKRJkJrIgrrkdwnTi7cne3H8CU0KVtFZ8Gh8e 2JAmDBzuJD7+0J3lRVdA2QK/Pql5wLRpq3JypFiKE6iVutym9QRDmaOa4Wou9KbITzeX FOdmf06AWqUGUjzpMaDf9KQv8uIeEpH1wtFUV6/9QaSMhhs55YvXp42PVjrUl1vNB9dA Zrry00MJSp4ju3kmqa3MOVPQ7vsxaJM3+wRfTOfkgi6GfYLxAgFdhGpQVCbslbbjPVaY sTQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=x/iGlYfEiPaYJ8ozdEKC7tmfJLhtdg/idxyzkwfhOL8=; b=RDRUWksZqlT6CjK1XAZMEb/+sAJcM9rQEdwFUPif5S8qpxLAme+EbGSFQwUzR8eNqF JPg/i7gebObJmjDsKJeJA9MOJWiEijGurUv+1vXRJdQJWZS9JVR7VC7927v/YyGrbyMy iMfjLlVh2VjW2qYXJzNMHJOZ8M7GgNjIFVF0jmNFp1uE/MlgAoL+nhfd+IrT8eRwC+/v aQ/5Fyg9miFuBUpeamEmGF2r/FQ+8V1T2Z0xBrt9dj+ZHzDROlE7Z4kEIOgnWnCwBcSX vfcJiDxqD2vkATwRHgnu94HAyUUoozdLbsi6rGKoBnIKDME6wixvb7+3LDKZw9au7ANl 5arw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GgVvKaxX; 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=QUARANTINE 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 b10si2778694pge.563.2018.02.10.06.20.22; Sat, 10 Feb 2018 06:20:37 -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=GgVvKaxX; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbeBJOTm (ORCPT + 99 others); Sat, 10 Feb 2018 09:19:42 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:45415 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbeBJOTl (ORCPT ); Sat, 10 Feb 2018 09:19:41 -0500 Received: by mail-lf0-f67.google.com with SMTP id x196so14912452lfd.12; Sat, 10 Feb 2018 06:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=x/iGlYfEiPaYJ8ozdEKC7tmfJLhtdg/idxyzkwfhOL8=; b=GgVvKaxXRwarDFzrqUz/Ve71JSaYXyVd/hRg7ZkgJ/hJcBVxGLherKCPPzS8dT1EPW XdSnF3KebzNxllEwU4x/9YUxfG+KqBMuiamRd9a+uAxPVflqA1numayYAfS6vRhTf/+M vBlxmiDdSVEti+nQykSoqwIV4AcisH/Os7n57qG8OUxG9yZ8bCbWvpsSLij5tbDLzdcV bHBB7nNbBw6sDaC10qxytYnBwchgZyn6FqESQaDKRXT9dYPlOX5QPR1FMrKS/0a7dwE5 GL24NgMKzM0H8j8HJSxJv6+6IlfYW53e3Qc3QXnc3/ogW6RXT0DIWJP9HzMKZhelATBG GnsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=x/iGlYfEiPaYJ8ozdEKC7tmfJLhtdg/idxyzkwfhOL8=; b=K7Z3v43WMdXdlagr93v0S1y8fXlDZTgccnt+AE8wpbAfQiJbCwZpnWZqb3cYYT9lD/ MiShDt+HnzD6jdxE+97SNbnAQnC7ZlXXVf2s3OWPqdrQGMj8WVhn/J25taBpywmlgq6J jaQhO3OTMo3wQ0K9PuHc2Q7aZhf3nVsRAjjZWYDqOM6o3IgsXogayhEAm/kq8SBDKqbD m17yWBoV7t5v6rRjL/pIYn4XnFm3GMcINdgK7EnZWhENPE2TkQ2SaSik5k35REuVdAS/ +IwbNaNvQNrUhlmbDL6G/s02faLH23m1kMXOQ0Jol1ubPGchcPi3xN88hmZyt0W6YYqt qQBA== X-Gm-Message-State: APf1xPC/Xd4M9VMMVU8ZaN/Ox7GfMF2SUiYUawgMqq/l1Azrva6i/QZb pU4q1xTHw1h+CRVFbRvFgRM= X-Received: by 10.46.27.77 with SMTP id b74mr4227311ljb.60.1518272379477; Sat, 10 Feb 2018 06:19:39 -0800 (PST) Received: from huvuddator (ua-213-113-106-221.cust.bredbandsbolaget.se. [213.113.106.221]) by smtp.gmail.com with ESMTPSA id f77sm876181lfe.96.2018.02.10.06.19.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Feb 2018 06:19:38 -0800 (PST) Date: Sat, 10 Feb 2018 15:19:36 +0100 From: Ulf Magnusson To: James Hogan Cc: LKML , linux-kbuild@vger.kernel.org, tfiga@chromium.org, paul.burton@mips.com, m.szyprowski@samsung.com, egtvedt@samfundet.no, Linus Walleij , Vineet Gupta , Mel Gorman , hch@lst.de, mina86@mina86.com, robh@kernel.org, Stephen Boyd , paulus@ozlabs.org, Will Deacon , tony@atomide.com, npiggin@gmail.com, Masahiro Yamada , Miguel Ojeda Sandonis Subject: Re: [PATCH 16/20] auxdisplay: img-ascii-lcd: Remove MIPS_SEAD3 dep. Message-ID: <20180210141936.mi2mo4c45nfzw34a@huvuddator> References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-17-ulfalizer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 08, 2018 at 05:35:30PM +0000, James Hogan wrote: > On 5 February 2018 at 01:21, Ulf Magnusson wrote: > > The MIPS_SEAD3 symbol was removed in commit 64601cb1343f ("leds: Remove SEAD-3 > > driver"). > > > > Remove the MIPS_SEAD3 dependency from IMG_ASCII_LCD. > > Its not a dependency, just a default (presumably so that existing > kernel configs get updated automatically). Note that it appears in the default's condition rather than as part of the default value. Undefined Kconfig symbols always evaluate to n in a tristate state, regardless of whether they're given a user value in a .config file or not, so this is a no-op as far as Kconfig in concerned. The motivation in the original commit message was a bit lackluster though. I've submitted a v2. > > Note that sead3 now uses MIPS_GENERIC (or more specifically > CONFIG_LEGACY_BOARD_SEAD3), but this driver is enabled in the config > snippets, e.g.: > arch/mips/configs/generic/board-sead-3.config > arch/mips/configs/generic/board-boston.config > > so indeed there is no real need to replace MIPS_SEAD3 with anything here. > > Cheers > James > > > > > Discovered with the > > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > > script. > > > > Signed-off-by: Ulf Magnusson > > --- > > drivers/auxdisplay/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig > > index 2c2ed9cf8796..3cba78d36eec 100644 > > --- a/drivers/auxdisplay/Kconfig > > +++ b/drivers/auxdisplay/Kconfig > > @@ -137,7 +137,7 @@ config CFAG12864B_RATE > > config IMG_ASCII_LCD > > tristate "Imagination Technologies ASCII LCD Display" > > depends on HAS_IOMEM > > - default y if MIPS_MALTA || MIPS_SEAD3 > > + default y if MIPS_MALTA > > select SYSCON > > help > > Enable this to support the simple ASCII LCD displays found on > > -- > > 2.14.1 > > > > > > -- > James Hogan Cheers, Ulf