Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2940313rdb; Mon, 4 Dec 2023 11:39:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJQOZBnGduO5cHcg7B1dw2/zBBencMY1mUk7YhnCeMoYTPrCUKV3D7FuqMecRNQolCZGV0 X-Received: by 2002:a17:90a:8597:b0:286:6f14:2870 with SMTP id m23-20020a17090a859700b002866f142870mr115772pjn.31.1701718756605; Mon, 04 Dec 2023 11:39:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701718756; cv=none; d=google.com; s=arc-20160816; b=BMFJA5G0C93FVs3CtkjIEdhoJq3Ipfs8CX+P7A9KA2li7lhO9MkVJ6F+BqIIkIruYC 7oLNY10qtbdLZOfJ3c1XIYg5iFlThjaVnHp+vOcwTUaubjEUM8KktBU16NRJsoyh52nJ ELCe/U3ZKaK/0Oas5iTQEgpX/JR3IKaTdeA9mRGLu1XCDqF81ypz4NQwzE/jz/FqqrJ5 rQZvkygJbU7aFN2QH+carTOoHJozGj6pzr+gXthvmNwIEOaioeRAm4r5hGTpFHNWo87u 4LUeC/UFiFvIT9WXtokb7ghaXwQv2h6VSxKyRYwKCIDe6lhR+ciSV2tTBZYd1dE80wVj TXGw== 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=YTaRrGnNYWJXMSaCAkRjN5SkjpY2VkDKl0lQohgIOR8=; fh=83kDMj1YegtGthX5aSUE3f7I9QpogdPDMeAghBGHojM=; b=QEoobp7chUExXuo2QnHB0LzC3Plp8EFAoXZa/HUNPH5WrZdKTrSCcPi+eFcEyhNgWw YO5MdwfnyD0ZLPtdFuM5upyFakK7/oeisn/nuGG24fOFxlSX2nJqClMlEIj1GljeAfvG B4xsz/AvqfYenhMqXpWaApCWHxHkRWdxfx13fdJwAGe3SKWC7L8oXC9r+AF0wAw1PNo4 nqTEkBNvA7EXKdNKw/xxIroZPWisTRhVh8sdX6+7i6vK5rYYwlr6Ec2ecGWJ40tjsbsN Wfsh+IUGooXlEAvjWd7iOJ8AH++0Amgyb99WPZ6IzBhgwJvcgza/mFDqiEnIwfmbQB24 qXKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bRBqh33+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p24-20020a170902b09800b001d005beb114si8115236plr.193.2023.12.04.11.39.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 11:39:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bRBqh33+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 7222A805798D; Mon, 4 Dec 2023 11:39:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231831AbjLDTjB (ORCPT + 99 others); Mon, 4 Dec 2023 14:39:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbjLDTjA (ORCPT ); Mon, 4 Dec 2023 14:39:00 -0500 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F7EB6 for ; Mon, 4 Dec 2023 11:39:07 -0800 (PST) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5d7a47d06eeso22818027b3.1 for ; Mon, 04 Dec 2023 11:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701718746; x=1702323546; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YTaRrGnNYWJXMSaCAkRjN5SkjpY2VkDKl0lQohgIOR8=; b=bRBqh33+WEasPCrXglkOCn49BOxneLpHspnV+h1wN69C1SjEIa9ZVvF/elRuMy6SzB 7/FKOSfVChrx2/VN1RB6kNzBjYgFtfO8G3JsWaLrtpd8vXWDO0oYCMSQrI0zrnQsqtSt IHjOkoLTg29XwYn6QFuvvseTSuMgoeKhX/y121yhRXMcs4PnBR4MpvwfWaCYyRA7+mEP 18NKqoLxb0F7l5ob5qN9o8PLsHfSaPLqFG8QzuMiXAzU7nay7r8qBqvCRI02+LYYC5wL XHo0lJm1KOuOvyrfuHOKGJcW+/ek2Sso3fQPjkz89LUSFkiwZDwZHh2FZIhEnbZMhEw8 YRPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701718746; x=1702323546; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YTaRrGnNYWJXMSaCAkRjN5SkjpY2VkDKl0lQohgIOR8=; b=SjhrGEccb1fBGBStwvMoVPglQj1jeKgijY0Paij4jxqJJDAO94mAaLm9NJKq0DyQ5V fPifkBOaqvsN8FtTlXD9AqVIB5EN9zcZhapb/C6Gxb1meY4nJdsD7+OLgApVChk6qDky tqG4OQHxdQ9T8V4rxeTZTuwQrYmRZS2GBpAH/3p4htTAwaCRghhLPd1GWoLiVwairscO L/WCwsjmvXYwqXv/Xk3247vv6SaYN7EiL6TxBGkl6pYRRFP/vkL0jRgKfWv81BmC2qce zGmx1lIIzP/hY55z6FjC6gHMOdWNsbLASE9MylPpMh5qabMSmSKwpOt9Gc5auCBWrJZd nreA== X-Gm-Message-State: AOJu0YznpxMx4QMNxCYFxN07iqCjH0UJcn2ViuPLwzAR9rdKC4vnbmvl cONgVOp5sN9awFa5R0lbEPRV/yaw7oY4HBrdTikKOw== X-Received: by 2002:a25:2cd:0:b0:db5:4e94:67cd with SMTP id 196-20020a2502cd000000b00db54e9467cdmr3836892ybc.58.1701718746667; Mon, 04 Dec 2023 11:39:06 -0800 (PST) MIME-Version: 1.0 References: <20231204171317.192427-1-harshit.m.mogalapalli@oracle.com> In-Reply-To: <20231204171317.192427-1-harshit.m.mogalapalli@oracle.com> From: Dmitry Baryshkov Date: Mon, 4 Dec 2023 21:38:55 +0200 Message-ID: Subject: Re: [PATCH next] drm/msm/dp: add a missing unlock in dp_hpd_plug_handle() To: Harshit Mogalapalli Cc: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Bjorn Andersson , Kuogee Hsieh , Vinod Polimera , Stephen Boyd , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, dan.carpenter@linaro.org, kernel-janitors@vger.kernel.org, error27@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 11:39:14 -0800 (PST) On Mon, 4 Dec 2023 at 19:13, Harshit Mogalapalli wrote: > > When pm_runtime_resume_and_get() fails, unlock before returning. > > Fixes: 5814b8bf086a ("drm/msm/dp: incorporate pm_runtime framework into DP driver") > Signed-off-by: Harshit Mogalapalli > --- > This is based on static analysis with Smatch. Only compile tested. > --- > drivers/gpu/drm/msm/dp/dp_display.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry