🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23388

Re: [PATCH net-next v2] net: dsa: motorcomm: Unregister the MDIO buses on teardown

#23388
From: David Yang
Date: Fri, 27 Nov 2026 07:17
34 lines
13151 bytes
On Fri, Nov 27, 2026 at 3:07 PM <netdev-bot+sinfo@kernel.org> wrote:
>
> Hi!
>
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
>
>  - How the issue was discovered, e.g. hit in production, hit during
>    development, syzbot report, manual code inspection, LLM or static
>    analysis tool scan.
>
>  - Whether the issue was actually triggered, or is only theoretical
>    (e.g. found by LLM and not proven at runtime). If it was triggered
>    please include the symptoms, like the stack trace or kernel messages.
>
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account.
>
> *IMPORTANT*: If you do repost (for other reasons) - please include
> the relevant info in the cover letter or commit messages.
> --
> The evaluation is done by an LLM so it may be wrong, if you think
> that is the case please reply and explain.

Not a fix, explained in the message.

Sorry, I missed the changelog:

v1: https://lore.kernel.org/r/20261126034725.64709-1-mmyangfl@gmail.com
- fix err path for yt921x_devlink_setup
- make NULL checks explict
Technical Details
Message-ID: <CAAXyoMP-qAtN0fmySFEU9=4WBg1akhoJOSjXkU6Fk2Q8-N5Q6g@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372515-linux-kernel-netdev=dewy.ru
References: <20261127070354.550198-1-mmyangfl@gmail.com> <179576327645.3294.112285886879692747@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372515-linux-kernel-netdev=dewy.ru
From: mmyangfl@gmail.com (David Yang)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] net: dsa: motorcomm: Unregister the MDIO
 buses on teardown
Date: Fri, 27 Nov 2026 15:17:09 +0800
Organization: Usenet Network
Message-ID: <CAAXyoMP-qAtN0fmySFEU9=4WBg1akhoJOSjXkU6Fk2Q8-N5Q6g@mail.gmail.com>
References: <20261127070354.550198-1-mmyangfl@gmail.com> <179576327645.3294.112285886879692747@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="668508"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:uYFBFZ5/g+EBE2stvldAm/JS1ZM= sha256:m1VEjf23+i7sHlcxCfJNmjDgYi2gB0wqxf6wRZcxazM=
	sha1:ph8e189qEZ92hwHTYc42+ZDHBNk= sha256:JOpFC8teED/qsq+XQ/YmS2F0GTXA5+IkU+BW4JZTGeA=
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 CB5D4125F10; Fri, 27 Nov 2026 10:18:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=gmail.com
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 0BusDaThNhD6;
	Fri, 27 Nov 2026 10:18:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372515-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 04868125F12; Fri, 27 Nov 2026 10:17:53 +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 3202033FF1; Fri, 27 Nov 2026 07:17:48 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795763868;
	b=t5igEL+5rPU/7GR0CMP4Hn9l/gB0txKOLAdoSpsrAs2gXz0PeyUV3Z+NCvG6Q+VruhP2
	 ffqU0Y3/y5huJ0K8Js9hP72pDrHWEwCe4P244zeWlHhTS+XqixAhFPFukKjXmuixfPLCw
	 J2r9vW5LZkaVqDAdIngUg34UuwkGLNRMKF3yBCDEg2ei//cCB8SHu3bEnjr6Z7gn+TN8l
	 RAfkyZ2ripP8/oQmqcFEUt2cmG9vdY77/hosG8VPCvPQOTSym8w4cI+DBhy5PoT7rRvNH
	 KK+AYHmnBa5U4lrOpocEk9D7QwlpYGNcWTQ8rQtJJzy/PhIi/8SBoCK8piR9fXzcUUA==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795763868;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:References:
	 In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=sBfs1qfDj+NHMwewALTWDBF+xyD4zUqTQJbFv+XxnAA=;
	b=AJTtefZ6Ig5oYBsHvfGGpctSYcnWA7M9Y0nSqYCuWfwZr4W0yYz/BuaLvnMsQrPPQ7+T
	 KtKFoQqMdWR7X5P7UDaQO8H2TPqglgSJ8G/7clOp3HwtTrApxjJwZgIHV2kHiEXc3eTWT
	 1SBwaGDRYXL1HYpPuenrWkjj64JaK0g9s2UEphwZDJ/LIymg4nbYSsdwN2F3Rz02Uhm4E
	 CVtqzgG/wfVLva0gjdP95S6cK9vCSJxMmQibvNOPcavSEVVT5+qbv1wX7KyUBOgP/q4WE
	 /y3txkYx3DSEwRer+/U4PTJOjdPYM0s0xkREqxnNpTCcP1OsRQcF/miOIwLzuWR4iLA==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oocRs+XQ;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	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 093C2606A323;
	Fri, 27 Nov 2026 07:17:48 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oocRs+XQ
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.160.54
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795763867;
	b=Dmq4tmEw7xXgB5QFazrZz4SiE5+ObiGUtxuF3w4Vmyi4q+cxs1WnpUxtXflStkZz4G+3
	 UGuF4XVYsw5d8UrhhghdEnl2banLNayY10ub15ZM5mO/YEQr1/fkmYjuMGT/TsU8iQsTs
	 FveFo7IKEh832Q/9ItDr08dDY1JuOG3MvgIW0c76VrYCcI9oXRA0OpSaFBQeGmi929bQm
	 1aVW/qWYrvffjyFqaJCY1dC5G25DGtnhNxQ6oGnh1Z0sRKcOdHshHX92clqs+WrwMqUHN
	 yvwaIPgyq4H9UBMDY2JTeHYk44RhgcH7yQiCXdPCQINTvQSC40zUG1YoXIB1EulHDcA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795763867;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:MIME-Version:References:
	 In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=sBfs1qfDj+NHMwewALTWDBF+xyD4zUqTQJbFv+XxnAA=;
	b=foTf7CBMsAdB6hxHVMhGjDprb2LqY+7kiQmwKcoAuTbJv8uYdGJRf21Iz79Uj+UWUNGB
	 MBs8qODhm/aXOHSs+0unqhhfV//LtaaIIjfcGmZXgcSOioXPtJey2+ClVOVyxRV9RHPgM
	 n/YTDMBDwm1cS62pMbe9U2gHVQVxOPW+3IPB1g/4zCrQEEfO8d8K30djXahkUMKh1LesY
	 3KO8ivuBSYz/zbCB82wieaWYdPux2MS4tCqqrwt0XPUsH4HpwkALvFKrtBmHTbSQE0oJp
	 QhogGYZbgPj3MSDMo9xB1RmHH8fcYnF2ng2qrHtz7yh4ZpxoOVCu6qirJ1po8CQMzFA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oocRs+XQ;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.160.54
X-Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5FEA606A31C
	for <netdev@vger.kernel.org>; Fri, 27 Nov 2026 07:17:46 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C5FEA606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-48e94879f02so2496164fac.0
        for <netdev@vger.kernel.org>; Thu, 26 Nov 2026 23:17:46 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1795763866; cv=none;
        d=google.com; s=arc-20260327;
        b=OinPuub54oR4709x7OzW8wtp62iTSM5xxqrqPguuEvLOpeyM9gJayS66RX5rVb0Lkp
         exApgXk0BMjLGa95XT9yeUwS08JXAOwGQV90IdrNyjZ5zQUhaUIEOPyUUWEMPC1P27bT
         HIigDgfl0CpT5S1Adw3PXs8kOR2t12HOR4oX577x2//j0HfOXYuDgOx8rtj534ASAuFz
         W9frIQYd0E9cES4RhQkhP1Up94fuLTacJxKNvq2cpmThddyvYN9Wgdj3+Fm7C6sst3Yh
         GjBivYJJW0ZQe8mR5o339KgB+p2JOaMIeoiMgkY2B16bKISikkgXwdmm8ab3zsifXIMg
         S6jw==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=sBfs1qfDj+NHMwewALTWDBF+xyD4zUqTQJbFv+XxnAA=;
        fh=ETyMDPt3t0hLL74Rjkpk80XYeQAXRUjJTuQdk2T1NN0=;
        b=k33SNYAhAsD8VQ0jNAqrbLb5XGV/LncdXUf8xsI1vckFBs3T1Y4A2CfYNTNHVoN2Z7
         y8T/5Wk9D16T/hpRAs0hJFFmG0Hf9/ERtBRQG93CjFqtY25qrnzflfsQEadurMrYc2Ne
         1EVnDncnxoW3T3UX6/OmB9bTPcSmTJ/SdL23SxthH2x7FRh6dZEciVbw8B5bcndl/TQh
         ACcGuZOoG69xOzx7mm6YJt2ffwRk7aqu+0mYaYKjNxGa3pvby0yiHk+Rn4ESERDR2+Xg
         S/Z+6NedSMiisLFAnxYcJJArnQKiSZBcp4ptdBxrAmPDeUrLhuj+qVdgmAZrd4s4i8ri
         BLRw==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1795763866; x=1796368666; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=sBfs1qfDj+NHMwewALTWDBF+xyD4zUqTQJbFv+XxnAA=;
        b=oocRs+XQom86AYc9F+GSpT5+CcbGoQHTjcwNAEeoOI59tQQ7SG3I+jItQAcOPyRBPM
         TwVPSXFgIcsfc3RVvvikz7WNa3lLWxUG2PHEA/NtwQU3Iq+rALzDsrlcgOsbxg8EnMoM
         TFKirg/HJ9StG151IPSoTgYp1hDt4LYK5mWZmGA/mF0GK642TX18u6xndpaVVMW9q1TY
         KRLjHM+pwd1d/qusT/yIfNLkkPQ0w35Y9D1UBx2UdSdB8KAcI7nSQnKnHDZYMbnayxHK
         6JNZ22yO6thXpMF2MebdIKB22bCIWjU0wCljv67HCyVOqHYEDnYSpUBXnzr5P7qxzwde
         G6Cg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795763866; x=1796368666;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=sBfs1qfDj+NHMwewALTWDBF+xyD4zUqTQJbFv+XxnAA=;
        b=unG9IfLXSX58WTvh2/u1CruE71vjIWEpY+5wb8nEEHBCiWp5DgiZYAgGIILbSHiYEa
         Fsa88JN4RnDwtHtJHNPkMn2MfvfI5QrWD6u5i3az4TeeFM/2C8V0k0l5ZMSKZJUzj1Gp
         JRf2Udf3AIWVBegy3y0rawKGylCr/hua+HKEU8W9SUKoVZcVXvhlCYYMEBXH63Urb9Jd
         72yQduVSZRwL+b90bzcyVj03oNHTjZMbGHeWKHvprr4u7x9kJf8Hn5bz8r9/xQBvaM+D
         yeNy1Y+WnG8+8peb6Z/Z+U2W88RjPcsELIMUD5bPAcyae71pVIFkHNLv291vUKyYDrUt
         wdCw==
X-Gm-Message-State: APuU4Z89ZUGbYDdsLtKbXlk7PHbbiEAq1s1QpPmVHiqoW7Cibie3EWwc
	LRvkLxOm1dhy5/YHTov9xbobYwztKzO8vSf/ANbh1wT/YXgNe+4bbdthSg75aJzeAM4R5+PFa9x
	KaCIWGL+ccfo1lgLyzOHqwSyZUvIvqa4=
X-Gm-Gg: AZFdTZdt6QRV8nM9YIXZ/c/b9XXQkOpATdDPusDxtmmueIyc6SrYgXD2SQ+enWmNbpx
	RmAviQAPM4INJm3ddT4oJOo5BWZLrCMqsmz+k2CLVBn69NX+t9WjF4X+aLKFjme1Bq55Uxehaj6
	w2D7jTfSaWymik9+pRfKEdziONyj965nFu1gn1kcW753+jr0rf4kDnBchS6AZVfagNt7qRArT8p
	u/EDRTs7PhxXwBrTRyOfknPrOzgv+jwmT78/hFJsUmiT0yQIvwR/z8OjTAPHM3Uvarhy0VTWooA
	e9sP2WhEUEF99UL/Sg7kDMQzMzXFu5+HkAIJAwkEHj2Utl2ag5t/L1YcOaAFEWUntRfZxCnUWYD
	YO9709mMMRirM5VLuS/CrqWSyzz0I6Bya7ejNDJePDcNEo32Syx2FWuSobnGk7FvLc6h7AY4=
X-Received: by 2002:a05:6808:244e:b0:53c:5052:ea07 with SMTP id
 5614622812f47-57a06a105b2mr23575713b6e.5.1795763865546; Thu, 26 Nov 2026
 23:17:45 -0800 (PST)
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: <179576327645.3294.112285886879692747@kernel.org>
X-Gm-Features: Aa3M54qJYjMk0h_YDrz0gL3uKh4njhTmpI3Hhu8SpudrPXuJO4YNtlv6JT_nGsQ
X-Cc: netdev@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>, 
	Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, 
	Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, 
	Russell King <linux@armlinux.org.uk>