.4-1968 Content-Transfer-Encoding: 8bit X-DKIM: signer='linuxfoundation.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: linuxfoundation.org] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.234.253.10 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 4 The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x 3d443dd29a1db7efa587a4bb0c06a497e13ca9e4 # git commit -s git send-email --to '' --in-reply-to '2026010518-overflow-headgear-2f02@gregkh' --subject-prefix 'PATCH 6.6.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 3d443dd29a1db7efa587a4bb0c06a497e13ca9e4 Mon Sep 17 00:00:00 2001 From: SeongJae Park Date: Sat, 1 Nov 2025 11:20:00 -0700 Subject: [PATCH] mm/damon/tests/core-kunit: handle alloc failures on damon_test_merge_two() damon_test_merge_two() is assuming all dynamic memory allocation in it will succeed. Those are indeed likely in the real use cases since those allocations are too small to fail, but theoretically those could fail. In the case, inappropriate memory access can happen. Fix it by appropriately cleanup pre-allocated memory and skip the execution of the remaining tests in the failure cases. Link: https://lkml.kernel.org/r/20251101182021.74868-7-sj@kernel.org Fixes: 17ccae8bb5c9 ("mm/damon: add kunit tests") Signed-off-by: SeongJae Park Cc: Brendan Higgins Cc: David Gow Cc: Kefeng Wang Cc: [5.15+] Signed-off-by: Andrew Morton diff --git a/mm/damon/tests/core-kunit.h b/mm/damon/tests/core-kunit.h index f5f3152cb8df..e8219fd23318 100644 --- a/mm/damon/tests/core-kunit.h +++ b/mm/damon/tests/core-kunit.h @@ -188,11 +188,21 @@ static void damon_test_merge_two(struct kunit *test) int i; t = damon_new_target(); + if (!t) + kunit_skip(test, "target alloc fail"); r = damon_new_region(0, 100); + if (!r) { + damon_free_target(t); + kunit_skip(test, "region alloc fail"); + } r->nr_accesses = 10; r->nr_accesses_bp = 100000; damon_add_region(r, t); r2 = damon_new_region(100, 300); + if (!r2) { + damon_free_target(t); + kunit_skip(test, "second region alloc fail"); + } r2->nr_accesses = 20; r2->nr_accesses_bp = 200000; damon_add_region(r2, t); From - Mon Jan 05 11:20:54 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id QLPsGpKeW2lN1gIAYBR5ng (envelope-from ) for ; Mon, 05 Jan 2026 11:20:50 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Mon, 05 Jan 2026 11:20:50 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vcidk-00000000raf-3bI3 for hi@josie.lol; Mon, 05 Jan 2026 11:20:50 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 444D63011EE6 for ; Mon, 5 Jan 2026 11:20:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EB11342C93; Mon, 5 Jan 2026 11:20:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="aXC4ZQt/" X-Original-To: stable@vger.kernel.org Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 B8E5A342530 for ; Mon, 5 Jan 2026 11:20:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767612043; cv=none; b=S7gJMN/IEIoGLf2dP4YaOImPqMAigJF9znokSm+hi4Vz1qV6I490xHnUgYeiQDOzEhccWPIcdgmsg9KFclpo36kBr/iPyn4ldrS8dZoWdSgcoDHbxSvbmwIif7VhO7kfMYLDalLASxM7UV2Xru+xj+A0qVcN56YxnsecV9CqNSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767612043; c=relaxed/simple; bh=xas6ibraHS+4BjCQ6d0c56e4JsDJrT30DIcEVJwysKg=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=AwApdufhu1WpuPJqA4RAYzGY25mUkPuTjgs5MRuOCzhOG1PuYrY0xjVzGBWIiRVrDAUI7uzuHUVTr50QRmvzSlwojI3qGusWsiGSS1pFugyOFH+/E5UFKef1hJPGjdau4X9Tp+Ld9fGNgI1vXLDS4HrWUI8UokkxWoruTOGIpyY= 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=aXC4ZQt/; arc=none smtp.client-ip=185.246.84.56 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 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 324E11A2657; Mon, 5 Jan 2026 11:20:39 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id EDAFE60726; Mon, 5 Jan 2026 11:20:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0F7AD103C84F6; Mon, 5 Jan 2026 12:20:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767612038; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=xHfSjWqxfxYko+txDt328icuQQjBRyghGWUrAKeMZGE=; b=aXC4ZQt/tBGsEBvst0PIkyYqOv3hYJstIf/OF8pstvJqyA0Y4aula3YQ0sHilDNmEf/ipm /IEBWpQ/gs3V/5bs88HH9Lmsrz/tWplLbOfp8r4GggLJ3/XL18wIi+xSkr9XuFsK6nXYgG 762gW/GIPU+fBfEzSZHbhq/NALxbI6iYmZz7bBV3EFfn1oQSL49OLDuX6J61SZOyHFzBGW cFnOZclhfSbTm0/d0qvxDXzHlTxXoaQ1fH+lRTmN/tZcur9Cy9URVtPFvQyWLyT2muTNqd xetmz2PV/PctmCclnzH+p9q4hennbiLcYDIa34tL1Ro6ousggUuYLSGa6u3fGA== Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 05 Jan 2026 12:20:30 +0100 Message-Id: Subject: Re: [PATCH v3] drm/bridge: synopsys: dw-dp: fix error paths of dw_dp_bind Cc: , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , "Dmitry Baryshkov" , , To: "Osama Abdelkader" , "Andy Yan" From: "Luca Ceresoli" X-Mailer: aerc 0.20.1 References: <20260102155553.13243-1-osama.abdelkader@gmail.com> In-Reply-To: <20260102155553.13243-1-osama.abdelkader@gmail.com> X-Last-TLS-Session-Version: TLSv1.3 X-DKIM: signer='bootlin.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [172.105.105.114 listed in list.dnswl.org] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bootlin.com] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 Hello Osama, On Fri Jan 2, 2026 at 4:55 PM CET, Osama Abdelkader wrote: > Fix several issues in dw_dp_bind() error handling: > > 1. Missing return after drm_bridge_attach() failure - the function > continued execution instead of returning an error. > > 2. Resource leak: drm_dp_aux_register() is not a devm function, so > drm_dp_aux_unregister() must be called on all error paths after > aux registration succeeds. This affects errors from: > - drm_bridge_attach() > - phy_init() > - devm_add_action_or_reset() > - platform_get_irq() > - devm_request_threaded_irq() > > 3. Bug fix: platform_get_irq() returns the IRQ number or a negative > error code, but the error path was returning ERR_PTR(ret) instead > of ERR_PTR(dp->irq). > > Use a goto label for cleanup to ensure consistent error handling. > > Fixes: 86eecc3a9c2e ("drm/bridge: synopsys: Add DW DPTX Controller suppor= t library") > Cc: stable@vger.kernel.org > > Signed-off-by: Osama Abdelkader Thank you for the improvements! Reviewed-by: Luca Ceresoli Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From - Mon Jan 05 11:21:21 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id yE0OMayeW2kXCQIAYBR5ng (envelope-from ) for ; Mon, 05 Jan 2026 11:21:16 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Mon, 05 Jan 2026 11:21:16 +0000 Received: from sea.lore.kernel.org ([172.234.253.10]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vcieC-00000000sR6-21QN for hi@josie.lol; Mon, 05 Jan 2026 11:21:16 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 102B331357FA for ; Mon, 5 Jan 2026 11:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92CAD318156; Mon, 5 Jan 2026 11:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="caggxvDa" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 625533191D8 for ; Mon, 5 Jan 2026 11:04:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767611053; cv=none; b=gSaT3tDNhLc+eoWnxMVLFHV/WGzsCl6JNDcy1SNibCeZ1kP87O6xV548+i9bxf85mLsrpSDLbt9K40bim+7wcCASxOOYD2QnkCi8xOITW2A+SujCC4gfLFdldMdTH0XvNASn65PEHPezH2cTu2woT4QH4s/NgwFrOdx4HStuNOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767611053; c=relaxed/simple; bh=d4mpbcaCBpEjb9ONzjsA1IeZCQRCPyyp2q4/G+2sU7U=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=lORMHnm4je31g2FIvJcvenelOSlnHIKw4IyIz7j7Oh6dJMyrZFQBlGBE35clikMTgsSurZuYFBXtzGXUDwhp+UBzzZQK812DbuonJ55hQuZLwMCdrkAjH+0eHNKi2B+sMdfXM0C25tgijj1qhghfKyDUAl5ElS8LYNweRYFjIxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=caggxvDa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6496EC116D0; Mon, 5 Jan 2026 11:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767611050; bh=d4mpbcaCBpEjb9ONzjsA1IeZCQRCPyyp2q4/G+2sU7U=; h=Subject:To:Cc:From:Date:From; b=caggxvDaZUSwsMveC1kvPCFKhnhc9qqG3UJXHe3BZiWSyAhH2EyYu/gd2JoIbn8aw OmPZPbNsRK0yXhk1ESztpdSJWMlG2HDhiS42vOqf5JPWeJZJM42VtRjjL9r/KliOCA l7V9N3vSQr+kgfdjoU5k6dVhKdN6NbsYBgcATuZU= Subject: FAILED: patch "[PATCH] m