Skip to content

Commit 7793a10

Browse files
committed
drm/fourcc: Fix the parameters name in the documentation
We introduced new functions in the commit bf39607 ("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. Fixes: bf39607 ("drm/fourcc: Pass the format_info pointer to drm_format_plane_width/height") Reported-by: kbuild test robot <lkp@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190521110906.15268-1-maxime.ripard@bootlin.com
1 parent 201713b commit 7793a10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/drm/drm_fourcc.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ drm_format_info_is_yuv_sampling_444(const struct drm_format_info *info)
262262

263263
/**
264264
* drm_format_info_plane_width - width of the plane given the first plane
265-
* @format: pixel format info
265+
* @info: pixel format info
266266
* @width: width of the first plane
267267
* @plane: plane index
268268
*
@@ -284,7 +284,7 @@ int drm_format_info_plane_width(const struct drm_format_info *info, int width,
284284

285285
/**
286286
* drm_format_info_plane_height - height of the plane given the first plane
287-
* @format: pixel format info
287+
* @info: pixel format info
288288
* @height: height of the first plane
289289
* @plane: plane index
290290
*

0 commit comments

Comments
 (0)