]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usb: dwc3: core: Fix incorrect kernel-doc comment for dwc3_alloc_event_buffers
authorShuping Bu <bushuping007@163.com>
Wed, 20 May 2026 05:50:23 +0000 (13:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2026 14:42:59 +0000 (16:42 +0200)
The kernel-doc comment for dwc3_alloc_event_buffers states that the
function "Allocates @num event buffers", but the function does not have
a @num parameter and only allocates a single event buffer.

Remove the misleading "@num" reference from the brief description to
accurately reflect the function's behavior.

Signed-off-by: Shuping Bu <bushuping007@163.com>
Link: https://patch.msgid.link/20260520055023.2415635-1-bushuping007@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c

index 65213896de998abdc8edba044e8d80480f1e150d..a2587f9f0bb8a26f17a021e2028cd5a8d57f1035 100644 (file)
@@ -525,7 +525,7 @@ static void dwc3_free_event_buffers(struct dwc3 *dwc)
 }
 
 /**
- * dwc3_alloc_event_buffers - Allocates @num event buffers of size @length
+ * dwc3_alloc_event_buffers - Allocate one event buffer of size @length
  * @dwc: pointer to our controller context structure
  * @length: size of event buffer
  *