Skip to contentSkip to conversation

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

PATCH In review Jonathan Velez 2 participants 6 messages 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

core: Add documentation of "sg" field in the 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 22 lines · Jonathan Velez

core: Add documentation of "sg" field in the 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

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.

You are receiving this message because of the following common error(s) as indicated below:

- This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this.

If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.

thanks,

greg k-h's patch email bot

maintainer
#2 lore raw
In reply to Jonathan Velez
Quoted 12 lines · Jonathan Velez

core: Add documentation of "sg" field in the dwc3_request struct.

---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +0 -0
index f11570c8ffd0..bb140dde07d6 100644

drivers/usb/dwc3/core.h struct dwc3_hwparams { · line 948

Quoted 7 lines
drivers/usb/dwc3/core.h +1 -0
@@ -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

What commit id does this fix?

And are you sure you made this against the right tree? I do not see "sg" as a member of this stucture at all anymore.

thanks,

greg k-h

#3 lore raw
Quoted 12 lines · Greg KH
Quoted 7 lines · Jonathan Velez

core: Add documentation of "sg" field in the dwc3_request struct.

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

1 file changed, 1 insertion(+)
Quoted 14 lines

drivers/usb/dwc3/core.h struct dwc3_hwparams { · line 948

Quoted 12 lines
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

What commit id does this fix?

I pulled the mainline and worked on the “for-next” branch. Is that the correct process? Should I be using the “master” branch instead?

Quoted 3 lines

And are you sure you made this against the right tree? I do not see "sg" as a member of this stucture at all anymore.

This was the last commit on the “for-next” branch:

commit ffd294d346d185b70e28b1a28abe367bbfe53c04

Quoted 4 lines

thanks,

greg k-h

maintainer
#4 lore raw
Quoted 26 lines · Jonathan Velez
Quoted 12 lines · Greg KH
Quoted 7 lines · Jonathan Velez

core: Add documentation of "sg" field in the dwc3_request struct.

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

1 file changed, 1 insertion(+)
Quoted 14 lines

drivers/usb/dwc3/core.h struct dwc3_hwparams { · line 948

Quoted 12 lines
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

What commit id does this fix?

Quoted 7 lines

I pulled the mainline and worked on the “for-next” branch. Is that the correct process? Should I be using the “master” branch instead?

Quoted 3 lines

And are you sure you made this against the right tree? I do not see "sg" as a member of this stucture at all anymore.

This was the last commit on the “for-next” branch:

   commit ffd294d346d185b70e28b1a28abe367bbfe53c04 

That is the 6.13 release from way back on January 19. I think a few other things have happened since then :)

Please work against either the development branch of the subsystem you are submitting changes for, OR against the linux-next tree which merges all subsystems together, so that you do not accidentally use an old tree.

thanks,

greg k-h

#5 lore raw
Quoted 33 lines · Greg KH
Quoted 28 lines · Jonathan Velez
Quoted 12 lines · Greg KH
Quoted 7 lines · Jonathan Velez

core: Add documentation of "sg" field in the dwc3_request struct.

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

1 file changed, 1 insertion(+)
Quoted 14 lines

drivers/usb/dwc3/core.h struct dwc3_hwparams { · line 948

Quoted 12 lines
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

What commit id does this fix?

I pulled the mainline and worked on the “for-next” branch. Is that the correct process? Should I be using the “master” branch instead?

Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

And are you sure you made this against the right tree? I do not see "sg" as a member of this stucture at all anymore.

This was the last commit on the “for-next” branch:

commit ffd294d346d185b70e28b1a28abe367bbfe53c04

That is the 6.13 release from way back on January 19. I think a few other things have happened since then :)

:)

Quoted 5 lines

Please work against either the development branch of the subsystem you are submitting changes for, OR against the linux-next tree which merges all subsystems together, so that you do not accidentally use an old tree.

Moving forward I’ll make sure to work against a subsystem development branch or the linux-next tree, thank you for the help Greg!

Quoted 3 lines

thanks,

greg k-h