DORMANTno replies

[PATCH] staging: sm750fb: fix kernel-doc comments in sm750_accel.h

From: Gabriel Changamire <hidden>
Date: 2026-07-28 22:40:06
Also in: linux-staging, lkml
Subsystem: staging - silicon motion sm750 frame buffer driver, staging subsystem, the rest · Maintainers: Sudip Mukherjee, Teddy Wang, Sudip Mukherjee, Greg Kroah-Hartman, Linus Torvalds

Fix the function name typo in the kernel-doc comment for
sm750_hw_copyarea() (sm750_hm_copyarea) and add the missing @accel
parameter descriptions for sm750_hw_copyarea() and
sm750_hw_imageblit(), using the same wording as the corresponding
comments in sm750_accel.c.

This silences the kernel-doc warnings about the mismatched function
name and the undescribed accel parameters. No functional change.

Signed-off-by: Gabriel Changamire <redacted>
---
 drivers/staging/sm750fb/sm750_accel.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750_accel.h b/drivers/staging/sm750fb/sm750_accel.h
index 617885431661..e76928bf260f 100644
--- a/drivers/staging/sm750fb/sm750_accel.h
+++ b/drivers/staging/sm750fb/sm750_accel.h
@@ -195,7 +195,8 @@ int sm750_hw_fillrect(struct lynx_accel *accel,
 		      u32 color, u32 rop);
 
 /**
- * sm750_hm_copyarea
+ * sm750_hw_copyarea
+ * @accel: Acceleration device data
  * @source_base: Address of source: offset in frame buffer
  * @source_pitch: Pitch value of source surface in BYTE
  * @sx: Starting x coordinate of source surface
@@ -219,6 +220,7 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
 
 /**
  * sm750_hw_imageblit
+ * @accel: Acceleration device data
  * @src_buf: pointer to start of source buffer in system memory
  * @src_delta: Pitch value (in bytes) of the source buffer, +ive means top down
  *>-----      and -ive mean button up
-- 
2.47.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help