Skip to content

Commit 5289ed1

Browse files
author
Jocelyn Falempe
committed
drm/fb_dma: Fix parameter name in htmldocs
The parameter name is 'sb' and not 'drm_scanout_buffer'. It fixes the following warnings: drivers/gpu/drm/drm_fb_dma_helper.c:166: warning: Excess function parameter 'drm_scanout_buffer' description in 'drm_fb_dma_get_scanout_buffer' drivers/gpu/drm/drm_fb_dma_helper.c:166: warning: Function parameter or struct member 'sb' not described in 'drm_fb_dma_get_scanout_buffer' drivers/gpu/drm/drm_fb_dma_helper.c:166: warning: Excess function parameter 'drm_scanout_buffer' description in 'drm_fb_dma_get_scanout_buffer' Fixes: 879b3b6 ("drm/fb_dma: Add generic get_scanout_buffer() for drm_panic") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240416090601.237286-1-jfalempe@redhat.com
1 parent a665b4e commit 5289ed1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/drm_fb_dma_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ EXPORT_SYMBOL_GPL(drm_fb_dma_sync_non_coherent);
153153
/**
154154
* drm_fb_dma_get_scanout_buffer - Provide a scanout buffer in case of panic
155155
* @plane: DRM primary plane
156-
* @drm_scanout_buffer: scanout buffer for the panic handler
156+
* @sb: scanout buffer for the panic handler
157157
* Returns: 0 or negative error code
158158
*
159159
* Generic get_scanout_buffer() implementation, for drivers that uses the

0 commit comments

Comments
 (0)