Skip to contentSkip to conversation

USB: core: amend usb_get_from_anchor() kernel-doc

PATCH New Johan Hovold 1 participant 1 message Sep 17 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: core: amend usb_get_from_anchor() kernel-doc

Amend the usb_get_from_anchor() kernel-doc to clarify that the unanchored URB is returned with a reference held.

---
 drivers/usb/core/urb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/core/urb.c +2 -2
index c06b44ca507b..19e2c21420b8 100644
@@ -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.
Signature · 1 line
2.55.0