Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp428237pxb; Wed, 27 Oct 2021 05:44:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYFyj5bVw2+vWlv6ObMD4oF7WrPUE/nJR56LDYWybEhz8gQZ2k6tT6ox60+ZZ9r7Gc2GHN X-Received: by 2002:a17:902:930c:b0:13e:42b4:9149 with SMTP id bc12-20020a170902930c00b0013e42b49149mr28043311plb.86.1635338671855; Wed, 27 Oct 2021 05:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635338671; cv=none; d=google.com; s=arc-20160816; b=lcpHk1pGLpEJTX3pGu+wwxDzkLyuAaJXQAms/G6+gJMAZdgng9OMzC9pgA/GR0j06K qje7w9zomJPlEDAU9VhZnLZgVD8c8+PduQsg98ZiAUCshO/BBIqCGkdR3BujjpSpyW8O nja9pHprqTcRIe+iD3tj5XQK12I/zhpzkesScsIqaD2t94fKdnCBfe+FZhBExy42RjLw ScUcq0eEkjawmer6Sa1rE/twGfcNdqaXHKrSFiEbgp9aMSK/jl0icqXcO7k1u4DrH6kn 6b9sxm2TL95sq9VG3QrvHVGyf90O8gfbsKEJhOGjVZ+1CKbLriOWW4RLlebkPHhFklbu iViw== 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=Te7lK+XsQh/IF/Ok0A01W7P/vYbu0tgFo+xEZACJEXU=; b=we5BYYi9rWVrhu5JAsmGkBNUG+NpEGw11doTA9+rMhgDEtT1RLAHSNmsycj90FyvK+ Vtd0K52kJ7V0mnYhJ91Gb0eeTXPbiwx/4gxmbi2MSxN7fGpi0NGnap+SDopiuxbPGnOc B7xgB2woP+4syYCOebHAU1KxM6e9gMGzlzvIAFoNRmkJuJP9ivYMLflJtmo9G9F03Gd4 jFdFsCF0UFRO7/fwKzaHa5HIZDM263Wn7PUUlUT5rim6REPGbWhjd0hYxTXg2tSM7LM7 y+rXcgqZ5Ch7dpI83IRONLmVCb0zdrMUKtNynsqQSUe/5sTz+vCjRYsmhQXwVRGhxbmP fWBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=WUEDZLAN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h3si30326148plo.223.2021.10.27.05.44.17; Wed, 27 Oct 2021 05:44:31 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=WUEDZLAN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240210AbhJZXLR (ORCPT + 99 others); Tue, 26 Oct 2021 19:11:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235166AbhJZXLQ (ORCPT ); Tue, 26 Oct 2021 19:11:16 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A075C061570 for ; Tue, 26 Oct 2021 16:08:52 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5B9B0A24; Wed, 27 Oct 2021 01:08:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1635289728; bh=sFnKz5DtEFUq5qfMzQgCabdLelQTcznSum5JniYZDfY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WUEDZLANeJ4AGFP/B+NkliDMyPAkI/hKa9iiGmCIwY2ah8F0+tNGZjDfZBRHx1uKf /W+m2gsSClJfHZ+LPwPRvkXINSfITEhBwQTPMZZRQjDcRUOyhCgDJXyaasu9ryPMPn 9M0G7Xwc23LL/aN8qekRvuLl/7q2F/53doZj4mj8= Date: Wed, 27 Oct 2021 02:08:25 +0300 From: Laurent Pinchart To: Julian Braha Cc: robert.foss@linaro.org, narmstrong@baylibre.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch, jagan@amarulasolutions.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm: bridge: fix unmet dependency on DRM_KMS_HELPER for DRM_PANEL_BRIDGE Message-ID: References: <20211026023638.41646-1-julianbraha@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211026023638.41646-1-julianbraha@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Julian, Thank you for the patch. On Mon, Oct 25, 2021 at 10:36:38PM -0400, Julian Braha wrote: > When DRM_CHIPONE_ICN6211 is selected, and DRM_KMS_HELPER is not selected, > Kbuild gives the following warning: > > WARNING: unmet direct dependencies detected for DRM_PANEL_BRIDGE > Depends on [n]: HAS_IOMEM [=y] && DRM_BRIDGE [=y] && DRM_KMS_HELPER [=n] > Selected by [y]: > - DRM_CHIPONE_ICN6211 [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_BRIDGE [=y] && OF [=y] > > This is because DRM_CHIPONE_ICN6211 selects DRM_PANEL_BRIDGE > without depending on or selecting DRM_KMS_HELPER, > despite DRM_PANEL_BRIDGE depending on DRM_KMS_HELPER. > > This unmet dependency bug was detected by Kismet, > a static analysis tool for Kconfig. > Please advise if this is not the appropriate solution. > > v2: > - changed from "select" to "depends on" > > Fixes: ce517f18944e ("drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge") > Reviewed-by: Robert Foss > Signed-off-by: Julian Braha > --- > drivers/gpu/drm/bridge/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig > index 431b6e12a81f..a630cb8fd1c8 100644 > --- a/drivers/gpu/drm/bridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -30,6 +30,7 @@ config DRM_CDNS_DSI > config DRM_CHIPONE_ICN6211 > tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge" > depends on OF > + depends on DRM_KMS_HELPER With spaces replaced by tabs for indentation, Reviewed-by: Laurent Pinchart > select DRM_MIPI_DSI > select DRM_PANEL_BRIDGE > help -- Regards, Laurent Pinchart