Skip to contentSkip to conversation

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

PATCH In review Purva Yeshi 1 participant 2 messages Feb 4, 2025

Subsystems (3)
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
#1 lore raw
Quoted 13 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 +0 -0
index f11570c8ffd0..5e4daec322b7 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
   * @start_sg: pointer to the sg which should be queued next
   * @num_pending_sgs: counter to pending sgs
   * @remaining: amount of data remaining

Apologies for not including all the relevant recipients in this patch submission. I forgot to run the get_maintainer.pl script, but now I am sending the patch again to the correct recipients.

Best Regards,
Purva Yeshi