[PATCH 6.19 237/781] drm/amd/display: Dont use kernel-doc comment in dc_register_software_state struct

Greg Kroah-Hartman
2026-02-25T01:31:16Z

From: Bagas Sanjaya <bagasdotme@gmail.com>

[ Upstream commit b1e2a6a57aa95f8192e8edb9edaecfd326745d32 ]

Sphinx reports kernel-doc warning:

WARNING: ./drivers/gpu/drm/amd/display/dc/dc.h:2796 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
* Software state variables used to program register fields across the display pipeline

Don't use kernel-doc comment syntax to fix it.

Fixes: b0ff344fe70c ("drm/amd/display: Add interface to capture expected HW state from SW state")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
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 29edfa51ea2cc..0a9758a042586 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -2793,7 +2793,7 @@ void dc_get_underflow_debug_data_for_otg(struct dc *dc, int primary_otg_inst, st

void dc_get_power_feature_status(struct dc *dc, int primary_otg_inst, struct power_features *out_data);

-/**
+/*
* Software state variables used to program register fields across the display pipeline
*/
struct dc_register_software_state {
--
2.51.0