On Thu, Apr 20, 2017 at 09:38:19PM -0300, Gabriel Krisman Bertazi wrote:
> 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.
>
> Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Fixes: b982dab1e66d ("drm: Rename connector list iterator API")
Reviewed-by: Daniel Vetter <[email protected]>
> ---
> include/drm/drm_connector.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
> index 4eeda120e46d..ff428aa0953a 100644
> --- a/include/drm/drm_connector.h
> +++ b/include/drm/drm_connector.h
> @@ -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)))
> --
> 2.11.0
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel