mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/format_helper: fix a kernel-doc typo
@ 2022-04-03 23:29 Randy Dunlap
  2022-04-04  8:45 ` Simon Ser
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Randy Dunlap @ 2022-04-03 23:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, David Airlie, Daniel Vetter, dri-devel,
	Javier Martinez Canillas, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann

It looks like the incorrect name of a function parameter was used
in the kernel-doc notation, so just change it to the function's
parameter name to quell the kernel-doc warning.

drivers/gpu/drm/drm_format_helper.c:640: warning: Function parameter or member 'vaddr' not described in 'drm_fb_xrgb8888_to_mono_reversed'
drivers/gpu/drm/drm_format_helper.c:640: warning: Excess function parameter 'src' description in 'drm_fb_xrgb8888_to_mono_reversed'

Fixes: bcf8b616deb8 ("drm/format-helper: Add drm_fb_xrgb8888_to_mono_reversed()")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
CC: Maxime Ripard <mripard@kernel.org>
CC: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/drm_format_helper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20220401.orig/drivers/gpu/drm/drm_format_helper.c
+++ linux-next-20220401/drivers/gpu/drm/drm_format_helper.c
@@ -624,7 +624,7 @@ static void drm_fb_gray8_to_mono_reverse
  * drm_fb_xrgb8888_to_mono_reversed - Convert XRGB8888 to reversed monochrome
  * @dst: reversed monochrome destination buffer
  * @dst_pitch: Number of bytes between two consecutive scanlines within dst
- * @src: XRGB8888 source buffer
+ * @vaddr: XRGB8888 source buffer
  * @fb: DRM framebuffer
  * @clip: Clip rectangle area to copy
  *

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-04-06  0:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 23:29 [PATCH] drm/format_helper: fix a kernel-doc typo Randy Dunlap
2022-04-04  8:45 ` Simon Ser
2022-04-04 15:51 ` Javier Martinez Canillas
2022-04-04 16:04 ` Simon Ser
2022-04-04 21:35   ` Randy Dunlap
2022-04-05  6:12     ` Simon Ser
2022-04-05  6:26       ` Javier Martinez Canillas
2022-04-05 14:39         ` Randy Dunlap
2022-04-05 15:05           ` Simon Ser
2022-04-05 17:58             ` Randy Dunlap
2022-04-05 18:47               ` Simon Ser
2022-04-05 19:06                 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®