Skip to contentSkip to conversation

media: atomisp: Fix trailing statement in ia_css_de.host.c

PATCH In review Kathara Sasikumar 2 participants 2 messages Jul 30, 2024 – Sep 2, 2024

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

PATCH 1/1 media: atomisp: Fix trailing statement in ia_css_de.host.c

Fix checkpatch diagostic of Error : Trailing statements should be on the next line

---
Hi,

This is my first patch for the kernel.
Big thanks to Helen Koike for the guidance
at her Debconf24 workshop.

Thank you,
Kathara

 .../media/atomisp/pci/isp/kernels/de/de_1.0/ia_css_de.host.c   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/ia_css_de.host.c +2 -1
index 25e3f0822..e66faeda3 100644
@@ -47,7 +47,8 @@ ia_css_de_dump(
     const struct sh_css_isp_de_params *de,
     unsigned int level)
 {
-	if (!de) return;
+	if (!de)
+		return;
 	ia_css_debug_dtrace(level, "Demosaic:\n");
 	ia_css_debug_dtrace(level, "\t%-32s = %d\n",
 			    "de_pixelnoise", de->pixelnoise);
Signature · 1 line
2.20.1
#1 lore raw

Hi,

Quoted 4 lines · Kathara Sasikumar

Fix checkpatch diagostic of Error : Trailing statements should be on the next line

Thank you for your patch(es).

I have merged this/these in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And this/these will be included in my next pull-request to Mauro (to media subsystem maintainer)

Regards,

Hans

Quoted 26 lines

---
Hi,

This is my first patch for the kernel.
Big thanks to Helen Koike for the guidance
at her Debconf24 workshop.

Thank you,
Kathara

 .../media/atomisp/pci/isp/kernels/de/de_1.0/ia_css_de.host.c   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/ia_css_de.host.c +2 -1
index 25e3f0822..e66faeda3 100644
@@ -47,7 +47,8 @@ ia_css_de_dump(
     const struct sh_css_isp_de_params *de,
     unsigned int level)
 {
-	if (!de) return;
+	if (!de)
+		return;
 	ia_css_debug_dtrace(level, "Demosaic:\n");
 	ia_css_debug_dtrace(level, "\t%-32s = %d\n",
 			    "de_pixelnoise", de->pixelnoise);