Skip to contentSkip to conversation

docs: usb: dwc3: add documentation of 'sg' field in dwc3_request struct

PATCH In review Jonathan Velez 2 participants 3 messages May 17, 2025 – May 18, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: usb: dwc3: add documentation of 'sg' field in dwc3_request struct

---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..bb140dde07d6 100644
@@ -942,6 +942,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 the scatter-gather list for transfers
  * @start_sg: pointer to the sg which should be queued next
  * @num_pending_sgs: counter to pending sgs
  * @remaining: amount of data remaining
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 21 lines · Jonathan Velez
---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..bb140dde07d6 100644
@@ -942,6 +942,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 the scatter-gather list for transfers
  * @start_sg: pointer to the sg which should be queued next
  * @num_pending_sgs: counter to pending sgs
  * @remaining: amount of data remaining
Signature · 1 line
2.43.0

For obvious reasons, we can't take patches without any changelog text at all (and you wouldn't want us to.)

sorry,

greg k-h

#2 lore raw
Quoted 21 lines · Greg KH
Quoted 16 lines · Jonathan Velez

---
drivers/usb/dwc3/core.h | 1 +

1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..bb140dde07d6 100644
@@ -942,6 +942,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 the scatter-gather list for transfers
 * @start_sg: pointer to the sg which should be queued next
 * @num_pending_sgs: counter to pending sgs
Quoted 8 lines
Quoted 5 lines
drivers/usb/dwc3/core.h +0 -0
 * @remaining: amount of data remaining
Signature · 1 line
2.43.0

For obvious reasons, we can't take patches without any changelog text at all (and you wouldn't want us to.)

Agreed! I’m sending an updated patch with change log text.

Quoted 4 lines

sorry,

greg k-h