drm/amd/display: Fix kdoc entry for 'tps' in dc_process_dmub_dpia_set_tps_notification
Subsystems (3)
PATCH 1/1 drm/amd/display: Fix kdoc entry for 'tps' in dc_process_dmub_dpia_set_tps_notification
Correct the parameter descriptor for the function dc_process_dmub_dpia_set_tps_notification to match the actual parameters used.
Fixes the below with gcc W=1:drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:5768: warning: Function parameter or struct member 'tps' not described in 'dc_process_dmub_dpia_set_tps_notification' drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:5768: warning: Excess function parameter 'ts' description in 'dc_process_dmub_dpia_set_tps_notification'
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +1 -1
@@ -5760,7 +5760,7 @@ enum dc_status dc_process_dmub_set_mst_slots(const struct dc *dc,* * @dc: [in] dc structure * @link_index: [in] link index -* @ts: [in] request tps +* @tps: [in] request tps * * Submits set_tps_notification command to dmub via inbox message */
Signature · 1 line
2.34.1
Quoted 33 lines · Srinivasan Shanmugam
Correct the parameter descriptor for the function
dc_process_dmub_dpia_set_tps_notificationto match the actual parameters used.Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:5768: warning: Function parameter or struct member 'tps' not described in 'dc_process_dmub_dpia_set_tps_notification'drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:5768: warning: Excess function parameter 'ts' description in 'dc_process_dmub_dpia_set_tps_notification'Cc Tom Chung <[email protected]>Cc Rodrigo Siqueira <[email protected]>Cc Roman Li <[email protected]>Cc Alex Hung <[email protected]>Cc Aurabindo Pillai <[email protected]>Cc Harry Wentland <[email protected]>Cc Hamza Mahfooz <[email protected]>Signed-off-by Srinivasan Shanmugam <[email protected]>--- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/core/dc.c +1
-1@@ -5760,7 +5760,7 @@ enum dc_status dc_process_dmub_set_mst_slots(const struct dc *dc,* * @dc: [in] dc structure * @link_index: [in] link index -* @ts: [in] request tps +* @tps: [in] request tps * * Submits set_tps_notification command to dmub via inbox message */