Received: by 10.223.176.5 with SMTP id f5csp24000wra; Mon, 5 Feb 2018 15:51:35 -0800 (PST) X-Google-Smtp-Source: AH8x224gYC202XT5AyoQ8dXeMdkYt+bGqrugr67DzBVb5JatMSh6td0PK6D7uOsa4H46/KZ4b1W/ X-Received: by 10.98.194.201 with SMTP id w70mr89413pfk.188.1517874694985; Mon, 05 Feb 2018 15:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517874694; cv=none; d=google.com; s=arc-20160816; b=wx8nQfoLmI9DmVrv+7xwVmDlhUvXodK+fMM5u2nM5LQnk+KvSWeTEyRjjrIGTbBPbd 9s2MdcIkR1dxXw1va2Ha6E0oRMr6E9pkhv9vUnPMraD0V8AcN5v6I0+yrLlI58tWWCaJ cVYM7uf8qb2SuDeLKCnCvlCGyNcq2YYCv0eOdGL0NVVz11XkkcONie87DlqOnh5WYMvu yaQ1xWHfCM6QlENVjsSryJecl0+ZMVQXa0xN7I8NtuazV5cizURIL/BDAuO+I91qsGvO N3jlLwmuo4k4syW+6Y0pCl3OMAkEWbXguc7CQMLBKBmudoedt7mBQ5L3IT4TLhKLuBUF o5+Q== 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=YsAapLKGEGMOkL/VqpSdy92aschiKb9WXGiPVWJk4ao=; b=PlX2MVAsvzumnadPoINfKX+wxluVPK3wF/BKo8Fq9JjbIydS+KWH70vf6feUgDKHV2 8ZoNld3wNDlZBQO4L4ujbwi6DIt4TuqCFByFwhA1Ygek/fWSbDWG/SZD/4QQWkSb5/YO GuqYqEPN7nQWP6UKxMC565qE77fRp7P0e1AIY8EVjQ0LqPmxTgv80WiyVzfPFkYArZHZ MzG71Ly+jjRKa9ybS2+q1VfpP5xbxhtoM5QuAFOURCK4Fobrjg5ZnvOhVJ0L8xzZ9uWZ ue9fzsqw2qUlf+Q2LylofxEFkGaW9zDsOTUbRwNuU4IwhMx9xcliRFGf7pWTLQ5oqi5J p4SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V/lTudDp; 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 y69si652344pfa.171.2018.02.05.15.51.19; Mon, 05 Feb 2018 15:51:34 -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=V/lTudDp; 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 S1751844AbeBEXtT (ORCPT + 99 others); Mon, 5 Feb 2018 18:49:19 -0500 Received: from mail-vk0-f66.google.com ([209.85.213.66]:33626 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbeBEXtN (ORCPT ); Mon, 5 Feb 2018 18:49:13 -0500 Received: by mail-vk0-f66.google.com with SMTP id w201so67989vkw.0; Mon, 05 Feb 2018 15:49:13 -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=YsAapLKGEGMOkL/VqpSdy92aschiKb9WXGiPVWJk4ao=; b=V/lTudDpqUnFNNc7Be084aLg2/kndvZ/KCaAnlD5DPSjznq1wvuRDrLiBicfGjkBXk /7MEUi0xqFfJ9XrnLUI+Fp2XZxo5skOMkT/Pdmuq7CVTvqM6fb8J1o1KwY1CAK4M6p9m zFBlkSen6kyjJO95sxHgsjXfjgaQd6lViWBmVe6Kolx5my4OZd/Bfi2nMM5G2ruENbFT oSGZkoYqx6O++GaqRkNUa3W+lxoX/dN2ZMM/otHUCAwWkiQwaNt1N7LpHfhJ6yh5Vbep Wm8gUrCkf4Nd2YDkLgOZZiRkgX+0l1ihF8g43FpijKjKzM3exzpSgFJnzhZkNjny1LqT uuqw== 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=YsAapLKGEGMOkL/VqpSdy92aschiKb9WXGiPVWJk4ao=; b=r3VLFBtRMLg7B+p/GfLc0Pe9yYWFFPjfz8RxsEKEsuUjqrNc204GM3wTDrVKnUbIQs XatpVb2FslLZ3PTqHq4E3F0mldsYAfz9jEvAHe6iS1IiALwMjFbZ/urKqmY8+xH+gAlC Hlx2beVWDfaManF5ZIzMqawq42ZvH+MoGTHzL/+aKjZfLpb61brBRGsS1KmjSwrKp3Cp tGSEPyeWeaXiap8HaZ/gGimfCDdutCSLBX+LgJR3NNDPYOOd/Aa958QTrkxjE0P49REf RFUODkfK+UQjnna9UXjFMYmDjZABwU+S3yHw6CUzsnPicTL6tz8yO7/Iii9gQsJYcBAp ww+w== X-Gm-Message-State: APf1xPAhTy3Vg7rlokPv+9oLLVYPmE4ovjjN+n1q7RQ+q5SpVEyi1NG/ IsK3RbYqQZYmAwSMRSs88SHVPYrrnSjDBdeELJo= X-Received: by 10.31.248.8 with SMTP id w8mr596362vkh.78.1517874552910; Mon, 05 Feb 2018 15:49:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Mon, 5 Feb 2018 15:49:11 -0800 (PST) In-Reply-To: References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-8-ulfalizer@gmail.com> From: Ulf Magnusson Date: Tue, 6 Feb 2018 00:49:11 +0100 Message-ID: Subject: Re: [PATCH 07/20] riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select To: Linus Walleij Cc: "linux-kernel@vger.kernel.org" , linux-kbuild , tfiga@chromium.org, paul.burton@mips.com, Marek Szyprowski , Hans-Christian Egtvedt , Vineet Gupta , mgorman@techsingularity.net, Christoph Hellwig , mina86@mina86.com, Rob Herring , Stephen Boyd , Paul Mackerras , Will Deacon , ext Tony Lindgren , Nicholas Piggin , Masahiro Yamada , 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 Tue, Feb 6, 2018 at 12:38 AM, Ulf Magnusson wrote: > On Tue, Feb 6, 2018 at 12:25 AM, Linus Walleij wrote: >> 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 >> >> This should probaly be replaced with >> select GPIOLIB >> >> Yours, >> Linus Walleij > > That'd make more sense if GPIOLIB is actually used. The select has > been a no-op since mid-2016 at least, but maybe something else selects > GPIOLIB. > > Cheers, > Ulf Just replace it with your own patch once you've figured out the proper fix. More efficient than having a middle man making (sometimes poor) guesses. Cheers, Ulf