Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp216114pxf; Thu, 8 Apr 2021 01:06:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx23b25lo8BoJpYCDShf17F8/HzvChBP7zWoxwuImmyBgdRfN1qVAtj7SWzgAhzCd9QtFVb X-Received: by 2002:a65:6792:: with SMTP id e18mr7043543pgr.256.1617869173086; Thu, 08 Apr 2021 01:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617869173; cv=none; d=google.com; s=arc-20160816; b=z708Yh3Xf20kcgSXY5wXw/jblm0UqgekvXerrfIDMTGX7SLgpngasJkPdSD6r+Ikd9 Lr78FiCx8p+igQEW3pZMnYe9cHDJxdSGKdkBJWdfgyY4eZl4Sfu9Gy1svswPdrJ16sa7 gJCMZyF4holUvGYMT2e+j3ND+KJgO6p86OYo/Wjy8j3/wejxZ3ijJR+/bLFzj0omNnEE r1mGaUkxFKWObrdLpL2E7Hh3a5kJu+3ziyJRxfeW74A7MEoOsaxRCqyYwFX0wxMTrqF2 F+bYgwCKaDEMgIgWhWLH4/ITy42tOw3tVEktQ3AacjvmlgysreISidHxpevirdVtS3HX cDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ISfQB/dgrT5oTpjTvqCHzpI7aicxEygBEF/QqXzmpEs=; b=jzvrpS28gz6QanvZIzUlye+PqOSqs3aNdSQIxzMU6AtdUdvAQmiIBWbEl5DG8ZX30q Ymbvfx0WV8e/KYPWhqdpWbvZXUWgmHhjDIMVzz5OoEpugrb0nTnx/CAAOhXDzDVGP75x 104DGdlOcQwn2L6N/3Wmd75KtDywt9ay0mDMeYyP2JFSNXcWs14jlE/JAqm+0K+LJ0oS iUg7uRvC9rkQN9T/K8+vYMTOvsBHx4J18+Ozcbmr5Kz+a0ejyjWnlCEQ9Qgp6YWBAwYA 9Jd/zDUWKMvldVrVPAvSeUNU+LT288FSKZLMUIDbvtVU2SXtQr29eWaYZ0pz9qI4eLIg 6afA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t0Y4Hf13; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si27433020pls.285.2021.04.08.01.06.00; Thu, 08 Apr 2021 01:06:13 -0700 (PDT) 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=@linaro.org header.s=google header.b=t0Y4Hf13; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229687AbhDHIEO (ORCPT + 99 others); Thu, 8 Apr 2021 04:04:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbhDHIEK (ORCPT ); Thu, 8 Apr 2021 04:04:10 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5400FC061760 for ; Thu, 8 Apr 2021 01:03:59 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id n138so2487124lfa.3 for ; Thu, 08 Apr 2021 01:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ISfQB/dgrT5oTpjTvqCHzpI7aicxEygBEF/QqXzmpEs=; b=t0Y4Hf13+QHG2sjEsgOwGIvUpHNtbP1UOtGcHT3Or0kvT9B/quXEIvVPDKIcgThT+a jJryonsnpVMX+7jhdyZYO2ORpUQ+wZDcD3vO7Hj15Y9fdGrdE304/rDUQ72cd8ec41t8 OfezHpsyrR4Rhgd+HM3WMsup15RxQKlGgIIeQ7eCHj56OO/L1+G9E3eQZdg5+gx7E+yO Eb+0MI3ClRZI8RYPqeuG84DUEQnqPvi+kNkSY7ev7IWwW9jzzqT7a+bpA5UdMDzJvFWj 5111fRyODxb4Ar5hDZiCYOf0viHWTQMrgRUGCzGZLkW2wQCkACnhHMG1xBPPT2scBgLh QPrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ISfQB/dgrT5oTpjTvqCHzpI7aicxEygBEF/QqXzmpEs=; b=lKSY9adlAqNTSIxU1KbXTNWfiurIuqZt2YZHJtGzA3q6t0LdO2cVjbTrH2R6XI5zey bf1SWlmpE4qKisANBs5Zk6TGXORTcBuQl47GrN8ouWfyatrq5Ok3QLlvvoErvosRAYPc IxTouFEoCkQ0WtaQUPw59nCmvrxEAEP4wN31xB1cC3YKbHvvd3+s4tF8/Yw1ODuwEzP5 6ZIMFT+wPfR4fgjlduOp1h08V0wVJcacDSuHrekEV8dmXKGkAgBeu3koQjWRZuf2E+3b 8fDHfaAEHije+2o0kK/9rrR5P2cvBZbkcn09JMm6qIsY1aqqVg8TU/lWS9/hbtd4zLJt xehQ== X-Gm-Message-State: AOAM533LwIpmoVLYV1uGjr6l78SHbsc6udp2OCqB9/9yDoS1sY48xBJk dXqr0YghVgaCM0OG+9Y0v0xnVwyuYSS/1O/6/o3wuQ== X-Received: by 2002:ac2:4d95:: with SMTP id g21mr5537845lfe.29.1617869037744; Thu, 08 Apr 2021 01:03:57 -0700 (PDT) MIME-Version: 1.0 References: <20210225083306.25792-1-julianbraha@gmail.com> <12736456.GqETC5XQ6s@ubuntu-mate-laptop> In-Reply-To: <12736456.GqETC5XQ6s@ubuntu-mate-laptop> From: Linus Walleij Date: Thu, 8 Apr 2021 10:03:46 +0200 Message-ID: Subject: Re: [PATCH v1] drivers: pinctrl: qcom: fix Kconfig dependency on GPIOLIB To: Julian Braha , Bjorn Andersson Cc: linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 29, 2021 at 6:41 PM Julian Braha wrote: > > On Tuesday, March 2, 2021 9:46:04 AM EDT you wrote: > > On Thu, Feb 25, 2021 at 9:33 AM Julian Braha wrote: > > > > > When PINCTRL_MSM is enabled, and GPIOLIB is disabled, > > > Kbuild gives the following warning: > > > > > > WARNING: unmet direct dependencies detected for GPIOLIB_IRQCHIP > > > Depends on [n]: GPIOLIB [=n] > > > Selected by [y]: > > > - PINCTRL_MSM [=y] && PINCTRL [=y] && (ARCH_QCOM || COMPILE_TEST [=y]) > > > > > > This is because PINCTRL_MSM selects GPIOLIB_IRQCHIP, > > > without selecting or depending on GPIOLIB, despite > > > GPIOLIB_IRQCHIP depending on GPIOLIB. Having PINCTRL_MSM > > > select GPIOLIB will cause a recursive dependency error. > > > > > > Signed-off-by: Julian Braha > > > > Does it work to just: > > > > select GPIOLIB > > > > instead? > > > > The driver needs the library so... > > > > Yours, > > Linus Walleij > > > > Hi Linus, > > Looks like I confused this patch with another one when > I responded last time. This config option cannot select > GPIOLIB, because it will cause a recursive dependency > error. > > Any other ideas? No we can apply the patch as-is but let Bjorn have a look at it first, I noticed he is not on the To: line of the original patch. You may need to resend with Bjorn Andersson in the recipients. Yours, Linus Walleij