Thread (18 messages) 18 messages, 4 authors, 2023-05-05

Re: [v4,1/6] fbdev/matrox: Remove trailing whitespaces

From: Sui Jingfeng <hidden>
Date: 2023-05-04 11:26:07
Also in: dri-devel, linux-arch, linux-m68k, lkml, loongarch, sparclinux

Reviewed-by: Sui Jingfeng <redacted>

Tested-by: Sui Jingfeng <redacted>


On 2023/5/4 15:45, Thomas Zimmermann wrote:
quoted hunk ↗ jump to hunk
Fix coding style. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <redacted>
---
  drivers/video/fbdev/matrox/matroxfb_accel.c | 6 +++---
  drivers/video/fbdev/matrox/matroxfb_base.h  | 4 ++--
  2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/video/fbdev/matrox/matroxfb_accel.c b/drivers/video/fbdev/matrox/matroxfb_accel.c
index 9cb0685feddd..ce51227798a1 100644
--- a/drivers/video/fbdev/matrox/matroxfb_accel.c
+++ b/drivers/video/fbdev/matrox/matroxfb_accel.c
@@ -88,7 +88,7 @@
  
  static inline void matrox_cfb4_pal(u_int32_t* pal) {
  	unsigned int i;
-	
+
  	for (i = 0; i < 16; i++) {
  		pal[i] = i * 0x11111111U;
  	}
@@ -96,7 +96,7 @@ static inline void matrox_cfb4_pal(u_int32_t* pal) {
  
  static inline void matrox_cfb8_pal(u_int32_t* pal) {
  	unsigned int i;
-	
+
  	for (i = 0; i < 16; i++) {
  		pal[i] = i * 0x01010101U;
  	}
@@ -482,7 +482,7 @@ static void matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx,
  			/* Tell... well, why bother... */
  			while (height--) {
  				size_t i;
-				
+
  				for (i = 0; i < step; i += 4) {
  					/* Hope that there are at least three readable bytes beyond the end of bitmap */
  					fb_writel(get_unaligned((u_int32_t*)(chardata + i)),mmio.vaddr);
diff --git a/drivers/video/fbdev/matrox/matroxfb_base.h b/drivers/video/fbdev/matrox/matroxfb_base.h
index 958be6805f87..c93c69bbcd57 100644
--- a/drivers/video/fbdev/matrox/matroxfb_base.h
+++ b/drivers/video/fbdev/matrox/matroxfb_base.h
@@ -301,9 +301,9 @@ struct matrox_altout {
  	int		(*verifymode)(void* altout_dev, u_int32_t mode);
  	int		(*getqueryctrl)(void* altout_dev,
  					struct v4l2_queryctrl* ctrl);
-	int		(*getctrl)(void* altout_dev,
+	int		(*getctrl)(void *altout_dev,
  				   struct v4l2_control* ctrl);
-	int		(*setctrl)(void* altout_dev,
+	int		(*setctrl)(void *altout_dev,
  				   struct v4l2_control* ctrl);
  };
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help