drm/fourcc: Fix the parameters name in the documentation
Subsystems (2)
PATCH 1/1 drm/fourcc: Fix the parameters name in the documentation
We introduced new functions in the commit bf39607c1614 ("drm/fourcc: Pass the format_info pointer to drm_format_plane_width/height") based on previous ones but with a slightly different prototype. However, the documentation wasn't changed to reflect that change.
--- include/drm/drm_fourcc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/drm/drm_fourcc.h +2 -2
@@ -262,7 +262,7 @@ drm_format_info_is_yuv_sampling_444(const struct drm_format_info *info)/** * drm_format_info_plane_width - width of the plane given the first plane -* @format: pixel format info +* @info: pixel format info * @width: width of the first plane * @plane: plane index *
@@ -284,7 +284,7 @@ int drm_format_info_plane_width(const struct drm_format_info *info, int width,/** * drm_format_info_plane_height - height of the plane given the first plane -* @format: pixel format info +* @info: pixel format info * @height: height of the first plane * @plane: plane index *
Signature · 6 lines
2.21.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · Maxime Ripard
We introduced new functions in the commit
bf39607c1614("drm/fourcc: Pass theformat_infopointer to drm_format_plane_width/height") based on previous ones but with a slightly different prototype. However, the documentation wasn't changed to reflect that change.Fixes bf39607c1614 ("drm/fourcc: Pass the format_info pointer to drm_format_plane_width/height")Reported-by kbuild test robot <[email protected]>Signed-off-by Maxime Ripard <[email protected]>
Quoted 33 lines
--- include/drm/drm_fourcc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/drm/drm_fourcc.h +2
-2@@ -262,7 +262,7 @@ drm_format_info_is_yuv_sampling_444(const struct drm_format_info *info)/** * drm_format_info_plane_width - width of the plane given the first plane -* @format: pixel format info +* @info: pixel format info * @width: width of the first plane * @plane: plane index * @@ -284,7 +284,7 @@ int drm_format_info_plane_width(const struct drm_format_info *info, int width,/** * drm_format_info_plane_height - height of the plane given the first plane -* @format: pixel format info +* @info: pixel format info * @height: height of the first plane * @plane: plane index * Signature · 6 lines
2.21.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
Maxime Ripard
AppliedQuoted 11 lines · Daniel Vetter
Quoted 8 lines · Maxime Ripard
We introduced new functions in the commit
bf39607c1614("drm/fourcc: Pass theformat_infopointer to drm_format_plane_width/height") based on previous ones but with a slightly different prototype. However, the documentation wasn't changed to reflect that change.Fixes bf39607c1614 ("drm/fourcc: Pass the format_info pointer to drm_format_plane_width/height")Reported-by kbuild test robot <[email protected]>Signed-off-by Maxime Ripard <[email protected]>Reviewed-by Daniel Vetter <[email protected]>
Applied, thanks!
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel