🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21109

Re: [PATCH net] net: octeon_mgmt: Add cleanup operations for octeon_mgmt_init_phy()

#21109
From: Andrew Lunn
Date: Mon, 23 Nov 2026 15:02
20 lines
8646 bytes
On Mon, Nov 23, 2026 at 06:30:22PM +0800, b.lane130@outlook.com wrote:
> From: Bruce Lane <b.lane130@outlook.com>
> 
> The error path in octeon_mgmt_open() misses the cleanup
> operations for octeon_mgmt_init_phy() if request_irq()
> fails. Add an error label and the corresponding cleanup
> functions.
> 
> Fixes: eeae05aa2169 ("netdev: octeon_mgmt: Add support for 1Gig ports.")

Who does this bother?

https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html


    Andrew

---
pw-bot: cr
Technical Details
Message-ID: <1cb2024c-45c8-4a40-830b-c4e29b414b00@lunn.ch>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369517-linux-kernel-netdev=dewy.ru
References: <BN8PR06MB61774294C2C7961C2D8A4923A4452@BN8PR06MB6177.namprd06.prod.outlook.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369517-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: octeon_mgmt: Add cleanup operations for
 octeon_mgmt_init_phy()
Date: Mon, 23 Nov 2026 16:02:27 +0100
Organization: Usenet Network
Message-ID: <1cb2024c-45c8-4a40-830b-c4e29b414b00@lunn.ch>
References: <BN8PR06MB61774294C2C7961C2D8A4923A4452@BN8PR06MB6177.namprd06.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3908551"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:N8/YK7a0srTfTAmXzPbpT15IEgo= sha256:YaV5kv1kfSrkq1xgA7kj6OBiwXBWE7BqdXL5O4utTQU=
	sha1:UyA6NYTF7wr3WAzUtPOTkpFjwyM= sha256:z8cH/G52cZUmRDr6TBfxQ3B2P88XWJovqyopCuguF6M=
Content-Disposition: inline
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 077FD125DB9; Mon, 23 Nov 2026 18:03:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 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, 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 (1024-bit key)
	header.d=lunn.ch
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 mTpIKiCqxsnu;
	Mon, 23 Nov 2026 18:02:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-369517-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 564F5125DBB; Mon, 23 Nov 2026 18:02:45 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id A772D28A9F; Mon, 23 Nov 2026 15:02:41 +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=1795446158;
	b=k/9etgNaFN2ttXxIkgzs5ee0248KiKZzqZrdlZf1okjEreF3ZzPjvInp9mlsTfXLQ3cf
	 r/ksniZhaOt9yR5XHVa7lyocP1kRETgeo/jRGyazm67oTrmeNJtB0Vj50RzVcjU3gJXRg
	 /GOTLufbU0pxlvMGku8hzZThPEPJLLTQDj2UPV047+3D9gW5+mkHbIrVRBzlWGnxAD2n0
	 AWFlGwUem1Lu1xfQ3JIda8gYrSK4XDilP1h4XHCLiq30hEvs8DGNxybtmEDpNDjfdbswZ
	 YziNpj85aS8G+muc4WBjghj1db6LEYgE1SJzdKnluqSkLreuxpNn6jby/VMHYfQAjCg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795446158;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=M8fAFgMA6Yg4YabTx+UAo89Z8CGbAn9HYyco+eim90Q=;
	b=nLBcjjMDKcXAK2esmktSOb24Fe5Cn4Oa/K9H0LN5AZ6o3yo3Z9Ce/Z/RCxKPVCeLOf/h
	 aPuW1dYF7H5Zm6cOu9TgLAvzQhJzm1JBPiUQkB0iP060oxZIQ5Dyiv67As1/P7IVWS8lF
	 6n2obBzeKOoGR8Nw6/DA+1h4rfUtCojwJxRLRpA8n9quB/eZ2fqKpzfyRNpF/j5lMjLz2
	 lXosin/DHxnHTWJyhiayvvTYgqHFKMMoi2NSNpkA96UB+IDEUet2dagnDIG+jCh8fJm5/
	 N3MWhwTesrLXZlS3QxmuFeH/4gmGzJ93JKyJYA81fRT8G0mxtSn4JptxWey4K+kN9IQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=MnJo6lMR;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	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 1CD55606A336;
	Mon, 23 Nov 2026 15:02:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=MnJo6lMR
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795446157;
	b=fKXb0n9i4L2ENlLPxZDHvL182XZMx+Uw9gOsVfQKfZBJxuOwif+46P2aGCeE0+Y9zb0A
	 jv3Npmh9ENZkjNo4B6SRiAL0KyFN6TiI1P0M0hef3G1+MDMcGBtUi/NIYkdei+gCsXgrd
	 kkTEJamAqUXji44u9Hn2lxniHQGgTyvKkglFtaYy/LxdK9Y4JSYjdI1QSIOcmYzfAgFb6
	 odA0SIMIf6j85Sa7+iCF4FAAabQJNl/1WhZ7sAt41O+E/ITeOek5hZAYcztp+7PemCxjU
	 vFpvXAyDNWq1ug0inB+PbTcYUV0BlEVOIK4+rBzuILQAFYGezsEih5FoUOhLmkOcYKQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795446157;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=M8fAFgMA6Yg4YabTx+UAo89Z8CGbAn9HYyco+eim90Q=;
	b=B1SlxapqwK9fa4hTjpqSvFm3hG/JqO1LhBI1gE5+ZEfKvNXeRMIZboiijoF4MH7z6eVM
	 zAlrXo27tQOMceR+Xuzq+8FIAUQLLKrZgYdhvkJvC0JsfYVboBWP6DJJO9q10x5+9CgfT
	 I5M6qZ2WayEO5oV/0rt+lQKdbtei8O15m4uP5p6laTT3Ytaqw98dD52OwhKy6HCpEjmqH
	 EzzR/FEIomVkZl9sBUgAffBrIyjxwh5IZw4iRezUGT59pPGXDXmXNgFrUVAa6Z5OYZuBM
	 FEfFF6LpAWDmlj4JlUJwhu0UnHc3B+3oEgdMXd/IfApO+Ou1m0DzRyi7lKfsugVwniQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=MnJo6lMR;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECD02606A321
	for <netdev@vger.kernel.org>; Mon, 23 Nov 2026 15:02:36 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ECD02606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=M8fAFgMA6Yg4YabTx+UAo89Z8CGbAn9HYyco+eim90Q=; b=MnJo6lMR98aSCVPj8m+Gfa/M0e
	iees1R/gIfFUlb6K0ym8SeKX6R6U/wSWXzUDsNpOhat1NLAgdhHa2x9G1g9wyV73Qy4AaFvKZv4z7
	uKaRgKTsTpmgUljy5EgUTgi2Ru6UXX4P+4NmYgB8FY4OCfXjFKeuZ+jFqDGLj/9NH0Hk=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xVVYp-000oWR-Ek; Mon, 23 Nov 2026 16:02:27 +0100
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org
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: <BN8PR06MB61774294C2C7961C2D8A4923A4452@BN8PR06MB6177.namprd06.prod.outlook.com>