Re: [PATCH 2/6] staging: sm750fb: rename `sPitch` parameter

From: Greg KH
Date: Thu Jun 19 2025 - 11:30:00 EST


On Tue, May 27, 2025 at 10:11:24AM -0700, Eric Florin wrote:
> Rename `sPitch` to `s_pitch` in `sm750_hw_copyarea` to conform with
> kernel style guidelines as reported by checkpatch.pl
>
> CHECK: Avoid CamelCase: <sPitch>
>
> Signed-off-by: Eric Florin <ericflorin@xxxxxxxxxx>
> ---
> drivers/staging/sm750fb/sm750_accel.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c
> index 74e4be8103ac..029f5c013d91 100644
> --- a/drivers/staging/sm750fb/sm750_accel.c
> +++ b/drivers/staging/sm750fb/sm750_accel.c
> @@ -133,7 +133,7 @@ int sm750_hw_fillrect(struct lynx_accel *accel,
> * sm750_hw_copyarea
> * @accel: Acceleration device data
> * @s_base: Address of source: offset in frame buffer
> - * @sPitch: Pitch value of source surface in BYTE
> + * @s_pitch: Pitch value of source surface in BYTE

"source_pitch"?