Re: [PATCH] drm/panel: fix kernel-doc warning for devm_drm_panel_add()

From: neil . armstrong

Date: Thu May 21 2026 - 09:22:51 EST


On 5/21/26 11:45, Dongyang Jin wrote:
Use the correct kernel-doc notation for struct members to eliminate
kernel-doc warnings:

Warning: drivers/gpu/drm/drm_panel.c:119 function parameter 'dev'
not described in 'devm_drm_panel_add'
Warning: drivers/gpu/drm/drm_panel.c:119 function parameter 'dev'
not described in 'devm_drm_panel_add'

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202605210648.RI4ufD66-lkp@xxxxxxxxx/
Signed-off-by: Dongyang Jin <jindongyang@xxxxxxxxxx>
---
drivers/gpu/drm/drm_panel.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c
index 04f4a31ed27a..2c5649e433df 100644
--- a/drivers/gpu/drm/drm_panel.c
+++ b/drivers/gpu/drm/drm_panel.c
@@ -108,6 +108,7 @@ static void drm_panel_add_release(void *data)
/**
* devm_drm_panel_add - add a panel to the global registry using devres
+ * @dev: device to which the panel is attached
* @panel: panel to add
*
* Add a panel to the global registry so that it can be looked

Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>

Thanks,
Neil