Skip to content

Commit 1bdeb32

Browse files
Yang LiAbhinav Kumar
authored andcommitted
drm/msm/dpu: Fix some kernel-doc comments
Make the description of @init to @p in dpu_encoder_phys_wb_init() and remove @wb_roi in dpu_encoder_phys_wb_setup_fb() to clear the below warnings: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:139: warning: Excess function parameter 'wb_roi' description in 'dpu_encoder_phys_wb_setup_fb' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:699: warning: Function parameter or member 'p' not described in 'dpu_encoder_phys_wb_init' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:699: warning: Excess function parameter 'init' description in 'dpu_encoder_phys_wb_init' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3067 Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Fixes: d7d0e73 ("drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback") Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/511605/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent 8d1d17d commit 1bdeb32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ static void dpu_encoder_phys_wb_set_qos(struct dpu_encoder_phys *phys_enc)
132132
* dpu_encoder_phys_wb_setup_fb - setup output framebuffer
133133
* @phys_enc: Pointer to physical encoder
134134
* @fb: Pointer to output framebuffer
135-
* @wb_roi: Pointer to output region of interest
136135
*/
137136
static void dpu_encoder_phys_wb_setup_fb(struct dpu_encoder_phys *phys_enc,
138137
struct drm_framebuffer *fb)
@@ -692,7 +691,7 @@ static void dpu_encoder_phys_wb_init_ops(struct dpu_encoder_phys_ops *ops)
692691

693692
/**
694693
* dpu_encoder_phys_wb_init - initialize writeback encoder
695-
* @init: Pointer to init info structure with initialization params
694+
* @p: Pointer to init info structure with initialization params
696695
*/
697696
struct dpu_encoder_phys *dpu_encoder_phys_wb_init(
698697
struct dpu_enc_phys_init_params *p)

0 commit comments

Comments
 (0)