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

Alex Deucher alexander.deucher at amd.com
Mon Oct 24 17:10:22 UTC 2022


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>
---
 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 {
 	/**
-- 
2.37.3



More information about the amd-gfx mailing list