From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C007342177 for ; Fri, 20 Feb 2026 12:53:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771592005; cv=none; b=tcHAo+MC7BjUd+QmJnDEpg0N8tZKrMvorZJ8A6YEiQKIcI0FYEnWqfGo2hLkVSkOaIb0gv8xPFlG3RLvGZeuSEv8AB+CJ/U3U4Yojlltu/1Ehv/VOCnzCmnz32M2hQJYoH+OvBGexVhhvit5NO9PgdfxaT0WVUdk5LZ8FoZC7V0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771592005; c=relaxed/simple; bh=+HWDM9Q4zdTP9tMLGhB3llpFSVX/+PGfQ56n48/V8VM=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=nuQ6MXjIXnsG/kJgrHQFr0guJkZZ15k4w4ORbIC2m0Ib/7Vn1ZOwUmrBK/OFCCn57H8UZQHVP5KBHAX5KHK+CDvNPRqwW93iWLveXwpitU/rKpjncsLNVdP7Sy664cgngHMVm3d9ldba/OyyMlYp63EvL2MH+ZX81OHzItXAHKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Q6eYKCL5; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Q6eYKCL5" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 2D2F1C1E4AD; Fri, 20 Feb 2026 12:53:34 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 31D235FA8F; Fri, 20 Feb 2026 12:53:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A8819103688C4; Fri, 20 Feb 2026 13:53:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1771592000; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=S9KxKK+/zGLqdMyj4rJLADqluoNkXtpBrQkiSh2pkFI=; b=Q6eYKCL5JwNkXKT3ohW2vmJ/NL8AyHTdwL9D6fk7Z7Wxevq0kJvIajtL/m5X/mDVKIaAkZ 3Mr0ryKsnGNzVsjCdQrwD6uk0jRAODGp9Ch0b/DyFqx/bXWo93s/Jp+rNXkH4VlqKHxQFh wvz79wRwIYUCMrE1DXcX06jMmDtHB0DSEADHs5y6Db1zSjktVj0GnvyA4rQWg2AcFTxI/a mgftkgsryqvHIxK60qCSZ7Fc1S1SD2SquKfwZUnIdLbUqNu/AN4N9I5YTqQ03nP7xpeQb0 cRQPmNuYdRE/nBsEdVX366Rt7M28i008nHCXt+rp4V5NqL69pAMZ3/FJuKQafA== From: Luca Ceresoli To: andy.yan@rock-chips.com, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, rgallaispou@gmail.com, Chen Ni Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Andy Yan In-Reply-To: <20260206040621.4095517-1-nichen@iscas.ac.cn> References: <20260206040621.4095517-1-nichen@iscas.ac.cn> Subject: Re: [PATCH v4] drm/bridge: synopsys: dw-dp: Check return value of devm_drm_bridge_add() in dw_dp_bind() Message-Id: <177159199266.543992.7267709600730153199.b4-ty@bootlin.com> Date: Fri, 20 Feb 2026 13:53:12 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 On Fri, 06 Feb 2026 12:06:21 +0800, Chen Ni wrote: > Return the value of devm_drm_bridge_add() in order to propagate the > error properly, if it fails due to resource allocation failure or bridge > registration failure. > > This ensures that the bind function fails safely rather than proceeding > with a potentially incomplete bridge setup. > > [...] Applied, thanks! [1/1] drm/bridge: synopsys: dw-dp: Check return value of devm_drm_bridge_add() in dw_dp_bind() commit: 496daa2759260374bb9c9b2196a849aa3bc513a8 Best regards, -- Luca Ceresoli