Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] staging: sm750fb: Fix alignment in sm750_hw_cursor_set_size call
@ 2025-12-04 15:01 Karthikeya
  2025-12-17 13:02 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Karthikeya @ 2025-12-04 15:01 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh
  Cc: linux-fbdev, linux-staging, linux-kernel, Karthikeya

Align the arguments of the sm750_hw_cursor_set_size function call
with the opening parenthesis.

This fixes a checkpatch.pl CHECK warning:
'Alignment should match open parenthesis'

Signed-off-by: Karthikeya <garagakarthikeya2007@gmail.com>
---
 drivers/staging/sm750fb/sm750.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 3659af7e5..9740f2705 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -121,8 +121,8 @@ 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,
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: sm750fb: Fix alignment in sm750_hw_cursor_set_size call
  2025-12-04 15:01 [PATCH] staging: sm750fb: Fix alignment in sm750_hw_cursor_set_size call Karthikeya
@ 2025-12-17 13:02 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-12-17 13:02 UTC (permalink / raw)
  To: Karthikeya
  Cc: sudipm.mukherjee, teddy.wang, linux-fbdev, linux-staging,
	linux-kernel

On Thu, Dec 04, 2025 at 08:31:26PM +0530, Karthikeya wrote:
> Align the arguments of the sm750_hw_cursor_set_size function call
> with the opening parenthesis.
> 
> This fixes a checkpatch.pl CHECK warning:
> 'Alignment should match open parenthesis'
> 
> Signed-off-by: Karthikeya <garagakarthikeya2007@gmail.com>
> ---
>  drivers/staging/sm750fb/sm750.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
> index 3659af7e5..9740f2705 100644
> --- a/drivers/staging/sm750fb/sm750.c
> +++ b/drivers/staging/sm750fb/sm750.c
> @@ -121,8 +121,8 @@ 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,
> -- 
> 2.52.0
> 

Does not apply at all to the latest kernel tree :(

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-17 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 15:01 [PATCH] staging: sm750fb: Fix alignment in sm750_hw_cursor_set_size call Karthikeya
2025-12-17 13:02 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox