Skip to contentSkip to conversation

staging: media: atomisp: fix coding style

PATCH In review Pablo 3 participants 3 messages May 3, 2025 – Jul 4, 2025

Subsystems (4)
lore
Share & tools
lore

Pablo

author
#0 lore raw

PATCH 1/1 staging: media: atomisp: fix coding style

Fix a coding style:
"ERROR: that open brace { should be on the previous line" issue reported in ia_css_vf.host.c:94.

---
Hey, this is my first patch, I apreciate any feedback, thanks!

 .../media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c +1 -2
index ece5e3da3..0ce75d9bd 100644
@@ -91,8 +91,7 @@ configure_kernel(
 	unsigned int vf_log_ds = 0;
 
 	/* First compute value */
-	if (vf_info)
-	{
+	if (vf_info) {
 		err = sh_css_vf_downscale_log2(out_info, vf_info, &vf_log_ds);
 		if (err)
 			return err;
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 3 lines · Pablo

Fix a coding style:
"ERROR: that open brace { should be on the previous line" issue reported in ia_css_vf.host.c:94.

Hans, have you taken this change? (I miss it in Linux Next)

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#2 lore raw
In reply to Pablo
Quoted 5 lines · Pablo

Fix a coding style:
"ERROR: that open brace { should be on the previous line" issue reported in ia_css_vf.host.c:94.

Thank you for your patch.

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

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

Regards,

Hans

Quoted 19 lines

---
Hey, this is my first patch, I apreciate any feedback, thanks!

 .../media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ia_css_vf.host.c +1 -2
index ece5e3da3..0ce75d9bd 100644
@@ -91,8 +91,7 @@ configure_kernel(
 	unsigned int vf_log_ds = 0;
 
 	/* First compute value */
-	if (vf_info)
-	{
+	if (vf_info) {
 		err = sh_css_vf_downscale_log2(out_info, vf_info, &vf_log_ds);
 		if (err)
 			return err;