[PATCH] fbdev: imsttfb: convert comma to semicolon

Subsystems: framebuffer layer, ims twinturbo framebuffer driver, the rest

STALE741d

2 messages, 2 authors, 2024-09-02 · open the first message on its own page

[PATCH] fbdev: imsttfb: convert comma to semicolon

From: Chen Ni <hidden>
Date: 2024-09-02 08:48:14

Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <redacted>
---
 drivers/video/fbdev/imsttfb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/fbdev/imsttfb.c b/drivers/video/fbdev/imsttfb.c
index 660499260f46..dc4e659e06af 100644
--- a/drivers/video/fbdev/imsttfb.c
+++ b/drivers/video/fbdev/imsttfb.c
@@ -995,7 +995,7 @@ imsttfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
 	bgc |= (bgc << 8);
 	bgc |= (bgc << 16);
 
-	Bpp = info->var.bits_per_pixel >> 3,
+	Bpp = info->var.bits_per_pixel >> 3;
 	line_pitch = info->fix.line_length;
 
 	dy = rect->dy * line_pitch;
@@ -1036,7 +1036,7 @@ imsttfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
 	__u32 Bpp, line_pitch, fb_offset_old, fb_offset_new, sp, dp_octl;
  	__u32 cnt, bltctl, sx, sy, dx, dy, height, width;
 
-	Bpp = info->var.bits_per_pixel >> 3,
+	Bpp = info->var.bits_per_pixel >> 3;
 
 	sx = area->sx * Bpp;
 	sy = area->sy;
-- 
2.25.1

Re: [PATCH] fbdev: imsttfb: convert comma to semicolon

From: Helge Deller <deller@gmx.de>
Date: 2024-09-02 11:57:12

On 9/2/24 10:47, Chen Ni wrote:
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <redacted>
I've applied your 3 comma-to-semicolon patches to the fbdev git tree.

Thanks!
Helge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help