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

Jonathan Velez posted 1 patch 7 months ago
There is a newer version of this series
drivers/usb/dwc3/core.h | 1 +
1 file changed, 1 insertion(+)
[PATCH] docs: usb: dwc3: add documentation of 'sg' field in dwc3_request struct
Posted by Jonathan Velez 7 months ago
Signed-off-by: Jonathan Velez <jonvelez12345@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 f11570c8ffd0..bb140dde07d6 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -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
-- 
2.43.0
Re: [PATCH] docs: usb: dwc3: add documentation of 'sg' field in dwc3_request struct
Posted by Greg KH 7 months ago
On Fri, May 16, 2025 at 11:54:47PM +0000, Jonathan Velez wrote:
> Signed-off-by: Jonathan Velez <jonvelez12345@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 f11570c8ffd0..bb140dde07d6 100644
> --- a/drivers/usb/dwc3/core.h
> +++ b/drivers/usb/dwc3/core.h
> @@ -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
> -- 
> 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
Re: [PATCH] docs: usb: dwc3: add documentation of 'sg' field in dwc3_request struct
Posted by Jonathan Velez 7 months ago

> On May 18, 2025, at 1:48 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> 
> On Fri, May 16, 2025 at 11:54:47PM +0000, Jonathan Velez wrote:
>> Signed-off-by: Jonathan Velez <jonvelez12345@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 f11570c8ffd0..bb140dde07d6 100644
>> --- a/drivers/usb/dwc3/core.h
>> +++ b/drivers/usb/dwc3/core.h
>> @@ -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
>> -- 
>> 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.

> 
> sorry,
> 
> greg k-h