Re: [PATCH net-next v12 03/13] net: phy: add helpers to handle sfp phy connect/disconnect

From
Maxime Chevallier <maxime.chevallier@bootlin.com>
Date
2024-06-06 06:57:45
Also in
lkml, netdev
Reply to
Jakub Kicinski, 2024-06-06
Hello Jakub,

On Wed, 5 Jun 2024 20:10:25 -0700
Jakub Kicinski [off-list ref] wrote:
On Wed,  5 Jun 2024 14:49:08 +0200 Maxime Chevallier wrote:
quoted
+/**
+ * phy_sfp_connect_phy - Connect the SFP module's PHY to the upstream PHY
+ * @upstream: pointer to the upstream phy device
+ * @phy: pointer to the SFP module's phy device
+ *
+ * This helper allows keeping track of PHY devices on the link. It adds the
+ * SFP module's phy to the phy namespace of the upstream phy
+ */
+int phy_sfp_connect_phy(void *upstream, struct phy_device *phy)  
We run scripts/kernel-doc with -Wall now, it wants return values
to be documented, too. 
OK, I'll address that and make sure to run this script on all the
patches in the series.

Thanks,

Maxime

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (17 messages) 17 messages, 3 authors, last reply 2024-06-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help