[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bf5aeded-3bb1-4535-ba84-f81e425b5734@suswa.mountain>
Date: Mon, 30 Jun 2025 19:07:38 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Manish Kumar <manish1588@...il.com>
Cc: sudipm.mukherjee@...il.com, teddy.wang@...iconmotion.com,
gregkh@...uxfoundation.org, linux-fbdev@...r.kernel.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: sm750fb: fix all checkpatch warnings in .c and
.h files
On Sat, Jun 28, 2025 at 01:53:05PM +0530, Manish Kumar wrote:
> This patch resolves all checkpatch.pl --strict warnings in the
> sm750fb driver source files, including both C and header files.
>
> Changes include:
> - Replacing CamelCase identifiers with snake_case
> - Avoiding chained assignments
> - Fixing indentation, spacing, and alignment issues
> - Updating function declarations and comment styles
> - Making code conform to kernel coding style
>
> No functional changes.
>
> Signed-off-by: Manish Kumar <manish1588@...il.com>
> ---
> drivers/staging/sm750fb/sm750.c | 90 ++++++++++---------
> drivers/staging/sm750fb/sm750.h | 32 +++----
> drivers/staging/sm750fb/sm750_accel.c | 120 +++++++++++++-------------
> drivers/staging/sm750fb/sm750_hw.c | 24 +++---
> 4 files changed, 135 insertions(+), 131 deletions(-)
>
> diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
> index e77ad73f0db1..8794195a9594 100644
> --- a/drivers/staging/sm750fb/sm750.c
> +++ b/drivers/staging/sm750fb/sm750.c
> @@ -33,7 +33,7 @@
> static int g_hwcursor = 1;
> static int g_noaccel;
> static int g_nomtrr;
> -static const char * const g_fbmode[] = {NULL, NULL};
> +static const char *g_fbmode[] = {NULL, NULL};
You're removing a patch which we never applied. Start from a fresh
tree.
regards,
dan carpenter
Powered by blists - more mailing lists