Skip to contentSkip to conversation

drm/panic: Fix the get_scanoutbuffer reference in kernel-doc

PATCH New Karl Mehltretter 1 participant 1 message Sep 12

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panic: Fix the get_scanoutbuffer reference in kernel-doc

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
---
 include/drm/drm_panic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_panic.h +1 -1
index ac0e46b73436e9907326de29c393da3024876dc2..2a849c07eb72f6deb0ca28fbfeffff64cacf1b3b 100644
@@ -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;
Signature · 1 line
2.39.5 (Apple Git-154)