Skip to contentSkip to conversation

staging: sm750fb: clean up sm750_hw_imageblit() kernel-doc comment

PATCH New Gabriel Changamire 1 participant 1 message Dec 2

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

PATCH v2 1/1 staging: sm750fb: clean up sm750_hw_imageblit() kernel-doc comment

The @start_bit description contains a stray ">-----" artifact -- a literal copy of an editor tab marker -- that leaves the continuation line "0 to 7" garbled. The @fg_color and @bg_color descriptions are also missing their closing parentheses.

Replace the artifact with a plain indented continuation line and close the parentheses. Comment change only; no functional change.

---
Changes in v2:
- Resend as a standalone patch; patch 2/2 of v1 (removal of unused ddk750_reg.h definitions) was dropped after review.
- Collect Acked-by from Dan Carpenter.
- Rebase onto current staging-testing.

v1: https://lore.kernel.org/all/[email protected]/

 drivers/staging/sm750fb/sm750_accel.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/sm750_accel.h +3 -3
index 6db54c6526dc..a0fda56d955e 100644
@@ -223,7 +223,7 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
  * @accel: Acceleration device data
  * @src_buf: pointer to start of source buffer in system memory
  * @start_bit: Mono data can start at any bit in a byte, this value should be
- *>-----      0 to 7
+ *             0 to 7
  * @dest_base: Address of destination: offset in frame buffer
  * @dest_pitch: Pitch value of destination surface in BYTE
  * @byte_per_pixel: Color depth of destination surface
@@ -231,8 +231,8 @@ int sm750_hw_copyarea(struct lynx_accel *accel,
  * @dy: Starting y coordinate of destination surface
  * @width: width of rectangle in pixel value
  * @height: height of rectangle in pixel value
- * @fg_color: Foreground color (corresponding to a 1 in the monochrome data
- * @bg_color: Background color (corresponding to a 0 in the monochrome data
+ * @fg_color: Foreground color (corresponding to a 1 in the monochrome data)
+ * @bg_color: Background color (corresponding to a 0 in the monochrome data)
  * @rop2: ROP value
  */
 int sm750_hw_imageblit(struct lynx_accel *accel, const char *src_buf,
Signature · 1 line
2.47.3