Skip to contentSkip to conversation

gpu: drm: Fix warning caused by a parameter description in drm_crtc.c

PATCH In review Masanari Iida 2 participants 2 messages Oct 23, 2014

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

PATCH 1/1 gpu: drm: Fix warning caused by a parameter description in drm_crtc.c

This patch fix following error while "make xmldocs"

Warning(.//drivers/gpu/drm/drm_crtc.c:778): Excess function parameter
'mode' description in 'drm_connector_get_cmdline_mode'

---
 drivers/gpu/drm/drm_crtc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_crtc.c +0 -1
index e79c8d3..171f9a5 100644
@@ -766,7 +766,6 @@ static void drm_mode_remove(struct drm_connector *connector,
 /**
  * drm_connector_get_cmdline_mode - reads the user's cmdline mode
  * @connector: connector to quwery
- * @mode: returned mode
  *
  * The kernel supports per-connector configration of its consoles through
  * use of the video= parameter. This function parses that option and
Signature · 1 line
2.1.2.451.g98349e5
#1 lore raw
Quoted 6 lines · Masanari Iida

This patch fix following error while "make xmldocs"

Warning(.//drivers/gpu/drm/drm_crtc.c:778): Excess function parameter
'mode' description in 'drm_connector_get_cmdline_mode'

Thanks, picked up for my simple drm core patches queue. -Daniel

Quoted 23 lines
---
 drivers/gpu/drm/drm_crtc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_crtc.c +0 -1
index e79c8d3..171f9a5 100644
@@ -766,7 +766,6 @@ static void drm_mode_remove(struct drm_connector *connector,
 /**
  * drm_connector_get_cmdline_mode - reads the user's cmdline mode
  * @connector: connector to quwery
- * @mode: returned mode
  *
  * The kernel supports per-connector configration of its consoles through
  * use of the video= parameter. This function parses that option and
Signature · 6 lines
2.1.2.451.g98349e5

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch