[PATCH] drm/amd/display: fix documentation warning

Harry Wentland harry.wentland at amd.com
Tue Oct 25 14:29:12 UTC 2022


On 2022-10-24 13:10, Alex Deucher wrote:
> build htmldocs produced this warning:
> drivers/gpu/drm/amd/display/dc/dc.h:1275: warning: cannot understand function prototype: 'struct dc_validation_set '
> The word "struct" was left out of the comment.
> 
> Fixes: f4a59996c408 ("drm/amd/display: Include surface of unaffected streams")
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Cc: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index bd7a896fab49..e4e41f2e5054 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -1269,7 +1269,7 @@ void dc_post_update_surfaces_to_stream(
>  #include "dc_stream.h"
>  
>  /**
> - * dc_validation_set - Struct to store surface/stream associations for validation
> + * struct dc_validation_set - Struct to store surface/stream associations for validation
>   */
>  struct dc_validation_set {
>  	/**



More information about the amd-gfx mailing list