Skip to contentSkip to conversation

drm: Fix kerneldoc of drm_crtc_convert_umode()

PATCH In review Damien Lespiau 2 participants 2 messages Sep 5, 2013

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

PATCH 1/1 drm: Fix kerneldoc of drm_crtc_convert_umode()

Quoted 1 line

From the copy and paste of drm_crtc_convert_to_umode()'s kerneldoc,

forgetting to update the symbol name (and they look so similar!).

---
 drivers/gpu/drm/drm_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_crtc.c +1 -1
index e92de2e..81046be 100644
@@ -1290,7 +1290,7 @@ static void drm_crtc_convert_to_umode(struct drm_mode_modeinfo *out,
 }
 
 /**
- * drm_crtc_convert_to_umode - convert a modeinfo into a drm_display_mode
+ * drm_crtc_convert_umode - convert a modeinfo into a drm_display_mode
  * @out: drm_display_mode to return to the user
  * @in: drm_mode_modeinfo to use
  *
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Damien Lespiau
Quoted 1 line

From the copy and paste of drm_crtc_convert_to_umode()'s kerneldoc,

forgetting to update the symbol name (and they look so similar!).

Although maybe renaming to drm_crtc_convert_from_umode() might make the difference easier to spot. But it's only used in one place only so it's not a big deal.

Quoted 24 lines
---
 drivers/gpu/drm/drm_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_crtc.c +1 -1
index e92de2e..81046be 100644
@@ -1290,7 +1290,7 @@ static void drm_crtc_convert_to_umode(struct drm_mode_modeinfo *out,
 }
 
 /**
- * drm_crtc_convert_to_umode - convert a modeinfo into a drm_display_mode
+ * drm_crtc_convert_umode - convert a modeinfo into a drm_display_mode
  * @out: drm_display_mode to return to the user
  * @in: drm_mode_modeinfo to use
  *
Signature · 6 lines
1.8.3.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 2 lines
Ville Syrjälä
Intel OTC