Received: by 10.223.176.5 with SMTP id f5csp1988192wra; Sun, 4 Feb 2018 17:31:49 -0800 (PST) X-Google-Smtp-Source: AH8x224Atg9h/E+ScAS2JqxGModydsLmyGfyoB0dQ1vhVp9tOvbUiPcZlAYdwBNz5AIUeh8X0yVg X-Received: by 10.99.114.19 with SMTP id n19mr6299589pgc.143.1517794309057; Sun, 04 Feb 2018 17:31:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517794309; cv=none; d=google.com; s=arc-20160816; b=XKLqAapF9wW1FC0FIk80gwK0yOVw/vPQiY3Mon82UFBjX2BdAm2VIi8tmUj68sR7li G701iVgsOZ9w8vLYOXIeGi9oGpHPAbRSGy8vV1XzCECzzGjnCfIWPWPGq+TlqZZJPNnx TiIGL8O7FSvSk3L6zMWWqKQ3WA5ngHIH3FHaRK0kH8OeZsgO0PFXCfZaUCXnqEStuhuf n+U23fJQkEYtrwomvlQ2+3E4sHT6ZqB+K0AmGvloLDQp6I36vDr05AzRKzu1uCit4oz4 kfMGBeZ7YanDmUKO/N3XsqbMa+LNvYsgosNncy4FVSb/fbU8oDfP0xSPZ6tD0seaxvC6 bDFA== 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=DA/zk/LxHd+PQxFgzLrfGVO+1NeDIlW2Hitluqc3D5k=; b=ZwVV/v50fDLunIEt6qwgtbh79gTLQaGFwLhk1j/ix0QpD8VI8zLXPoh5O78y2QJKid 1y0aBdQLONkrbTYNOndj57SPN7jXNxkdej/+JuZDV411BtwPF/srA4hKDqBo6GIVvEX2 KQlpauXe/DxeIdDjTyOaQYoSp0Q8i5F2dL2OpwpU35JHccsIqJ3yikicXeSNwgIpDxmx kZ4sK6CorwNnLOjJx1yNO7O/fvyT5v49ttdVX2dwfICAwNVchfNGtDM8s6VL7WEbgTZt GPusbX9UtXxuQyT3LGKWVp/rHyGtWFPxYUO1J77X8063yqjWmGeZqsFCMU58LDqUSRVn UmrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dp0cuOJS; 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 o12si2997430pgq.9.2018.02.04.17.31.34; Sun, 04 Feb 2018 17:31:49 -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=dp0cuOJS; 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 S1752788AbeBEBbP (ORCPT + 99 others); Sun, 4 Feb 2018 20:31:15 -0500 Received: from mail-vk0-f68.google.com ([209.85.213.68]:41937 "EHLO mail-vk0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752575AbeBEBa7 (ORCPT ); Sun, 4 Feb 2018 20:30:59 -0500 Received: by mail-vk0-f68.google.com with SMTP id g186so16749497vkd.8; Sun, 04 Feb 2018 17:30:58 -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=DA/zk/LxHd+PQxFgzLrfGVO+1NeDIlW2Hitluqc3D5k=; b=dp0cuOJSB+lCxdGLX5p9yL92cQEcDpqBxCp+VfGVXG7byG+PxYzmsL0+Ig+AlxYniy N89pgJTkNcDAp7z0G9zc0ruvzGUjOwADFso+cu+jddseeDmwmZ8LYoHq5bxjHSpGymNJ C94tOAOL914Uz3thmNUJOnbHdMMUwy503gyrX8Ensb25SbmhgyTdQHIJr59MNf3AbIuu SQgvnP4bf8WsDNo4b0ZCDXg+FgW18RhlZn0gZakBAs4fjusQcbN5ZfgeYZ8/5IiPo8V9 HGGEKn/ePRXYA8PlKZvUiV/Jdv0lLE6Vu6pEK6r9R9baJYk1ao+ZW2OTc3j3oFrykb9e JS2w== 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=DA/zk/LxHd+PQxFgzLrfGVO+1NeDIlW2Hitluqc3D5k=; b=qeiT6B9x4hgPN9We+oFjETpOp7u/SvAJUdO7BhPtn5dEIcx3OT6LqME3aJwCVxmROk IjR9Vdi/iOUh8hNctUrdgCfPtVR91mMp53wCAvDJw7IxkfkyZzGLa9ORwhXI0qhYbhs0 V8MQePJw5qjnYcbBn+hHH0OXhnQs2juFgmppK7yceEDeC4M49v2O8gtkQG5OrP9dkVIO uPijL/y4hTTOJ8J6H9tWDmtPGA4Mg5yaY0m7zbFTzpvs6fYax2ksUYZTGjrW8aIg/HE0 mOcMNMpUVBXTCvS5aEpCkZz8WoRjqC7CdFDDVC1U9H9X9YHE/WwooRYgYAs7h7qH1NAs AC6g== X-Gm-Message-State: AKwxytfBxP2/VW/o9mwHW1z4XjJDw3kyxUapkEdav2sZdVn/Ve06nldt uuqWfkUrB1iJaPcK24SXhZ/icz14BWRYflY1r+ymjWwu X-Received: by 10.31.107.133 with SMTP id k5mr42285279vki.177.1517794258229; Sun, 04 Feb 2018 17:30:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Sun, 4 Feb 2018 17:30:57 -0800 (PST) In-Reply-To: <20180205012146.23981-8-ulfalizer@gmail.com> References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-8-ulfalizer@gmail.com> From: Ulf Magnusson Date: Mon, 5 Feb 2018 02:30:57 +0100 Message-ID: Subject: Re: [PATCH 07/20] riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select To: Linux Kernel Mailing List Cc: Linux Kbuild mailing list , tfiga@chromium.org, paul.burton@mips.com, m.szyprowski@samsung.com, egtvedt@samfundet.no, 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@atomide.com, Nicholas Piggin , Masahiro Yamada , Ulf Magnusson , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.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: > The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commit 65053e1a7743 > ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB"). GPIOLIB should > just be selected explicitly if needed. > > Remove the ARCH_WANT_OPTIONAL_GPIOLIB select from RISCV. > > See commit 0145071b3314 ("x86: Do away with > ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") and commit da9a1c6767 ("arm64: do > away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") as well. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > script. > > Signed-off-by: Ulf Magnusson > --- > arch/riscv/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index ff69c77b9e78..716e90e60e5c 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -19,7 +19,6 @@ config RISCV > select GENERIC_STRNLEN_USER > select GENERIC_SMP_IDLE_THREAD > select GENERIC_ATOMIC64 if !64BIT || !RISCV_ISA_A > - select ARCH_WANT_OPTIONAL_GPIOLIB > select HAVE_MEMBLOCK > select HAVE_MEMBLOCK_NODE_MAP > select HAVE_DMA_API_DEBUG > -- > 2.14.1 > There's also a select of a globally undefined symbol RISCV_IRQ_INTC here. I couldn't dig up any historical or unmerged definition for it either. Googling just gets you the select. Cheers, Ulf