From nobody Sat Jul 25 03:46:04 2026 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4DEADF6C for ; Sun, 19 Jul 2026 06:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784443606; cv=none; b=hS24iiAREdlTgO0JT7QkbtRYtAiOi6Wv3i5W5/tW84ydbngXuorPuOh+pkW/rF1Wwlaa46tqj8dxOcizpK6wJ983Ax7qZZZTg9tYdW0qUJXYOtOY7PFy6HCQ44G1Me8crb6o8JS31H6mTWWPeCv344hYa+e0SF2oqx5mDSUatrk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784443606; c=relaxed/simple; bh=fnnC+vlyEjUrD9X16zPRa2oHzbXWLC7N3ScazD4URT8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H/knVuX4ojbYEg8OEM37n4m5XBnLqUpBuXFeecUI5spEAlBvbPq9gQ0RNj/p6UCLOmjhiE8xF2qwMwaJPoKEmP59N6iYWVYbonKE0gW6jRxtLdEns3D/LFT8rZMEkgBvnUOax+3+PwRkgKCO+ZLhc+MmrFw3SBbMwHc86tE1IyQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=sd7ruUKU; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sd7ruUKU" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2cf41bab353so20480135ad.0 for ; Sat, 18 Jul 2026 23:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784443603; x=1785048403; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=X9y4maNSu9c0ZLymsFbxk/rrYyHzr8mr1Czws/Zz3XA=; b=sd7ruUKUSkubLsvEylGVaB1WszSbP5pYrymsvTguYBZMjUirteVp82QXM4wVgiUVtR exHiGJaE9Q9+y1duha2CIG9ZBcEmciuFwo60QUUyqg63uiQVXRT98g3sGPkFu7jyWIBM DfTZ3CLGR3ksl5Rlm5HKvmgIbmM5gqeW0e7Uz2YHaHWgewvVVF23djyrQqQydG0bKoGS o5jMjm/Any0MxPYPyyKYXk0LkU4wVS4S9QoVoWY3jPfgd7gQeKTgmQP6qicR+xGB6fd7 g6+dHMOKPExobE/hcF3myUVzYjFuVSGLO/sh7XLtwku8SkuzklOaDQYdM7bUnIbk+3kU 8CCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784443603; x=1785048403; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=X9y4maNSu9c0ZLymsFbxk/rrYyHzr8mr1Czws/Zz3XA=; b=PmtzKEurNVKq3ViOlMv5DzOsm677g7L9BNuqo6hDl6wqiEyl1FJpUBlgyMVDUnm9eq RkPkTDaD1dmegnb5YDbY4lywCQqbMwPDIFWkfGbBjpwdpiVqYPpdjxObfRZgXbry4JKP 82SaIZPzvNXWxHeIrqiKwtsIdSIPs+KbeN03PnbUm6F3BwIY9GZxbA0bR2HJV7xppa9b ux3fmXVr6JcRjeKDZii1GmOkx6+j30/9k1HW5wxbRXSN7bYpV+qS/04ex+HH1piPYDNt QlvcyMClj1EMTheQqPCa/PPBRtDKMX2AJEGBMCfAoNYHsy7Cc2HPy1iBNvf135KciBiT Ih3Q== X-Forwarded-Encrypted: i=1; AHgh+Rrt9mdcy8MmR/A0soI0pXAOWDRR4ub0qxgg4fT/WkAPN6GvBHpKA5zp4gxHgi2JvElYLkROkCbzO9Ycjmo=@vger.kernel.org X-Gm-Message-State: AOJu0YwLTIYZYptdlWZh+TVSxkpMeDRrEIOD2MKuGVV8rXd/eav4s5PR XQHDKJy1pi168T5spSv91CpHw8Nz2dvBl6ej0k9GtkrejKYOb9M+0FOh X-Gm-Gg: AfdE7ckQPe6V/gDKpT8+RGZkSdtnZpLe35dcJOqVrmVxk+cSbonzA80ifYpwLXH8Kym 8Q8Wy6a7F2zng7hJCQgEK61+UzEt7LSKlY9qT9PMEwZBL/nyTIyb2ZLk6vGw7oR/7UfwAY+St0O Bs3z4m3Gte1Wr6P93Pl9meYq/l/irzme8GBQo8yWHMOexrolTbto65NX7uLzIEQ9bqHEVfXIrPj 7Uc+fyzMed281DHJu1cdjEWLBdCKM6sXtuAZDRrop3/ynzMNS5IpF15lSbaxwFGorh24cXbmK36 EA40uim5dJ6RdbH7CLVSPN6cFc70fcU5pEb3rQdOVcusYnbA2nsogoiX0Oik6zlsCvXE9L8K0nV CIFb5ec4k3FTSZSVWhJesTz2LvmM65UlWumyT+g3IFPz6ChV63h1//alduzPMoLKn5Cz47xYNC7 zVkamZ7I/aqpstPeJpXYPKaFeixzh8tb2DKBxTuT8VMsJG2Xyi490ynwOpSYJ4t/4hIxSClTjeb pR0oHCuFd7ZNzsdCjujXhD0KomlaMLQT8W5QyP4XOeHPcXbk1Q6IKE8 X-Received: by 2002:a17:903:2a8b:b0:2c2:bd0d:3cf0 with SMTP id d9443c01a7336-2cf3497f5dfmr105825405ad.25.1784443603113; Sat, 18 Jul 2026 23:46:43 -0700 (PDT) Received: from localhost.localdomain (c-67-170-60-64.hsd1.wa.comcast.net. [67.170.60.64]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2cf3474692asm37073735ad.70.2026.07.18.23.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 23:46:42 -0700 (PDT) From: Gabriel Changamire To: Greg Kroah-Hartman , Sudip Mukherjee , Teddy Wang Cc: linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gabriel Changamire Subject: [PATCH] staging: sm750fb: rename CamelCase parameters in sm750_accel.h Date: Sun, 19 Jul 2026 06:46:01 +0000 Message-ID: <20260719064601.12223-1-gaberashawn@gmail.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The prototypes and kernel-doc comments for sm750_hw_copyarea() and sm750_hw_imageblit() still use the old CamelCase parameter names, while the function definitions in sm750_accel.c already use snake_case. Rename the header parameters to match the definitions. Fixes 10 checkpatch "Avoid CamelCase" checks. No functional change. Signed-off-by: Gabriel Changamire --- drivers/staging/sm750fb/sm750_accel.h | 36 +++++++++++++-------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_accel.h b/drivers/staging/sm750f= b/sm750_accel.h index d15a40cacb84..3d3d93d4b308 100644 --- a/drivers/staging/sm750fb/sm750_accel.h +++ b/drivers/staging/sm750fb/sm750_accel.h @@ -196,12 +196,12 @@ int sm750_hw_fillrect(struct lynx_accel *accel, =20 /** * sm750_hm_copyarea - * @sBase: Address of source: offset in frame buffer - * @sPitch: Pitch value of source surface in BYTE + * @source_base: Address of source: offset in frame buffer + * @source_pitch: Pitch value of source surface in BYTE * @sx: Starting x coordinate of source surface * @sy: Starting y coordinate of source surface - * @dBase: Address of destination: offset in frame buffer - * @dPitch: Pitch value of destination surface in BYTE + * @dest_base: Address of destination: offset in frame buffer + * @dest_pitch: Pitch value of destination surface in BYTE * @bpp: Color depth of destination surface * @dx: Starting x coordinate of destination surface * @dy: Starting y coordinate of destination surface @@ -210,34 +210,34 @@ int sm750_hw_fillrect(struct lynx_accel *accel, * @rop2: ROP value */ int sm750_hw_copyarea(struct lynx_accel *accel, - unsigned int sBase, unsigned int sPitch, + unsigned int source_base, unsigned int source_pitch, unsigned int sx, unsigned int sy, - unsigned int dBase, unsigned int dPitch, + unsigned int dest_base, unsigned int dest_pitch, unsigned int bpp, unsigned int dx, unsigned int dy, unsigned int width, unsigned int height, unsigned int rop2); =20 /** * sm750_hw_imageblit - * @pSrcbuf: pointer to start of source buffer in system memory - * @srcDelta: Pitch value (in bytes) of the source buffer, +ive means top = down + * @src_buf: pointer to start of source buffer in system memory + * @src_delta: Pitch value (in bytes) of the source buffer, +ive means top= down *>----- and -ive mean button up - * @startBit: Mono data can start at any bit in a byte, this value should = be + * @start_bit: Mono data can start at any bit in a byte, this value should= be *>----- 0 to 7 - * @dBase: Address of destination: offset in frame buffer - * @dPitch: Pitch value of destination surface in BYTE - * @bytePerPixel: Color depth of destination surface + * @dest_base: Address of destination: offset in frame buffer + * @dest_pitch: Pitch value of destination surface in BYTE + * @byte_per_pixel: Color depth of destination surface * @dx: Starting x coordinate of destination surface * @dy: Starting y coordinate of destination surface * @width: width of rectangle in pixel value * @height: height of rectangle in pixel value - * @fColor: Foreground color (corresponding to a 1 in the monochrome data - * @bColor: Background color (corresponding to a 0 in the monochrome data + * @fg_color: Foreground color (corresponding to a 1 in the monochrome data + * @bg_color: Background color (corresponding to a 0 in the monochrome data * @rop2: ROP value */ -int sm750_hw_imageblit(struct lynx_accel *accel, const char *pSrcbuf, - u32 srcDelta, u32 startBit, u32 dBase, u32 dPitch, - u32 bytePerPixel, u32 dx, u32 dy, u32 width, - u32 height, u32 fColor, u32 bColor, u32 rop2); +int sm750_hw_imageblit(struct lynx_accel *accel, const char *src_buf, + u32 src_delta, u32 start_bit, u32 dest_base, u32 dest_pitch, + u32 byte_per_pixel, u32 dx, u32 dy, u32 width, + u32 height, u32 fg_color, u32 bg_color, u32 rop2); =20 #endif --=20 2.47.3