[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YnAlBvWyyJ9oDcpz@lunn.ch>
Date: Mon, 2 May 2022 20:37:58 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Matthew Hagan <mnhagan88@...il.com>
Cc: Russell King <linux@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: sfp: Add tx-fault quirk for Huawei MA5671A SFP ONT
> + if (!memcmp(id.base.vendor_name, "HUAWEI ", 16) &&
> + !memcmp(id.base.vendor_pn, "MA5671A ", 16))
> + sfp->tx_fault_ignore = true;
> + else
> + sfp->tx_fault_ignore = false;
> +
> + return 0;
> +
> return 0;
Why do we need two return 0; Probably a merged conflict gone wrong.
Andrew
Powered by blists - more mailing lists