drm: todo: Avoid accidental crossreferences
Subsystems (3)
PATCH 1/1 drm: todo: Avoid accidental crossreferences
From: Thierry Reding <[email protected]>
RST uses underscores at the end of words to create crossreferences and it will accidentally try to link to tinydrm_ and drm_fb_ targets from the TODO, which is clearly not the intention in this context.
Use backslashes to escape the special meaning of the underscore.
--- Documentation/gpu/todo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/gpu/todo.rst +2 -2
@@ -108,8 +108,8 @@ This would be especially useful for tinydrm: crtc state, clear that to the max values, x/y = 0 and w/h = MAX_INT, in __drm_atomic_helper_crtc_duplicate_state(). -- Move tinydrm_merge_clips into drm_framebuffer.c, dropping the tinydrm_ - prefix ofc and using drm_fb_. drm_framebuffer.c makes sense since this +- Move tinydrm_merge_clips into drm_framebuffer.c, dropping the tinydrm\_ + prefix ofc and using drm_fb\_. drm_framebuffer.c makes sense since this is a function useful to implement the fb->dirty function. - Create a new drm_fb_dirty function which does essentially what e.g.
Signature · 6 lines
2.13.3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Thierry Reding
From: Thierry Reding <[email protected]>
RST uses underscores at the end of words to create crossreferences and it will accidentally try to link to
tinydrm_anddrm_fb_targets from the TODO, which is clearly not the intention in this context.Use backslashes to escape the special meaning of the underscore.
Yeah that's one of the things where rst gets a bit in the way of just plain text. Another one is * at the end ...
Quoted 28 lines
Signed-off-by Thierry Reding <[email protected]>--- Documentation/gpu/todo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/gpu/todo.rst +2
-2@@ -108,8 +108,8 @@ This would be especially useful for tinydrm: crtc state, clear that to the max values, x/y = 0 and w/h = MAX_INT, in __drm_atomic_helper_crtc_duplicate_state(). -- Move tinydrm_merge_clips into drm_framebuffer.c, dropping the tinydrm_ - prefix ofc and using drm_fb_. drm_framebuffer.c makes sense since this +- Move tinydrm_merge_clips into drm_framebuffer.c, dropping the tinydrm\_ + prefix ofc and using drm_fb\_. drm_framebuffer.c makes sense since this is a function useful to implement the fb->dirty function. - Create a new drm_fb_dirty function which does essentially what e.g.Signature · 6 lines
2.13.3 _______________________________________________ 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
Thierry Reding
AppliedQuoted 7 lines · Daniel Vetter
Quoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
RST uses underscores at the end of words to create crossreferences and it will accidentally try to link to
tinydrm_anddrm_fb_targets from the TODO, which is clearly not the intention in this context.
Quoted 6 lines
Quoted 1 line
Use backslashes to escape the special meaning of the underscore.
Yeah that's one of the things where rst gets a bit in the way of just plain text. Another one is * at the end ...
Reviewed-by Daniel Vetter <[email protected]>
Applied, thanks.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Daniel Vetter
Quoted 7 lines · Thierry Reding
From: Thierry Reding <[email protected]>
RST uses underscores at the end of words to create crossreferences and it will accidentally try to link to
tinydrm_anddrm_fb_targets from the TODO, which is clearly not the intention in this context.Use backslashes to escape the special meaning of the underscore.
Yeah that's one of the things where rst gets a bit in the way of just plain text. Another one is * at the end ...
Arguably it would be reasonable to quote prefixes even in plain text. For example, reference the "tinydrm_" prefix.
BR,
Jani.
Quoted 31 lines
Reviewed-by Daniel Vetter <[email protected]>Quoted 28 lines
Signed-off-by Thierry Reding <[email protected]>--- Documentation/gpu/todo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/gpu/todo.rst +2
-2@@ -108,8 +108,8 @@ This would be especially useful for tinydrm: crtc state, clear that to the max values, x/y = 0 and w/h = MAX_INT, in __drm_atomic_helper_crtc_duplicate_state(). -- Move tinydrm_merge_clips into drm_framebuffer.c, dropping the tinydrm_ - prefix ofc and using drm_fb_. drm_framebuffer.c makes sense since this +- Move tinydrm_merge_clips into drm_framebuffer.c, dropping the tinydrm\_ + prefix ofc and using drm_fb\_. drm_framebuffer.c makes sense since this is a function useful to implement the fb->dirty function. - Create a new drm_fb_dirty function which does essentially what e.g.Signature · 6 lines
2.13.3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel