Skip to contentSkip to conversation

usb:dwc:core.h Fixed warning of documentation

PATCH In review Piyush Thange 2 participants 2 messages Mar 29, 2023

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

PATCH 1/1 usb:dwc:core.h Fixed warning of documentation

While compiling documentation a following warning is generated. Function parameter or member 'resume_hs_terminations' not described in 'dwc3'

One more warning arises in the same file as follows Function parameter or member 'gfladj_refclk_lpm_sel' not described in 'dwc3'

I need some insights on this.

---
 drivers/usb/dwc3/core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/core.h +1 -1
index 582ebd9cf9c2..4743e918dcaf 100644
@@ -1098,7 +1098,7 @@ struct dwc3_scratchpad_array {
  *			change quirk.
  * @dis_tx_ipgap_linecheck_quirk: set if we disable u2mac linestate
  *			check during HS transmit.
- * @resume-hs-terminations: Set if we enable quirk for fixing improper crc
+ * @resume_hs_terminations: Set if we enable quirk for fixing improper crc
  *			generation after resume from suspend.
  * @parkmode_disable_ss_quirk: set if we need to disable all SuperSpeed
  *			instances in park mode.
Signature · 6 lines
2.40.0

_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
#1 lore raw

Hi--

Quoted 3 lines · Piyush Thange

While compiling documentation a following warning is generated. Function parameter or member 'resume_hs_terminations' not described in 'dwc3'

This one appears to be fixed already.

Quoted 5 lines

One more warning arises in the same file as follows Function parameter or member 'gfladj_refclk_lpm_sel' not described in 'dwc3'

I need some insights on this.

The second one needs a line added, probably just after:

* @parkmode_disable_ss_quirk: set if we need to disable all SuperSpeed
* instances in park mode.

like

* @gfladj_refclk_lpm_sel: {some description here}

Thanks.

Quoted 18 lines
---
 drivers/usb/dwc3/core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/core.h +1 -1
index 582ebd9cf9c2..4743e918dcaf 100644
@@ -1098,7 +1098,7 @@ struct dwc3_scratchpad_array {
  *			change quirk.
  * @dis_tx_ipgap_linecheck_quirk: set if we disable u2mac linestate
  *			check during HS transmit.
- * @resume-hs-terminations: Set if we enable quirk for fixing improper crc
+ * @resume_hs_terminations: Set if we enable quirk for fixing improper crc
  *			generation after resume from suspend.
  * @parkmode_disable_ss_quirk: set if we need to disable all SuperSpeed
  *			instances in park mode.
Signature · 1 line
~Randy