Re: [PATCH 4/6] staging: sm750fb: rename `dPitch` parameter

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


On Tue, May 27, 2025 at 10:11:26AM -0700, Eric Florin wrote:
> Rename `dPitch` to `d_pitch` in `sm750_hw_copyarea` to conform with
> kernel style guidelines as reported by checkpatch.pl
>
> CHECK: Avoid CamelCase: <dPitch>
>
> 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 e5f1f021768b..ea64e10d4814 100644
> --- a/drivers/staging/sm750fb/sm750_accel.c
> +++ b/drivers/staging/sm750fb/sm750_accel.c
> @@ -137,7 +137,7 @@ int sm750_hw_fillrect(struct lynx_accel *accel,
> * @sx: Starting x coordinate of source surface
> * @sy: Starting y coordinate of source surface
> * @d_base: Address of destination: offset in frame buffer
> - * @dPitch: Pitch value of destination surface in BYTE
> + * @d_pitch: Pitch value of destination surface in BYTE

"dest_pitch"?