Skip to contentSkip to conversation

drm/connector: repair kernel-doc descriptions

PATCH New Randy Dunlap 1 participant 1 message Nov 3

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

PATCH v2 1/1 drm/connector: repair kernel-doc descriptions

Fix all kernel-doc warnings:

Warning: include/drm/drm_connector.h:293 struct member 'cnmvrr' not described in 'drm_hdmi_vrr_cap'
Warning: include/drm/drm_connector.h:293 struct member 'cinema_vrr' not described in 'drm_hdmi_vrr_cap'
Warning: include/drm/drm_connector.h:293 Excess struct member 'mcnmvrr' description in 'drm_hdmi_vrr_cap' (did you mean one of: 'cnmvrr', 'cinema_vrr')
Warning: include/drm/drm_connector.h:293 Excess struct member 'mcinema_vrr' description in 'drm_hdmi_vrr_cap' (did you mean one of: 'cinema_vrr', 'cnmvrr')
Warning: include/drm/drm_connector.h:2785 No description found for return value of 'drm_connector_lookup'

---
v2: rebase & resend

Cc David Airlie <[email protected]>
Cc Simona Vetter <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Thomas Zimmermann <[email protected]>
 include/drm/drm_connector.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
include/drm/drm_connector.h +4 -2
@@ -265,10 +265,10 @@ struct drm_hdmi_vrr_cap {
 	/** @fva: flag for Fast VActive (Quick Frame Transport) support */
 	bool fva;
 
-	/** @mcnmvrr: flag for Negative M VRR support */
+	/** @cnmvrr: flag for Negative M VRR support */
 	bool cnmvrr;
 
-	/** @mcinema_vrr: flag for Cinema VRR support */
+	/** @cinema_vrr: flag for Cinema VRR support */
 	bool cinema_vrr;
 
 	/** @mdelta: flag for limited frame-to-frame compensation support */
@@ -2779,6 +2779,8 @@ static inline u32 drm_connector_mask(con
  *
  * This function looks up the connector object specified by id
  * add takes a reference to it.
+ *
+ * Returns: drm connector object if found or %NULL if not found
  */
 static inline struct drm_connector *drm_connector_lookup(struct drm_device *dev,
 		struct drm_file *file_priv,