[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7150d811-df6a-488d-a7d8-96aec01365db@bootlin.com>
Date: Tue, 3 Feb 2026 19:09:23 +0100
From: Maxime Chevallier <maxime.chevallier@...tlin.com>
To: Simon Horman <horms@...nel.org>
Cc: davem@...emloft.net, Andrew Lunn <andrew@...n.ch>,
Jakub Kicinski <kuba@...nel.org>, Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Russell King <linux@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
Christophe Leroy <christophe.leroy@...roup.eu>,
Herve Codina <herve.codina@...tlin.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <vladimir.oltean@....com>,
Köry Maincent <kory.maincent@...tlin.com>,
Marek Behún <kabel@...nel.org>,
Oleksij Rempel <o.rempel@...gutronix.de>,
Nicolò Veronese <nicveronese@...il.com>,
mwojtas@...omium.org, Romain Gantois <romain.gantois@...tlin.com>,
Daniel Golle <daniel@...rotopia.org>,
Dimitri Fedrau <dimitri.fedrau@...bherr.com>
Subject: Re: [PATCH net-next v3 05/11] net: phy: Create SFP phy_port before
registering usptream
Hi Simon,
On 03/02/2026 18:52, Simon Horman wrote:
>> - if (!ret && phydev->sfp_bus)
>> - ret = phy_setup_sfp_port(phydev);
>> + ret = sfp_bus_add_upstream(bus, phydev, &sfp_phydev_ops);
>> + sfp_bus_put(bus);
>> +
>> + if (ret && port) {
>
> Hi Maxime,
>
> If bus is NULL then port will not be set here.
Arg... I though smatch was running in the NIPA ingst-mdir script, but I
was wrong :(
I'll address that in V5 as the problme is still in V4, thank you for the
report
Maxime
Powered by blists - more mailing lists