Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4358298pxb; Tue, 2 Nov 2021 08:26:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuwAadg+4P9rrki5UqPltaM8ynqZ0MDASZDF58kC1VyqCUIRVsaC5vt91ZGigj5cnKqD6C X-Received: by 2002:a05:6602:2d43:: with SMTP id d3mr12670523iow.6.1635866794071; Tue, 02 Nov 2021 08:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635866794; cv=none; d=google.com; s=arc-20160816; b=ajg3rZOW6MfWGbMu8lArOXKe3WQo0LgiDQZQaE8xmUFNipFkalCOVxtDj/35C0J1cP RCCofsdxf5RO+rFPg6XyKJzKlKVPky8u+y7irgIA7Y4ME18f3vhGUx8LZYsb6cqGjFqI 73P0txDHgLRGcGbUOfheg5jGZmVIHIo0oQhUBKosxvc0+L28LLmPCzq/KPdH3Xv0PDGQ UDFQkcfn/QeQIDbAp9RRlbldybJm86fFstK6NpSEzHjYaQ9iDuxiBoOgCxbW9OQF2Nqv QYABHHsECs4zz4hXFKteKARPetEBjJuKnpHiikw5jhqylqUEdzUHD9LL/8F2QGkNbM5d qZnA== 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 :dkim-signature; bh=ls42lHAs9gBZOIsdVGXqxUQvy1f6gbOB9gv3uDCyIBg=; b=z/kqsElNZvuv61FRocJwHkyPSa8OSpNP5QgDkTbNsRXjNzuGWHwhOFcHkoRRFHIbp1 EiQQp8P9d0Pw7U76+W9SBAl5HmbQAUBwC9fnXb9Lc6UwSQXudVGa9Pf4I2DJ/6HpScVe o7lQBvH7pTNxon8e5umojqsFUAbe+9/1yZY5stILY6zHT+5FUkRVVBmu9+88C0OXj+jB PWs2riT9PbUoMRx5RiJe058TKolFAs73gaAXneCFsGNifaPeREG9McfIYwInW6lxeipX qcf0Of8w3WxPOo2MZzbmZfRDHX7ECqbVcJ6xRSeN05u0q5ZYKecDCkAV4NMTrzXUWT/q ylhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=DqBTK8LD; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=JWtHx13a; 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=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si17654189jaj.26.2021.11.02.08.26.20; Tue, 02 Nov 2021 08:26:34 -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=@cerno.tech header.s=fm1 header.b=DqBTK8LD; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=JWtHx13a; 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=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232999AbhKBPMZ (ORCPT + 99 others); Tue, 2 Nov 2021 11:12:25 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:48245 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232707AbhKBPMV (ORCPT ); Tue, 2 Nov 2021 11:12:21 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A20B15C0125; Tue, 2 Nov 2021 11:09:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 02 Nov 2021 11:09:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=ls42lHAs9gBZOIsdVGXqxUQvy1f 6gbOB9gv3uDCyIBg=; b=DqBTK8LDvrSWaKHLtbnlXkzD22eb9kEK4TX0t6VaWXE l17d1eUdXIpm0v2scb/R3Ij8kLRiBMd73STIQHbKsJo47fowhx+cj9WPHuKBeKDd liIql3R9fkzeSxfgMzdQC2Z1hKZIhAfQ2s+ZIJkwgvnYl+I+bkoE57RujbzMYtQ8 teL8JwqlNm5eKkXtAu81UaHUTSLoCczpNRPAKEZlGGoI1Ykj8MuAQVtKOb8lR/zO k9S9xdj0jqHLHuJXA3mUe6lMTk59pByrsAPNqzWJ6qqjvCRfohj1n6ucrt5J7jt4 mJlDU0EipQIASRwr+j482Z6qjn6yO4KGZ6NXkPgEdvw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ls42lH As9gBZOIsdVGXqxUQvy1f6gbOB9gv3uDCyIBg=; b=JWtHx13aD8KrmXsrmAa3/Q jN+20FvmhkWkxVd4AEez/QgHtAMZJ1O5vrv7Of5UxQkjNw7N3jzVvhxgw2/XhxH6 MKvYFTb6ijKLypbX8HRDdvWN+4KeTZc+sha51QxSPg1UTW1r8iS8Da908QAwbQNV gHGl7Mf3n7v5YJCtIHfp1qkVzc5ao2LQNJtQgjElwT4vtQL5dDcey3r7C+jxfLJ4 tTLjnzGjR9WM9WdoZnfrw8+SlZbsbawx/HpuGTSguznvTOx1w0bZrHwjSFVrqnn5 fYYzI0epC/85HcDZM/1uQk15M77kpP6lMuJRv6N444pVM/++TiBb4+t30TNzHY6A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtddtgdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Nov 2021 11:09:46 -0400 (EDT) Date: Tue, 2 Nov 2021 16:09:44 +0100 From: Maxime Ripard To: Julian Braha Cc: airlied@linux.ie, daniel@ffwll.ch, jernej.skrabec@gmail.com, wens@csie.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, fazilyildiran@gmail.com Subject: Re: [PATCH] drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY Message-ID: <20211102150944.h7ycdzlm4s5kvk4j@gilmour> References: <20211028221327.17984-1-julianbraha@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sdgbi7nuhb2tf3wq" Content-Disposition: inline In-Reply-To: <20211028221327.17984-1-julianbraha@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --sdgbi7nuhb2tf3wq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Oct 28, 2021 at 06:13:27PM -0400, Julian Braha wrote: > When PHY_SUN6I_MIPI_DPHY is selected, and RESET_CONTROLLER > is not selected, Kbuild gives the following warning: >=20 > WARNING: unmet direct dependencies detected for PHY_SUN6I_MIPI_DPHY > Depends on [n]: (ARCH_SUNXI [=3Dn] || COMPILE_TEST [=3Dy]) && HAS_IOMEM= [=3Dy] && COMMON_CLK [=3Dy] && RESET_CONTROLLER [=3Dn] > Selected by [y]: > - DRM_SUN6I_DSI [=3Dy] && HAS_IOMEM [=3Dy] && DRM_SUN4I [=3Dy] >=20 > This is because DRM_SUN6I_DSI selects PHY_SUN6I_MIPI_DPHY > without selecting or depending on RESET_CONTROLLER, despite > PHY_SUN6I_MIPI_DPHY depending on RESET_CONTROLLER. >=20 > These unmet dependency bugs were detected by Kismet, > a static analysis tool for Kconfig. Please advise if this > is not the appropriate solution. >=20 > Signed-off-by: Julian Braha > --- > drivers/gpu/drm/sun4i/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig > index 5755f0432e77..3f70a14a3c94 100644 > --- a/drivers/gpu/drm/sun4i/Kconfig > +++ b/drivers/gpu/drm/sun4i/Kconfig > @@ -46,6 +46,7 @@ config DRM_SUN6I_DSI > default MACH_SUN8I > select CRC_CCITT > select DRM_MIPI_DSI > + select RESET_CONTROLLER The indentation is off, can you fix it and resend it? Maxime --sdgbi7nuhb2tf3wq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYYFUuAAKCRDj7w1vZxhR xdQVAQCEOb8We3hYtT3mqkzFKDO4114iJbKGuP+0OpjI3IatWwD/dQ/ShFBmVkCN VR9uV82ZNKb6qsodk3xIjJPhbE8+Pw4= =2Lra -----END PGP SIGNATURE----- --sdgbi7nuhb2tf3wq--