blob: c7bfd8a30490485ead1fa073cc832b275cc9f40e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From ea7bfd81921827d334c2a23bd11ef0e4e2abafd2 Mon Sep 17 00:00:00 2001
2From: Russell King <rmk+kernel@armlinux.org.uk>
3Date: Sat, 9 Nov 2019 08:13:50 +0000
4Subject: [PATCH 616/660] net: sfp: fix sfp_bus_put() kernel documentation
5
6The kbuild test robot found a problem with htmldocs with the recent
7change to the SFP interfaces. Fix the kernel documentation for
8sfp_bus_put() which was missing an '@' before the argument name
9description.
10
11Fixes: 727b3668b730 ("net: sfp: rework upstream interface")
12Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
13---
14 drivers/net/phy/sfp-bus.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17--- a/drivers/net/phy/sfp-bus.c
18+++ b/drivers/net/phy/sfp-bus.c
19@@ -406,7 +406,7 @@ static void sfp_bus_release(struct kref
20
21 /**
22 * sfp_bus_put() - put a reference on the &struct sfp_bus
23- * bus: the &struct sfp_bus found via sfp_bus_find_fwnode()
24+ * @bus: the &struct sfp_bus found via sfp_bus_find_fwnode()
25 *
26 * Put a reference on the &struct sfp_bus and free the underlying structure
27 * if this was the last reference.