Skip to content

Commit 399f434

Browse files
rddunlaplumag
authored andcommitted
drm/msm/dpu: dpu_hw_dspp.h: fix all kernel-doc warnings
Correct or add kernel-doc comments to eliminate all warnings: Warning: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h:33 expecting prototype for struct dpu_hw_pcc. Prototype was for struct dpu_hw_pcc_cfg instead Warning: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h:42 Incorrect use of kernel-doc format: * setup_pcc - setup dspp pcc Warning: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h:48 struct member 'setup_pcc' not described in 'dpu_hw_dspp_ops' Warning: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h:76 expecting prototype for dpu_hw_dspp(). Prototype was for to_dpu_hw_dspp() instead Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/695652/ Link: https://lore.kernel.org/r/20251219184638.1813181-8-rdunlap@infradead.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 9d22d53 commit 399f434

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct dpu_hw_pcc_coeff {
2222
};
2323

2424
/**
25-
* struct dpu_hw_pcc - pcc feature structure
25+
* struct dpu_hw_pcc_cfg - pcc feature structure
2626
* @r: red coefficients.
2727
* @g: green coefficients.
2828
* @b: blue coefficients.
@@ -40,7 +40,7 @@ struct dpu_hw_pcc_cfg {
4040
*/
4141
struct dpu_hw_dspp_ops {
4242
/**
43-
* setup_pcc - setup dspp pcc
43+
* @setup_pcc: setup_pcc - setup dspp pcc
4444
* @ctx: Pointer to dspp context
4545
* @cfg: Pointer to configuration
4646
*/
@@ -69,7 +69,7 @@ struct dpu_hw_dspp {
6969
};
7070

7171
/**
72-
* dpu_hw_dspp - convert base object dpu_hw_base to container
72+
* to_dpu_hw_dspp - convert base object dpu_hw_base to container
7373
* @hw: Pointer to base hardware block
7474
* return: Pointer to hardware block container
7575
*/

0 commit comments

Comments
 (0)