public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] media: atomisp: coding style: Move trailing statements to next line
@ 2025-11-26 19:00 Ayush Kumar
  2025-11-26 19:32 ` Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ayush Kumar @ 2025-11-26 19:00 UTC (permalink / raw)
  To: hansg, mchehab
  Cc: sakari.ailus, andy, gregkh, hverkuil, ribalda,
	abdelrahmanfekry375, santiagorr, linux-media, linux-kernel,
	linux-staging, kernel-newbies, Ayush Kumar

Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).

Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>
---
 drivers/staging/media/atomisp/pci/sh_css_params.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/sh_css_params.c b/drivers/staging/media/atomisp/pci/sh_css_params.c
index 11d62313c908..5ead15dd7f84 100644
--- a/drivers/staging/media/atomisp/pci/sh_css_params.c
+++ b/drivers/staging/media/atomisp/pci/sh_css_params.c
@@ -875,7 +875,8 @@ ia_css_process_kernel(struct ia_css_stream *stream,
 
 		/* update the other buffers to the pipe specific copies */
 		for (stage = pipeline->stages; stage; stage = stage->next) {
-			if (!stage || !stage->binary) continue;
+			if (!stage || !stage->binary)
+				continue;
 			process(pipeline->pipe_id, stage, params);
 		}
 	}
@@ -3045,7 +3046,8 @@ process_kernel_parameters(unsigned int pipe_id,
 	/* Call parameter process functions for all kernels */
 	/* Skip SC, since that is called on a temp sc table */
 	for (param_id = 0; param_id < IA_CSS_NUM_PARAMETER_IDS; param_id++) {
-		if (param_id == IA_CSS_SC_ID) continue;
+		if (param_id == IA_CSS_SC_ID)
+			continue;
 		if (params->config_changed[param_id])
 			ia_css_kernel_process_param[param_id](pipe_id, stage, params);
 	}
@@ -3600,7 +3602,8 @@ sh_css_params_write_to_ddr_internal(
 						    IA_CSS_PARAM_CLASS_PARAM, mem);
 		size_t size = isp_data->size;
 
-		if (!size) continue;
+		if (!size)
+			continue;
 		buff_realloced = reallocate_buffer(&ddr_map->isp_mem_param[stage_num][mem],
 						&ddr_map_size->isp_mem_param[stage_num][mem],
 						size,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] media: atomisp: coding style: Move trailing statements to next line
  2025-11-26 19:00 [PATCH] media: atomisp: coding style: Move trailing statements to next line Ayush Kumar
@ 2025-11-26 19:32 ` Andy Shevchenko
  2025-11-26 20:23 ` Greg KH
  2026-04-18 22:20 ` Sakari Ailus
  2 siblings, 0 replies; 6+ messages in thread
From: Andy Shevchenko @ 2025-11-26 19:32 UTC (permalink / raw)
  To: Ayush Kumar
  Cc: hansg, mchehab, sakari.ailus, andy, gregkh, hverkuil, ribalda,
	abdelrahmanfekry375, santiagorr, linux-media, linux-kernel,
	linux-staging, kernel-newbies

On Wed, Nov 26, 2025 at 07:00:26PM +0000, Ayush Kumar wrote:
> Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).

OK. Can be done more, but yeah...
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] media: atomisp: coding style: Move trailing statements to next line
  2025-11-26 19:00 [PATCH] media: atomisp: coding style: Move trailing statements to next line Ayush Kumar
  2025-11-26 19:32 ` Andy Shevchenko
@ 2025-11-26 20:23 ` Greg KH
  2026-04-18 22:20 ` Sakari Ailus
  2 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2025-11-26 20:23 UTC (permalink / raw)
  To: Ayush Kumar
  Cc: hansg, mchehab, sakari.ailus, andy, hverkuil, ribalda,
	abdelrahmanfekry375, santiagorr, linux-media, linux-kernel,
	linux-staging, kernel-newbies

On Wed, Nov 26, 2025 at 07:00:26PM +0000, Ayush Kumar wrote:
> Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).
> 
> Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>
> ---
>  drivers/staging/media/atomisp/pci/sh_css_params.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You did not specify a description of why the patch is needed, or
  possibly, any description at all, in the email body.  Please read the
  section entitled "The canonical patch format" in the kernel file,
  Documentation/process/submitting-patches.rst for what is needed in
  order to properly describe the change.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] media: atomisp: coding style: Move trailing statements to next line
  2025-11-26 19:00 [PATCH] media: atomisp: coding style: Move trailing statements to next line Ayush Kumar
  2025-11-26 19:32 ` Andy Shevchenko
  2025-11-26 20:23 ` Greg KH
@ 2026-04-18 22:20 ` Sakari Ailus
  2026-04-19  8:32   ` Andy Shevchenko
  2 siblings, 1 reply; 6+ messages in thread
From: Sakari Ailus @ 2026-04-18 22:20 UTC (permalink / raw)
  To: Ayush Kumar
  Cc: hansg, mchehab, sakari.ailus, andy, gregkh, hverkuil, ribalda,
	abdelrahmanfekry375, santiagorr, linux-media, linux-kernel,
	linux-staging, kernel-newbies

Hi Ayush,

Thanks for the patch.

On Wed, Nov 26, 2025 at 07:00:26PM +0000, Ayush Kumar wrote:
> Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).
> 
> Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>

This has been addressed by commit 003c2c39ec77c84d704ee8effe170fd8658fde0b
in my atomisp branch.

-- 
Kind regards,

Sakari Ailus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] media: atomisp: coding style: Move trailing statements to next line
  2026-04-18 22:20 ` Sakari Ailus
@ 2026-04-19  8:32   ` Andy Shevchenko
  2026-04-19 12:45     ` Sakari Ailus
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Shevchenko @ 2026-04-19  8:32 UTC (permalink / raw)
  To: Sakari Ailus
  Cc: Ayush Kumar, hansg, mchehab, sakari.ailus, andy, gregkh, hverkuil,
	ribalda, abdelrahmanfekry375, santiagorr, linux-media,
	linux-kernel, linux-staging, kernel-newbies

On Sun, Apr 19, 2026 at 1:20 AM Sakari Ailus <sakari.ailus@iki.fi> wrote:

> On Wed, Nov 26, 2025 at 07:00:26PM +0000, Ayush Kumar wrote:
> > Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).
> >
> > Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>
>
> This has been addressed by commit 003c2c39ec77c84d704ee8effe170fd8658fde0b
> in my atomisp branch.

Btw, can you rebase your branch and drop "staging" word from the
Subject in all current patches?


-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] media: atomisp: coding style: Move trailing statements to next line
  2026-04-19  8:32   ` Andy Shevchenko
@ 2026-04-19 12:45     ` Sakari Ailus
  0 siblings, 0 replies; 6+ messages in thread
From: Sakari Ailus @ 2026-04-19 12:45 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Ayush Kumar, hansg, mchehab, sakari.ailus, andy, gregkh, hverkuil,
	ribalda, abdelrahmanfekry375, santiagorr, linux-media,
	linux-kernel, linux-staging, kernel-newbies

Moi,

On Sun, Apr 19, 2026 at 11:32:45AM +0300, Andy Shevchenko wrote:
> On Sun, Apr 19, 2026 at 1:20 AM Sakari Ailus <sakari.ailus@iki.fi> wrote:
> 
> > On Wed, Nov 26, 2025 at 07:00:26PM +0000, Ayush Kumar wrote:
> > > Adhering to Linux kernel coding style guidelines (Chapter 3: Indentation).
> > >
> > > Signed-off-by: Ayush Kumar <ayushkr0s@gmail.com>
> >
> > This has been addressed by commit 003c2c39ec77c84d704ee8effe170fd8658fde0b
> > in my atomisp branch.
> 
> Btw, can you rebase your branch and drop "staging" word from the
> Subject in all current patches?

Good question. The staging: prefix has been used in the past for atomisp
patches and a lot of the rest appears to be doing that as well but
definitely not all. I don't really have an opinion but we should do that
consistently whichever is chosen.

-- 
Terveisin,

Sakari Ailus

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-19 12:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-26 19:00 [PATCH] media: atomisp: coding style: Move trailing statements to next line Ayush Kumar
2025-11-26 19:32 ` Andy Shevchenko
2025-11-26 20:23 ` Greg KH
2026-04-18 22:20 ` Sakari Ailus
2026-04-19  8:32   ` Andy Shevchenko
2026-04-19 12:45     ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox