Article View: linux.kernel.netdev
Article #15119Re: [PATCH net-next] net: ethernet: adi: adin1110: Fix phy_device leak in probe_netdevs()
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 11:30
Date: Thu, 12 Nov 2026 11:30
24 lines
8832 bytes
8832 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Fri, 06 Nov 2026 15:23:03 +0800 you wrote:
> adin1110_probe_netdevs() probes each port with get_phy_device(), which
> allocates a phy_device without registering it. The pointer's only use
> is phydev_name() for the phy_connect() call, and phy_connect() attaches
> the device the earlier bus scan registered, not the one allocated here.
> port_priv->phydev is then overwritten with the phy_connect() result and
> the allocated object is lost.
>
> [...]
Here is the summary with links:
- [net-next] net: ethernet: adi: adin1110: Fix phy_device leak in probe_netdevs()
https://git.kernel.org/netdev/net-next/c/acdf2d09fa18
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179448301067.2033939.14773001196867592120.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361769-linux-kernel-netdev=dewy.ruReferences:
<1793949783000.333861.5224091507677300156@cmss.chinamobile.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361769-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: ethernet: adi: adin1110: Fix phy_device leak in probe_netdevs() Date: Thu, 12 Nov 2026 11:30:10 +0000 Organization: Usenet Network Message-ID: <179448301067.2033939.14773001196867592120.git-patchwork-notify@kernel.org> References: <1793949783000.333861.5224091507677300156@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1083892"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:wlWwPrxHWcLapHN6bnGv1JzX54I= sha256:D61UKAR1F6tU9Y8SOUcBwhwsFux1v2O4i/9ukCsOucA= sha1:DdBSc7LQWtzlHF/f84Y+q6gNh0c= sha256:1WuITu9Hu0IYieKS8t/N6R8o2NybQ9NCI4hoq0vKMos= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 76E2B114217; Thu, 12 Nov 2026 15:30:30 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CimMYhnc3P90; Thu, 12 Nov 2026 15:30:26 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-361769-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 5157311420C; Thu, 12 Nov 2026 15:30:17 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 76627161FBE; Thu, 12 Nov 2026 11:31:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794483013; b=egzasfWUhjLzTBhpcnl/TAuwmYXvlOH+e9JWwcnHm3ttHZFBNLDZbmB19AaSMorbouKy vv+cY8RuYvu2FP9SQfMl+qUoLuaGqYHMv7UPJ30Z7Cj6TIzURG+uYnYLecbAay7+WpyYh dhVEdMs80WAQIiyZlkrefwZxuYqOarCc6yeA/pEfsZC5bLwSdad27Ss80AQfNskx60k57 p/FctQZZ9zLuseVok6QzDHxde/dq1QNDByGgeNHPZlN5/4bgNvDv9VlFMyv2i8RBYMEmN qOrDcczOsSXVJ6hcAt2G2rmHbbe96PgthtkFQ4eJmhk+ghDm8qwVuHMgBP1gr+sHCuw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794483013; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=71eXGQdP5orJZyLCzWbG5FrSvWsmlQU9DIpmcnIuT1I=; b=HBSeFybGeCkPrA+gwO51qW2YTypHw8rIY5LkO31JmE46ShOatB5KCPtz/dnLBiYduyjh aPaD8uYnkprRYRWsRM+6LpnMa5aXxU2Rhq/J7EwRWcnWwkS0Z+QTUXN0k3m7h1I9xqGE6 QXX0sfi8V/nbqGWCSVgxVtEahjnAMjeRPcDb+802U21BqKrvxdO98IgMJ7WBCTIbRLl2S zBXC8dAjNBv0v3ZDzsRkRsKcB16RSlzn3ZFGXgwtSQf9ZPzWPKhmPqdHlaJeThrpriMjs sXvJGyIAZdzEU7rP4JyOUad4nvqw+O6GIUeWIa4Y2zAt+IeAcRYqfIxSs+05dlQKFDw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TaWgKLUk; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85874606A881; Thu, 12 Nov 2026 11:30:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TaWgKLUk X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794483012; b=L1sJFyVRhWA+ksXq4NYadzzsdnjEUM8oNpbAhzcZpbviQLy+jLNNn7MQYTPSU1yQRDtY KAlrWwiSpno4jghfLKQsSFCGJURkWbjfvjsXijS0bZCCpbHyVTVSvqL593rlCwqvwZHVB 5I8JokhgFiUj3p9BVov0JIrRSZzf05dLNvPikHLmu81F5G+/qs4rEKq3taS1jyk0gj87J QML5iUA9wPHahvlIQYwHqcuD+EQjqQaisQ1QB5ekeF3UFyIonPOmhq5oV7QxvzQW7pZJU /G3c7GBxu59b9aSmX1W8QFQWgCiacK0KLskito73/M1Pd1tXarZ9jBzvQdtxq2oYveQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794483012; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=71eXGQdP5orJZyLCzWbG5FrSvWsmlQU9DIpmcnIuT1I=; b=hIy3gWDIrA3TxmP3UWellvR/nHrSKCTf3FPZpJmhC4W6Knir2XUx0S8r6c4/ZL7LPbqy r9XGmFoM+zBDrUE7wfhxMHSECFRp6e8LW/91bT7JakWbFqBOjVQpAzE5uCWY+hwCBp/01 Ct0AAQse/IFCpNodz9HOadtdb+4hpseOFomoH2+rSF0YKm2naJah3Rt1OGKBfChvCpzXY 3/9IDvRrKYZuijt7IntzsrZM+r/oZzwnHIqcnwtHPYx+KJN5AUJ8wnpQYDNH84f4/W5Fv 5gsstE3vCNIln+thpCwDW5e8qb01R9lcLauONttdPmot3pBqxpk3rpIFTeGcuFg22SQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TaWgKLUk; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3324606A895; Thu, 12 Nov 2026 11:30:12 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 201871F00A05; Thu, 12 Nov 2026 11:30:12 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794483012; bh=71eXGQdP5orJZyLCzWbG5FrSvWsmlQU9DIpmcnIuT1I=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=TaWgKLUkHNHi5N1Egi50k6plrFr+ducVKv1DY5+VQJFIWTAaa7vFpDqClSsKs4hAp H0+BMeYUvayjR3hGtq7saJUyYo8a0b7koTHyJXkoiMfJVeMNhYyyYnEw9Z1aE9UGnX OtFEqTIvnILejIeU8vkKe8d09bNktmcLwtnz+LF/P0MhgVfUjxmVDRvU5x7U9/wNoZ r3wF6y8TCErWZ/ucAxJ+RTZPdGouYP7AgvrkDNCxhUwE+Rz5Qf/M3J2rzuRO528uJi DX1O+2BHqt+M2fdatAXs15ml2J+GguKhvNh3XF3QHOJxESNxmqNW1dL80/Bte/6wQE W9zrhtY7j277Q== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1483E3AA9F6B; Thu, 12 Nov 2026 11:30:12 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <1793949783000.333861.5224091507677300156@cmss.chinamobile.com> X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, kuba@kernel.org, pabeni@redhat.com, edumazet@kernel.org, davem@davemloft.net, alexandru.tachici@analog.com, ciprian.regus@analog.com, linux-kernel@vger.kernel.org, yana06070@163.com