Skip to contentSkip to conversation

staging: media: atomisp: anr: move trailing statement to its own line

PATCH In review Mani Bharadwaj 2 participants 2 messages Jun 22 – Jun 23

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

PATCH v3 1/1 staging: media: atomisp: anr: move trailing statement to its own line

Move the return statement in ia_css_anr_dump() to its own line to fix the following checkpatch error:

ERROR: trailing statements should be on next line

No functional change.

Changes in v3:
- Fix subject prefix: add missing 'media:' subsystem tag per Media CI bot feedback.

---
 .../atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.c +2 -1
index 899d56623..fd50a20ac 100644
@@ -36,7 +36,8 @@ ia_css_anr_dump(
     const struct sh_css_isp_anr_params *anr,
     unsigned int level)
 {
-	if (!anr) return;
+	if (!anr)
+		return;
 	ia_css_debug_dtrace(level, "Advance Noise Reduction:\n");
 	ia_css_debug_dtrace(level, "\t%-32s = %d\n",
 			    "anr_threshold", anr->threshold);
Signature · 1 line
2.54.0
#1 lore raw
Quoted 10 lines · Mani Bharadwaj

Move the return statement in ia_css_anr_dump() to its own line to fix the following checkpatch error:

ERROR: trailing statements should be on next line

No functional change.

Changes in v3:
- Fix subject prefix: add missing 'media:' subsystem tag per Media CI bot feedback.

No. Take your time and read the linux-media mailing list archive for last a few months in regard to this driver. Only _after_ think about contribution (what to contribute and how).

...

Also read the process documentation. Do your homework before, please.

Signature · 2 lines
With Best Regards,
Andy Shevchenko