USB: core: amend usb_get_from_anchor() kernel-doc
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.
Signed-off-by Johan Hovold <[email protected]>
--- drivers/usb/core/urb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/core/urb.c +2 -2
@@ -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