Skip to contentSkip to conversation

staging: media: atomisp: fix code indentation

PATCH New Arjun Changla 2 participants 2 messages Dec 18, 2025 – Apr 13 3 messages not in the archive

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: media: atomisp: fix code indentation

Fix checkpatch error "code indent should use tabs where possible" by replacing spaces with tabs for proper indentation.

---
 .../pci/isp/kernels/output/output_1.0/ia_css_output.host.c      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ia_css_output.host.c +1 -1
index d09365e0c471..dac0736f55a6 100644
@@ -74,7 +74,7 @@ int ia_css_output0_config(struct sh_css_isp_output_isp_config       *to,
 }
 
 int ia_css_output1_config(struct sh_css_isp_output_isp_config       *to,
-		          const struct ia_css_output1_configuration *from,
+			  const struct ia_css_output1_configuration *from,
 			  unsigned int size)
 {
 	return ia_css_output_config(to, (const struct ia_css_output_configuration *)from, size);
Signature · 1 line
2.43.0

A message that is not in the archive (sent off-list or not yet received): CAHp75VcBYGHnwGQd9zbmP_ZrKdbFHkYs2PqbR_jXeL+LoPEWAw@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CALO5-psiXqp45g4VqoxT15cwbeHcz81CYD4X9aOJuYecVzwLAA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAHp75VdWSb4kNMBoipGMQyHD4urPu0odNsif70cw20yZXq7qcQ@mail.gmail.com

#4 lore raw

PATCH 1/1 staging: media: atomisp: fix code indentation

Also do not send private messages on the matter.

---------- Forwarded message ---------
From: Andy Shevchenko <[email protected]>
Date: Mon, Apr 13, 2026 at 9:56 AM
Subject: Re: [PATCH] staging: media: atomisp: fix code indentation
To: Arjun Changla <[email protected]>

On Mon, Apr 13, 2026 at 9:27 AM Arjun Changla <[email protected]> wrote:

First of all, please do not top-post!

Quoted 4 lines

Thank you for the feedback. I checked the entire file for similar indentation issues using checkpatch, and this appears to be the only occurrence of "code indent should use tabs where possible" error in this file.

Okay, but there are much more indentation issues in the driver, like just a line above of what you are fixing. Also note, this patch has appeared several times and all the times it was asked to cover more of the similar problems. IIRC we have something still pending in the queue that touches these lines.

Quoted 10 lines

The fix replaces spaces with a tab for proper indentation on line 77.

Quoted 7 lines · Andy Shevchenko

Is it the only such a problem in the whole driver?

четвер, 18 грудня 2025 р. Arjun Changla <[email protected]> пише:

Quoted 3 lines

Fix checkpatch error "code indent should use tabs where possible" by replacing spaces with tabs for proper indentation.

The below left for the reference...

Quoted 4 lines
Quoted 4 lines

drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ia_css_output.host.c int ia_css_output0_config(struct sh_css_isp_output_isp_config *to, · line 76

Quoted 4 lines
drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ia_css_output.host.c +0 -0
 
 int ia_css_output1_config(struct sh_css_isp_output_isp_config       *to,

^^^ Here is an indentation issue.

Quoted 3 lines
Quoted 3 lines

drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ia_css_output.host.c int ia_css_output0_config(struct sh_css_isp_output_isp_config *to, · line 78

Quoted 3 lines
drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ia_css_output.host.c +1 -1
-                         const struct ia_css_output1_configuration *from,
+                         const struct ia_css_output1_configuration *from,
                          unsigned int size)

--
With Best Regards,
Andy Shevchenko

Signature · 2 lines
With Best Regards,
Andy Shevchenko