Re: [PATCH net-next v2] net: phy: motorcomm: add YT8831 2.5G PHY support

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-11-15 19:05:39
Also in
lkml
Reply to
Frank.sae, 2026-11-09
On Mon,  9 Nov 2026 06:43:32 +0000 Frank.sae wrote:
quoted hunk ↗ jump to hunk
+/**
+ * yt8831_read_page() - read reg page
+ * @phydev: a pointer to a &struct phy_device
+ *
+ * returns current reg space of yt8831 (YT8831_RSSR_FIBER_SAPCE/
+ * YT8831_RSSR_UTP_SAPCE) or negative errno code
+ */
+static int yt8831_read_page(struct phy_device *phydev)
You need to format the return statement correctly, kdoc requires
the following format:

 * Returns: current tag..

this patch triggers:

Warning: drivers/net/phy/motorcomm.c:803 No description found for return value of 'yt8831_set_wol'
Warning: drivers/net/phy/motorcomm.c:964 No description found for return value of 'yt8831_read_page'
Warning: drivers/net/phy/motorcomm.c:1005 No description found for return value of 'yt8831_write_page'
Warning: drivers/net/phy/motorcomm.c:803 No description found for return value of 'yt8831_set_wol'
Warning: drivers/net/phy/motorcomm.c:964 No description found for return value of 'yt8831_read_page'
Warning: drivers/net/phy/motorcomm.c:1005 No description found for return value of 'yt8831_write_page'
-- 
pw-bot: cr
Thread (2 messages) 2 messages, 2 authors, last reply 6d ago
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