[PATCH] USB: core: amend usb_get_from_anchor() kernel-doc

Johan Hovold posted 1 patch 1 week ago
drivers/usb/core/urb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] USB: core: amend usb_get_from_anchor() kernel-doc
Posted by Johan Hovold 1 week ago
Amend the usb_get_from_anchor() kernel-doc to clarify that the
unanchored URB is returned with a reference held.

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/usb/core/urb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c
index c06b44ca507b..19e2c21420b8 100644
--- a/drivers/usb/core/urb.c
+++ b/drivers/usb/core/urb.c
@@ -951,8 +951,8 @@ EXPORT_SYMBOL_GPL(usb_wait_anchor_empty_timeout);
  * usb_get_from_anchor - get an anchor's oldest urb
  * @anchor: the anchor whose urb you want
  *
- * This will take the oldest urb from an anchor,
- * unanchor and return it
+ * This will take the oldest urb from an anchor, unanchor and return it with
+ * a reference held.
  *
  * Return: The oldest urb from @anchor, or %NULL if @anchor has no
  * urbs associated with it.
-- 
2.55.0