kernel: bump 5.4 to 5.4.58
[openwrt/openwrt.git] / target / linux / generic / backport-5.4 / 718-v5.5-net-sfp-fix-sfp_bus_put-kernel-documentation.patch
1 From ea7bfd81921827d334c2a23bd11ef0e4e2abafd2 Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@armlinux.org.uk>
3 Date: Sat, 9 Nov 2019 08:13:50 +0000
4 Subject: [PATCH 616/660] net: sfp: fix sfp_bus_put() kernel documentation
5
6 The kbuild test robot found a problem with htmldocs with the recent
7 change to the SFP interfaces. Fix the kernel documentation for
8 sfp_bus_put() which was missing an '@' before the argument name
9 description.
10
11 Fixes: 727b3668b730 ("net: sfp: rework upstream interface")
12 Signed-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.