718-v5.5-net-sfp-fix-sfp_bus_put-kernel-documentation.patch 1.0 KB

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