Skip to contentSkip to conversation

drm: trivial documentation fix to drm_for_each_connector_iter

PATCH In review Gabriel Krisman Bertazi 2 participants 5 messages Apr 21, 2017 – May 18, 2017

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

PATCH 1/1 drm: trivial documentation fix to drm_for_each_connector_iter

While reading drm_for_each_connector_iter, I noticed a mention to drm_connector_begin which doesn't exist. It should be drm_connector_get.

---
 include/drm/drm_connector.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_connector.h +1 -1
index 4eeda120e46d..ff428aa0953a 100644
@@ -1031,7 +1031,7 @@ void drm_connector_list_iter_end(struct drm_connector_list_iter *iter);
  *
  * Note that @connector is only valid within the list body, if you want to use
  * @connector after calling drm_connector_list_iter_end() then you need to grab
- * your own reference first using drm_connector_begin().
+ * your own reference first using drm_connector_get().
  */
 #define drm_for_each_connector_iter(connector, iter) \
 	while ((connector = drm_connector_list_iter_next(iter)))
Signature · 6 lines
2.11.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Gabriel Krisman Bertazi

While reading drm_for_each_connector_iter, I noticed a mention to drm_connector_begin which doesn't exist. It should be drm_connector_get.

Fixes b982dab1e66d ("drm: Rename connector list iterator API")
Quoted 24 lines
---
 include/drm/drm_connector.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_connector.h +1 -1
index 4eeda120e46d..ff428aa0953a 100644
@@ -1031,7 +1031,7 @@ void drm_connector_list_iter_end(struct drm_connector_list_iter *iter);
  *
  * Note that @connector is only valid within the list body, if you want to use
  * @connector after calling drm_connector_list_iter_end() then you need to grab
- * your own reference first using drm_connector_begin().
+ * your own reference first using drm_connector_get().
  */
 #define drm_for_each_connector_iter(connector, iter) \
 	while ((connector = drm_connector_list_iter_next(iter)))
Signature · 6 lines
2.11.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
Quoted 9 lines · Daniel Vetter
Quoted 5 lines · Gabriel Krisman Bertazi

While reading drm_for_each_connector_iter, I noticed a mention to drm_connector_begin which doesn't exist. It should be drm_connector_get.

Fixes b982dab1e66d ("drm: Rename connector list iterator API")

Hi Daniel,

Can you apply this one? I couldn't find it in drm-misc yet.

Signature · 5 lines
Gabriel Krisman Bertazi
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
Quoted 7 lines · Gabriel Krisman Bertazi
Quoted 5 lines · Daniel Vetter
Quoted 4 lines · Gabriel Krisman Bertazi

While reading drm_for_each_connector_iter, I noticed a mention to drm_connector_begin which doesn't exist. It should be drm_connector_get.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Fixes b982dab1e66d ("drm: Rename connector list iterator API")

Hi Daniel,

Can you apply this one? I couldn't find it in drm-misc yet.

Oh I thought you have commit rights, otherwise I'd have pushed it. -Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
Quoted 10 lines · Daniel Vetter
Quoted 9 lines · Gabriel Krisman Bertazi
Quoted 7 lines · Daniel Vetter
Quoted 5 lines · Gabriel Krisman Bertazi

While reading drm_for_each_connector_iter, I noticed a mention to drm_connector_begin which doesn't exist. It should be drm_connector_get.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Fixes b982dab1e66d ("drm: Rename connector list iterator API")

Hi Daniel,

Can you apply this one? I couldn't find it in drm-misc yet.

Oh I thought you have commit rights, otherwise I'd have pushed it.

Yep, I don't have commit rights yet. Thanks for pushing, Daniel.

Signature · 5 lines
Gabriel Krisman Bertazi
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel