drm/dp: Fix documentation warning
PATCH 1/1 drm/dp: Fix documentation warning
It fixes the following warnings when
the kernel documentation is generated:
./include/drm/display/drm_dp_helper.h:126:
warning: Function parameter or struct member
'mode' not described in 'drm_dp_as_sdp'
./include/drm/display/drm_dp_helper.h:126:
warning: Excess struct member 'operation_mode' description in 'drm_dp_as_sdp'
---
Changes:
This documentation comment should refer to the name of the variable to solve the warnings. As operation_mode is the name of the enum, and the declared variable name is mode.
Thank you.
include/drm/display/drm_dp_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/display/drm_dp_helper.h +1 -1
@@ -112,7 +112,7 @@ struct drm_dp_vsc_sdp {* @target_rr: Target Refresh * @duration_incr_ms: Successive frame duration increase * @duration_decr_ms: Successive frame duration decrease -* @operation_mode: Adaptive Sync Operation Mode +* @mode: Adaptive Sync Operation Mode */ struct drm_dp_as_sdp {unsigned char sdp_type;
Signature · 1 line
2.34.1
Quoted 18 lines · MarileneGarcia
It fixes the following warnings when
the kernel documentation is generated:
./include/drm/display/drm_dp_helper.h:126:
warning: Function parameter or struct member
'mode' not described in 'drm_dp_as_sdp'
./include/drm/display/drm_dp_helper.h:126:
warning: Excess struct member 'operation_mode' description in 'drm_dp_as_sdp'Signed-off-by MarileneGarcia <[email protected]>---
Changes:
This documentation comment should refer to the name of the variable to solve the warnings. Asoperation_modeis the name of the enum, and the declared variable name is mode.
Quoted 5 lines
Thank you.
include/drm/display/drm_dp_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
With best wishes Dmitry
Douglas Anderson
AppliedQuoted 8 lines · MarileneGarcia
It fixes the following warnings when
the kernel documentation is generated:
./include/drm/display/drm_dp_helper.h:126:
warning: Function parameter or struct member
'mode' not described in 'drm_dp_as_sdp'[...]
Applied, thanks!
[1/1] drm/dp: Fix documentation warning
commit: c7ce956bb6d0f32ab921b6ffba1a6a834df96f21
Best regards,
Signature · 1 line
Douglas Anderson <[email protected]>