Skip to contentSkip to conversation

usb: dwc3: Fix kernel-doc warning for sg member in

PATCH In review Purva Yeshi 2 participants 5 messages Feb 4, 2025 – Feb 5, 2025

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

PATCH 1/1 usb: dwc3: Fix kernel-doc warning for sg member in

Added description for the 'sg' member in struct dwc3_request to resolve the kerneldoc warning when running 'make htmldocs'.

---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..5e4daec322b7 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
  * @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.34.1
maintainer
#1 lore raw
Quoted 23 lines · Purva Yeshi

Added description for the 'sg' member in struct dwc3_request to resolve the kerneldoc warning when running 'make htmldocs'.

---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..5e4daec322b7 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
  * @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.34.1

What kernel version/tree did you make this change against?

thanks,

greg k-h

#2 lore raw
Quoted 27 lines · Greg KH
Quoted 23 lines · Purva Yeshi

Added description for the 'sg' member in struct dwc3_request to resolve the kerneldoc warning when running 'make htmldocs'.

---
  drivers/usb/dwc3/core.h | 1 +
  1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..5e4daec322b7 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
   * @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.34.1

What kernel version/tree did you make this change against?

Quoted 3 lines

thanks,

greg k-h

The change was made against kernel version 6.13.0-rc7+.

Thanks,
Purva Yeshi

maintainer
#3 lore raw
Quoted 28 lines · Purva Yeshi
Quoted 27 lines · Greg KH
Quoted 23 lines · Purva Yeshi

Added description for the 'sg' member in struct dwc3_request to resolve the kerneldoc warning when running 'make htmldocs'.

---
  drivers/usb/dwc3/core.h | 1 +
  1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..5e4daec322b7 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
   * @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.34.1

What kernel version/tree did you make this change against?

Quoted 5 lines
Quoted 3 lines

thanks,

greg k-h

The change was made against kernel version 6.13.0-rc7+.

Please always work against the latest development tree for the subsystem you are working on, OR against linux-next, so that you don't end up duplicating work that others have already done, like was done here.

thanks,

greg k-h

#4 lore raw
Quoted 35 lines · Greg KH
Quoted 28 lines · Purva Yeshi
Quoted 27 lines · Greg KH
Quoted 23 lines · Purva Yeshi

Added description for the 'sg' member in struct dwc3_request to resolve the kerneldoc warning when running 'make htmldocs'.

---
   drivers/usb/dwc3/core.h | 1 +
   1 file changed, 1 insertion(+)
drivers/usb/dwc3/core.h +1 -0
index f11570c8ffd0..5e4daec322b7 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
    * @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.34.1

What kernel version/tree did you make this change against?

Quoted 5 lines
Quoted 3 lines

thanks,

greg k-h

The change was made against kernel version 6.13.0-rc7+.

Quoted 7 lines

Please always work against the latest development tree for the subsystem you are working on, OR against linux-next, so that you don't end up duplicating work that others have already done, like was done here.

thanks,

greg k-h

Thanks for the feedback. I’ll use the latest development tree and make sure to work against the right one next time.

Best regards,
Purva Yeshi