[PATCH] USB: core: amend usb_get_from_anchor() kernel-doc
From: Johan Hovold
Date: Thu Sep 17 2026 - 05:38:49 EST
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@xxxxxxxxxx>
---
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