[PATCH] drm/panic: Fix the get_scanoutbuffer reference in kernel-doc
From: Karl Mehltretter
Date: Sat Sep 12 2026 - 01:54:26 EST
A kernel-doc comment refers to get_scanoutbuffer, which does not exist.
The name is get_scanout_buffer. Say get_scanout_buffer.
Fixes: c9ff2808790f ("drm/panic: Add support to scanout buffer as array of pages")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
---
include/drm/drm_panic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_panic.h b/include/drm/drm_panic.h
index ac0e46b73436e9907326de29c393da3024876dc2..2a849c07eb72f6deb0ca28fbfeffff64cacf1b3b 100644
--- a/include/drm/drm_panic.h
+++ b/include/drm/drm_panic.h
@@ -44,7 +44,7 @@ struct drm_scanout_buffer {
* to the array of pages of the scanout buffer. The panic code will use
* kmap_local_page_try_from_panic() to map one page at a time to write
* all the pixels. This array shouldn't be allocated from the
- * get_scanoutbuffer() callback.
+ * get_scanout_buffer() callback.
* The scanout buffer should be in linear format.
*/
struct page **pages;
--
2.39.5 (Apple Git-154)