Linux kernel staging patches
 help / color / mirror / Atom feed
From: Diego Schild Smiths <diegossmiths@fastmail.com>
To: hansg@kernel.org, mchehab@kernel.org,
	sakari.ailus@linux.intel.com, andy@kernel.org,
	gregkh@linuxfoundation.org, matt@mattwardle.net,
	diegossmiths@fastmail.com, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Cc: ~lkcamp/patches@lists.sr.ht, koike@igalia.com
Subject: [PATCH]     staging: media: atomisp: Remove spaces at the start of a line
Date: Sun, 26 Jul 2026 22:08:10 -0300	[thread overview]
Message-ID: <20260727010826.91459-1-diegossmiths@fastmail.com> (raw)

    Fix checkpatch.pl warnings:
    WARNING: please, no spaces at the start of a line

Signed-off-by: Diego Schild Smiths <diegossmiths@fastmail.com>

---

Hey, this is my first patch. I learned this at DebConf 26.
I appreciate any feedback. Thanks.
---
 .../isp/kernels/eed1_8/ia_css_eed1_8.host.c   | 32 ++++++++-----------
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c b/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c
index 76d76ca4401a..3d8e473275e0 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c
@@ -31,8 +31,8 @@ static const s16 chgrinv_x[NUMBER_OF_CHGRINV_POINTS] = {
 
 static const s16 chgrinv_a[NUMBER_OF_CHGRINV_POINTS] = {
 	-7171, -256, -29, -3456, -1071, -475, -189, -102,
-	    -48, -38, -10, -9, -7, -6, 0
-    };
+	-48, -38, -10, -9, -7, -6, 0
+};
 
 static const s16 chgrinv_b[NUMBER_OF_CHGRINV_POINTS] = {
 	8191, 1021, 256, 114, 60, 37, 24, 17,
@@ -50,7 +50,7 @@ static const s16 tcinv_x[NUMBER_OF_TCINV_POINTS] = {
 
 static const s16 tcinv_a[NUMBER_OF_TCINV_POINTS] = {
 	-6364, -631, -126, -34, -13, -6, -4452, -2156, 0
-    };
+};
 
 static const s16 tcinv_b[NUMBER_OF_TCINV_POINTS] = {
 	8191, 1828, 726, 352, 197, 121, 80, 55, 40
@@ -66,7 +66,7 @@ static const s16 fcinv_x[NUMBER_OF_FCINV_POINTS] = {
 
 static const s16 fcinv_a[NUMBER_OF_FCINV_POINTS] = {
 	-5244, -486, -86, -2849, -961, -400, -180, -86, 0
-    };
+};
 
 static const s16 fcinv_b[NUMBER_OF_FCINV_POINTS] = {
 	8191, 1637, 607, 287, 159, 98, 64, 44, 32
@@ -77,10 +77,9 @@ static const s16 fcinv_c[NUMBER_OF_FCINV_POINTS] = {
 };
 
 void
-ia_css_eed1_8_vmem_encode(
-    struct eed1_8_vmem_params *to,
-    const struct ia_css_eed1_8_config *from,
-    size_t size)
+ia_css_eed1_8_vmem_encode(struct eed1_8_vmem_params *to,
+			  const struct ia_css_eed1_8_config *from,
+			  size_t size)
 {
 	unsigned int i, j, base;
 	const unsigned int total_blocks = 4;
@@ -208,10 +207,9 @@ ia_css_eed1_8_vmem_encode(
 }
 
 void
-ia_css_eed1_8_encode(
-    struct eed1_8_dmem_params *to,
-    const struct ia_css_eed1_8_config *from,
-    size_t size)
+ia_css_eed1_8_encode(struct eed1_8_dmem_params *to,
+		     const struct ia_css_eed1_8_config *from,
+		     size_t size)
 {
 	int i;
 	int min_exp = 0;
@@ -266,18 +264,16 @@ ia_css_eed1_8_encode(
 }
 
 void
-ia_css_init_eed1_8_state(
-    void *state,
-    size_t size)
+ia_css_init_eed1_8_state(void *state,
+			 size_t size)
 {
 	memset(state, 0, size);
 }
 
 #ifndef IA_CSS_NO_DEBUG
 void
-ia_css_eed1_8_debug_dtrace(
-    const struct ia_css_eed1_8_config *eed,
-    unsigned int level)
+ia_css_eed1_8_debug_dtrace(const struct ia_css_eed1_8_config *eed,
+			   unsigned int level)
 {
 	if (!eed)
 		return;
-- 
2.55.0


                 reply	other threads:[~2026-07-27  1:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260727010826.91459-1-diegossmiths@fastmail.com \
    --to=diegossmiths@fastmail.com \
    --cc=andy@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=koike@igalia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=matt@mattwardle.net \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=~lkcamp/patches@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox