All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: dwc3: Fix documentation warning for sg member
@ 2025-01-23  8:01 Usman Akinyemi
  2025-01-23 14:07 ` Greg KH
  2025-01-23 15:13 ` [PATCH v2] " Usman Akinyemi
  0 siblings, 2 replies; 10+ messages in thread
From: Usman Akinyemi @ 2025-01-23  8:01 UTC (permalink / raw)
  To: Thinh.Nguyen; +Cc: gregkh, linux-usb, linux-kernel

The 'sg' member in struct dwc3_request was undocumented, causing a
documentation warning when building the kernel docs.

This patch adds a description for the 'sg' field, resolving the warning.

Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index ee73789326bc..0c417a12e6f4 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -941,6 +941,7 @@ struct dwc3_hwparams {
  * @request: struct usb_request to be transferred
  * @list: a list_head used for request queueing
  * @dep: struct dwc3_ep owning this request
+ * @sg: pointer to a scatterlist for DMA operations
  * @start_sg: pointer to the sg which should be queued next
  * @num_pending_sgs: counter to pending sgs
  * @remaining: amount of data remaining
-- 
2.48.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-01-23 16:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23  8:01 [PATCH] usb: dwc3: Fix documentation warning for sg member Usman Akinyemi
2025-01-23 14:07 ` Greg KH
2025-01-23 14:17   ` Usman Akinyemi
2025-01-23 14:22     ` Greg KH
2025-01-23 15:15       ` Usman Akinyemi
2025-01-23 15:13 ` [PATCH v2] " Usman Akinyemi
2025-01-23 15:38   ` Greg KH
2025-01-23 15:52     ` Usman Akinyemi
2025-01-23 15:57       ` Greg KH
2025-01-23 16:11         ` Usman Akinyemi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.