[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250716005553.52369-3-ignacio.pena87@gmail.com>
Date: Tue, 15 Jul 2025 20:55:52 -0400
From: Ignacio Peña <ignacio.pena87@...il.com>
To: dan.carpenter@...aro.org
Cc: gregkh@...uxfoundation.org,
linux-staging@...ts.linux.dev,
devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Ignacio Peña <ignacio.pena87@...il.com>
Subject: [PATCH 2/3] staging: sm750fb: Fix function parameter alignment
Align function parameters properly to fix checkpatch.pl warnings about
misaligned function arguments.
---
drivers/staging/sm750fb/sm750.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index d3bce107f..a896227ef 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -121,13 +121,13 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
sm750_hw_cursor_disable(cursor);
if (fbcursor->set & FB_CUR_SETSIZE)
sm750_hw_cursor_set_size(cursor,
- fbcursor->image.width,
- fbcursor->image.height);
+ fbcursor->image.width,
+ fbcursor->image.height);
if (fbcursor->set & FB_CUR_SETPOS)
sm750_hw_cursor_set_pos(cursor,
- fbcursor->image.dx - info->var.xoffset,
- fbcursor->image.dy - info->var.yoffset);
+ fbcursor->image.dx - info->var.xoffset,
+ fbcursor->image.dy - info->var.yoffset);
if (fbcursor->set & FB_CUR_SETCMAP) {
/* get the 16bit color of kernel means */
--
2.39.5 (Apple Git-154)
Powered by blists - more mailing lists