Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84EAFC64EC4 for ; Wed, 8 Mar 2023 16:20:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229545AbjCHQUB (ORCPT ); Wed, 8 Mar 2023 11:20:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229762AbjCHQTw (ORCPT ); Wed, 8 Mar 2023 11:19:52 -0500 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB94A8E3DA for ; Wed, 8 Mar 2023 08:19:50 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A816E5C01A4; Wed, 8 Mar 2023 11:19:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 08 Mar 2023 11:19:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1678292388; x=1678378788; bh=4BGPsBHltNIepRB4bBznr59yu4gvz8M0IJw 0ynw0Iaw=; b=a3fwyrNt5xzn9xwDsz0zHVY6faNC8rNq9CHUlVCQJ/twVEUGvyv 8QYABRLNNGeNUjolCQ/E/JYUs6UxrwOtAvpA9iK2bAVZO0Ecd+ZsDeL8790dliTH Svb61cPNyCPrzmWGZEjl9Y04XRau7KRuujwHDsmQ9E0UoZMXuoXRE7ZGRxUxPH6e M4LBPlYXhwkUZHKhxhh35evXSxvYdqT1PFbQ17UtvCAH+HFt8DSpERNAMRpko1uF yc5a3pKK2G9OD56tTkn1SaZdotIB3U4veGmyElwt8gX42z/hR8ZEir7UXsB0DmKy TbrC81OaZxVDcgJHyOxF/LO26XBIVxK+w8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1678292388; x=1678378788; bh=4BGPsBHltNIepRB4bBznr59yu4gvz8M0IJw 0ynw0Iaw=; b=UQY5goGX+E12D4QZ2nn2jiIN9d3yDTYNmNyyP1RnGdIdauYYKxb unp+4XclTj8NMPNc3QVFCvQBObM5UG1Mmv+wd/d4Z9NhaBij6pSfMsRmGzrS/a5W bL48eLXShNVeq9VQLQ2pB77EI5LyFGnsMmgImY2mSxxxmLk2kNdSAibpiwakBVvQ P4TsIG5k5nD7up37s1NqIo2L25IGvZg8HRW+ajLnE+tMJuLW4kRLEmrm4NI+JSji xX4bF8JRjf0zHNymSAmPz/VFb/+7RSP1gTTvrDjc8k75jCBU7G+BpBgbw1dHpLKE gQdg1UPkCaoqPFUL/L0cbYVRjQo4MflrdlQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddufedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtqhertddttdejnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepffdttdeufefgffegtdejffevuddvudfhudegjeegkeetuefgfefhheek udfhvdfhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Mar 2023 11:19:47 -0500 (EST) Date: Wed, 8 Mar 2023 17:19:45 +0100 From: Maxime Ripard To: Hamza Mahfooz Cc: Qingqing Zhuo , amd-gfx@lists.freedesktop.org, Emma Anholt , David Airlie , Daniel Vetter , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] drm/vc4: Fix build error with undefined label Message-ID: <20230308161945.svooztnablyvm75e@houat> References: <20230308093408.239331-1-qingqing.zhuo@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Mar 08, 2023 at 11:11:22AM -0500, Hamza Mahfooz wrote: > + vc4 maintainers >=20 > On 3/8/23 04:34, Qingqing Zhuo wrote: > > [Why] > > drivers/gpu/drm/vc4/vc4_hdmi.c: In function =E2=80=98vc4_hdmi_bind=E2= =80=99: > > drivers/gpu/drm/vc4/vc4_hdmi.c:3448:17: error: label =E2=80=98err_disab= le_runtime_pm=E2=80=99 used but not defined > >=20 > > [How] > > update err_disable_runtime_pm to err_put_runtime_pm. > >=20 > > Signed-off-by: Qingqing Zhuo > > --- > > drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_h= dmi.c > > index 9e145690c480..edf882360d24 100644 > > --- a/drivers/gpu/drm/vc4/vc4_hdmi.c > > +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c > > @@ -3445,7 +3445,7 @@ static int vc4_hdmi_bind(struct device *dev, stru= ct device *master, void *data) > > */ > > ret =3D pm_runtime_resume_and_get(dev); > > if (ret) > > - goto err_disable_runtime_pm; > > + goto err_put_runtime_pm; > > if ((of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi0") || > > of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi1")) && The current drm-misc-next branch doesn't have that context at all. What tree is this based on? Maxime