Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp102628pxb; Wed, 11 Nov 2020 21:38:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZiR1ixIRbF+No7/mVMEG26+pbq7416iF3EhGbSigGH2pdO/O700o2pOhDUiHgoiCpW2Ph X-Received: by 2002:a17:906:b20c:: with SMTP id p12mr28599129ejz.369.1605159538094; Wed, 11 Nov 2020 21:38:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605159538; cv=none; d=google.com; s=arc-20160816; b=H55b6ZWwayeeViwH2FssfC5Cyqfcqk25WO0n4hmRxk6xw7UGCt6KvBDW/474dNGggn ZB6QN/XoiWTNLFMwbEdk8tbdLUxmB33htQpHPxCcCtJduRJU0LXZwnZ8v0eD7/PwSiOH CSuWwsPqb/+zQv4KGuLDf+/YHUNMQEvnp/dMS51bYP/A3pFxVzPZKzpj7VzFxOfH383N cVFaStZHQ24uw5CoaKY43JL+JD9ewVRxOUrn2ernVI1TJixDdMVruXQH+IXQiJAWS792 7a28k51iRxU+EQKJ55aAu/5kOMVPBdzItsARoyfASBOMmhtPHFwy10uuEXXlyzYIu0XG Yb4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tss6wQP1XzwIz1UFhRrC2d4Vh1ljAS8ZjFmnOwc4WV0=; b=YNtpKSt4asa386SXT48ndmGbNzVap5y0vqaEKCtYHFnosFCX3LwhA7Z/U4Ys2Jj2Kg rfBbPFMLYbHZU8xM7nkYJOKd7JgXCUNqT9kZtMr0CdCxOH6+NYr4R4nvRTeX39wTeWsS yQKGusLIyeGEPj665l3eruY29/2q1aLPD+GM3c8p9aCiaD2G0sLIKDhZ4AWlZXWphel6 PotuutjMgEmllXUV9qhUoAYE9+MNpVmgBI8zU2CaW+WUxGusI/u0vAky4Rg4wAh/s807 1BxV1EeCD2FWKI5Plfx4UHHhmo9o/a2Bob/L88A8Lv8NwPcIJvGDLVXB8dtsT4CKyH1j eZ6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZVZSEme2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id p89si3246783edd.109.2020.11.11.21.38.35; Wed, 11 Nov 2020 21:38:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZVZSEme2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728259AbgKLFdX (ORCPT + 99 others); Thu, 12 Nov 2020 00:33:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728021AbgKLBtH (ORCPT ); Wed, 11 Nov 2020 20:49:07 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1B47C061A04; Wed, 11 Nov 2020 17:49:07 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id e7so2991941pfn.12; Wed, 11 Nov 2020 17:49:07 -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; bh=tss6wQP1XzwIz1UFhRrC2d4Vh1ljAS8ZjFmnOwc4WV0=; b=ZVZSEme25BmUqO7wKcITnNPB+SepinSR8NA4Rq0N7yHh5tDnxNKXGkBsvOOArZD2YG H/pZjGivwVsTHNCg3YkZVIl5UmWW27FWSdKIP6dKWuHEkqX/TxQLFod+cPMaOsuUljoz pwYmoqLSfxV5NzIDkNqWbi7MP4SAqrtaKEvFxp6mjNbKkBdoTTLTOzg3/lnNkxt59U+h t+mkhewKtIkZt/tv1iB2OblWl6nW+d0D5IimfhpSjqMQ26J0635tfott8XO7tgs4uK1p UkWNhdKg4ojF861VgWIyC76rz3taLv6fXWHVyiWR7nt614fBpvUHqNpdYZZfbNJc/H+X 1IRw== 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; bh=tss6wQP1XzwIz1UFhRrC2d4Vh1ljAS8ZjFmnOwc4WV0=; b=sj5uoDwOtoMLbQh+ji8yxl8Xv5oh59kBk3tnOgu4zF4dY95wTRaT7iDj90cDqa72E6 xGvPxZRafirFbJTq8VZK1LPFJlI/IujQIhA1EiXVnAVyTmYFrErWATQsWOQylR0uP6i4 M9RxftTkoW6S90D46ri4ab9yhb25VlJSAWqTNYLn9fX+ojxEd2Wb67xL7VjeJb0cppm4 lTA1EuDqJphKv8nlovEI4AE5QAhvkr/uyTyFo8mNuZPAFk4Zj5rNEqYTpDw4mW1/GTvB L4wkJ90Ml5Q1WieKMQl2Lad9FTfwW5Q2NRsSWSm0VUzBouPMUGVjOPs76ba5BSd7fSn+ nLgw== X-Gm-Message-State: AOAM530BAr+OjJm+Bh+kCmSsQ4qVlrL4b+L2Ay9+F7yXX36UMUoQL+Ws T5LcrLi7nzQYIkhBjxoLOq0= X-Received: by 2002:a17:90a:dc01:: with SMTP id i1mr6651000pjv.195.1605145747505; Wed, 11 Nov 2020 17:49:07 -0800 (PST) Received: from dtor-ws ([2620:15c:202:201:a6ae:11ff:fe11:fcc3]) by smtp.gmail.com with ESMTPSA id i2sm3735710pjk.12.2020.11.11.17.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 17:49:06 -0800 (PST) Date: Wed, 11 Nov 2020 17:49:03 -0800 From: Dmitry Torokhov To: Necip Fazil Yildiran Cc: Jonathan.Cameron@huawei.com, eugen.hristev@microchip.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, paul@pgazz.com, jeho@cs.utexas.edu Subject: Re: [PATCH] Input: touchscreen: fix kconfig dependency bug for TOUCHSCREEN_ADC Message-ID: <20201112014903.GC1003057@dtor-ws> References: <20201102221504.541279-1-fazilyildiran@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201102221504.541279-1-fazilyildiran@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 01:15:05AM +0300, Necip Fazil Yildiran wrote: > When TOUCHSCREEN_ADC is enabled and IIO_BUFFER is disabled, it results > in the following Kbuild warning: > > WARNING: unmet direct dependencies detected for IIO_BUFFER_CB > Depends on [n]: IIO [=y] && IIO_BUFFER [=n] > Selected by [y]: > - TOUCHSCREEN_ADC [=y] && !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && IIO [=y] > > The reason is that TOUCHSCREEN_ADC selects IIO_BUFFER_CB without depending > on or selecting IIO_BUFFER while IIO_BUFFER_CB depends on IIO_BUFFER. This > can also fail building the kernel. > > Honor the kconfig dependency to remove unmet direct dependency warnings > and avoid any potential build failures. > > Fixes: aa132ffb6b0a ("input: touchscreen: resistive-adc-touch: add generic resistive ADC touchscreen") > Link: https://bugzilla.kernel.org/show_bug.cgi?id=209881 > Signed-off-by: Necip Fazil Yildiran Applied, thank you. -- Dmitry