From nobody Sat Jul 25 02:11:08 2026 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (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 730343E3159 for ; Mon, 20 Jul 2026 14:26:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784557603; cv=none; b=mXxnPwLCp5SE9Bj4KGaKUYyCXBlI77zJUgIcaXXA5hSQbGS2aaHzmft34YJUmoWtP6QmtP15U5JE0zJxk0WX+ES1WX1d7ZBoBhPuoofuPfKLOvM0kYVg70z3c5/oa/DNKfvKWrQAZ3/fr6njryO/eKRwffEqH+sRBDtSPNTysSQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784557603; c=relaxed/simple; bh=p/jPcTmkeeX77iSaCsL7N9400sQYSGpluXtQkUOG47c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lvb/rLxbI1vWRvlLuCc5hyi0IDNJ0K7OcuTWiTj5Uv8wKr4F+h4wdKNnlDNTjwItGI1fLuLx2+eGHE6o9cbTkiwd1X2l49NRf1lQr+YBNf7k3+xTcsKoBJC6IsE7oDyJEiq03yEStzlwlcG37nNB9BTC3movnLFt1NOC7bmLfBo= 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=LbPYsl1n; arc=none smtp.client-ip=209.85.210.171 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="LbPYsl1n" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-8487b7b3fc8so10204513b3a.3 for ; Mon, 20 Jul 2026 07:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784557601; x=1785162401; 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=QpEdeGGLeSN9RZd1dNw8hRrHTwjmNFcu+OQpMNS+88Y=; b=LbPYsl1n63Jr6qhgMWoR5B3Z6O0UgO3MeYuiFXJ+zeE4Hl4L1rjoY4HTQYMRJn6364 ZBue+uqmPzHj82c5EuLaNRLu99eXFmpjbUYxNgzld7rp79xY32QzmpM571B/9R/57XIi nrkL8983Bp0wp6VwDholNtlLF0DoEFS+1LGpNfIhFXi2kf53gmeDfz3JMVYxCelsZVAD 425zmJCqpRYEcHZj43JGK2RRi6EaIOZt6Ur/kSb3CTyyIlD89JafqRWimPJifgtMe6av 5+6p53ziy/MAn0EsPlqdaryUmR23qR8YHxbTCYrqyasrCoiuLalnS/otPoS43eSvHKb5 myDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784557601; x=1785162401; 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=QpEdeGGLeSN9RZd1dNw8hRrHTwjmNFcu+OQpMNS+88Y=; b=cIYTEJ4iOjIUrC9nXwpq9tle3C33sDtuRA4zhsjkfnJNaAY/hiy+X08m3Ps1kT5B6C bNWS8wkU6tO3rU4Q4yXIiCUxtsgmIv1/4WP85ZrfhzAXrI+iQt5XIcdofkDpPf1TfwVK 6EeeYCHotLR2jT2TUIG8s71r3jG9+5MD1c4yEBi8PoRXE144RmcpexjSYPQdITGk269W A5lnyn/DHlcLp6g0TGtasNSxOeTjwykBwzcLVOKHGx2oZ2VjPKroblhNr+x6eP3i0uOg AvhEoEkvv+HP/jqvdq6q+maueg/SZiiAzPNFr7yg4CN6VzgiPS7oTKx+bxmflMdoPUS4 n++g== X-Forwarded-Encrypted: i=1; AHgh+RpN36YxyVTWOIXQLrnj4FMinA0GjXz8dBhMVoqvZ9HhgvH/WcIYX1sbKrE1mXyoAf0Fxlzte7ZZCqKb9yE=@vger.kernel.org X-Gm-Message-State: AOJu0YzwJQRJDFtvQ78g6XCg6tPn0we6uQNxa35YMdHOjkDbiowcUJx2 oDp15QWA53Baefkf15+zCTfW3pSV3GmWFwnkrlVIuA7/y3RaeELMI95Q X-Gm-Gg: AfdE7clIocL7GnWBgjfNgS51BTVylquHzFpChquvRP57puFS420wdXb1Wjqti5/9jDX GdsduPjaVfPyUaQasmAe4TyOhEYPsq17+nqC4BXjB3xarShOfoz1BIKchxgA+i6vN+5ywnSu7gK 37R4V8d5JT0X5ZPnhgpwDlOW2m9Q2CWRUGoYecQ87s2o40D3eAe/FJrV2Ev2KK7Q4S/jD4nX2OS kAQoPtKkKxHyg8yc3lT/G1c8LK8Xc/0jhmOUIvs02/YI2kJcv0n9fC1kEUhsl6iVswR9gmBQ94V YVW4t8NePW2dH7YLqX8KbK4I0i1DnBrX8qtS34QWOakGsHiBUDRnV+di1LKOE0Sd2niSlAVLecZ w8BnfVqsem+TWl/nmDt8D4mSVpKFnmLdElumd4akQiBm6yxavWL1dJsHqaDTrgupWjFacdG7AU9 bXyQ== X-Received: by 2002:a05:6a21:484:b0:398:6ea8:21d2 with SMTP id adf61e73a8af0-3c3ad7a2ebamr16040253637.19.1784557600692; Mon, 20 Jul 2026 07:26:40 -0700 (PDT) Received: from PC.. ([103.172.209.188]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-31429f9d444sm43228050eec.6.2026.07.20.07.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2026 07:26:39 -0700 (PDT) From: Mohit Mishra To: Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Mohit Mishra Subject: [PATCH] staging: sm750fb: Align prototype parameter names to implementation Date: Mon, 20 Jul 2026 19:56:05 +0530 Message-ID: <20260720142605.63454-1-mishraloopmohit@gmail.com> X-Mailer: git-send-email 2.43.0 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 declarations for sm750_hw_copyarea and sm750_hw_imageblit in sm750_acce= l.h use legacy CamelCase parameters, which do not match the snake_case names in the actual implementation in sm750_accel.c. The de_copyarea and de_imageblit function pointers in struct lynx_accel (sm750.h) also use outdated parameter names. Rename these prototype parameters to match their implementation names. Signed-off-by: Mohit Mishra --- drivers/staging/sm750fb/sm750.h | 10 +++++----- drivers/staging/sm750fb/sm750_accel.h | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm75= 0.h index 0324778768cb..cd34d7f82c64 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -57,17 +57,17 @@ struct lynx_accel { u32 color, u32 rop); =20 int (*de_copyarea)(struct lynx_accel *accel, - u32 s_base, u32 s_pitch, + u32 source_base, u32 source_pitch, u32 sx, u32 sy, - u32 d_base, u32 d_pitch, + u32 dest_base, u32 dest_pitch, u32 bpp, u32 dx, u32 dy, u32 width, u32 height, u32 rop2); =20 - int (*de_imageblit)(struct lynx_accel *accel, const char *p_srcbuf, - u32 src_delta, u32 start_bit, u32 d_base, u32 d_pitch, + int (*de_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 f_color, u32 b_color, u32 rop2); + u32 height, u32 fg_color, u32 bg_color, u32 rop2); =20 }; =20 diff --git a/drivers/staging/sm750fb/sm750_accel.h b/drivers/staging/sm750f= b/sm750_accel.h index d15a40cacb84..25e5703b6774 100644 --- a/drivers/staging/sm750fb/sm750_accel.h +++ b/drivers/staging/sm750fb/sm750_accel.h @@ -210,9 +210,9 @@ 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); @@ -235,9 +235,9 @@ int sm750_hw_copyarea(struct lynx_accel *accel, * @bColor: 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.43.0