* [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c
@ 2026-03-11 15:13 Kalyani Patra
2026-03-11 15:20 ` Daniel Baluta
0 siblings, 1 reply; 6+ messages in thread
From: Kalyani Patra @ 2026-03-11 15:13 UTC (permalink / raw)
To: Hans de Goede
Cc: Mauro Carvalho Chehab, Sakari Ailus, Andy Shevchenko,
Greg Kroah-Hartman, Daniel Baluta, Simona Toaca, d-gole,
linux-media, linux-kernel, linux-staging, Kalyani Patra
Fix checkpatch errors related to brace placement and remove trailing
whitespace in isp_param.c.
Reported by scripts/checkpatch.pl.
Signed-off-by: Kalyani Patra <kalyanipatra2003@gmail.com>
---
.../atomisp/pci/runtime/isp_param/src/isp_param.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/runtime/isp_param/src/isp_param.c b/drivers/staging/media/atomisp/pci/runtime/isp_param/src/isp_param.c
index 251dd75a7613..f21797598cd5 100644
--- a/drivers/staging/media/atomisp/pci/runtime/isp_param/src/isp_param.c
+++ b/drivers/staging/media/atomisp/pci/runtime/isp_param/src/isp_param.c
@@ -97,13 +97,13 @@ int
ia_css_isp_param_allocate_isp_parameters(
struct ia_css_isp_param_host_segments *mem_params,
struct ia_css_isp_param_css_segments *css_params,
- const struct ia_css_isp_param_isp_segments *mem_initializers) {
+ const struct ia_css_isp_param_isp_segments *mem_initializers)
+{
int err = 0;
unsigned int mem, pclass;
pclass = IA_CSS_PARAM_CLASS_PARAM;
- for (mem = 0; mem < IA_CSS_NUM_MEMORIES; mem++)
- {
+ for (mem = 0; mem < IA_CSS_NUM_MEMORIES; mem++) {
for (pclass = 0; pclass < IA_CSS_NUM_PARAM_CLASSES; pclass++) {
u32 size = 0;
@@ -175,11 +175,11 @@ int
ia_css_isp_param_copy_isp_mem_if_to_ddr(
struct ia_css_isp_param_css_segments *ddr,
const struct ia_css_isp_param_host_segments *host,
- enum ia_css_param_class pclass) {
+ enum ia_css_param_class pclass)
+{
unsigned int mem;
- for (mem = 0; mem < N_IA_CSS_ISP_MEMORIES; mem++)
- {
+ for (mem = 0; mem < N_IA_CSS_ISP_MEMORIES; mem++) {
size_t size = host->params[pclass][mem].size;
ia_css_ptr ddr_mem_ptr = ddr->params[pclass][mem].address;
char *host_mem_ptr = host->params[pclass][mem].address;
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c
2026-03-11 15:13 [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c Kalyani Patra
@ 2026-03-11 15:20 ` Daniel Baluta
2026-03-11 15:22 ` Kalyani patra
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Baluta @ 2026-03-11 15:20 UTC (permalink / raw)
To: Kalyani Patra, Hans de Goede
Cc: Mauro Carvalho Chehab, Sakari Ailus, Andy Shevchenko,
Greg Kroah-Hartman, Simona Toaca, d-gole, linux-media,
linux-kernel, linux-staging
On 3/11/26 17:13, Kalyani Patra wrote:
> Fix checkpatch errors related to brace placement and remove trailing
> whitespace in isp_param.c.
>
> Reported by scripts/checkpatch.pl.
>
> Signed-off-by: Kalyani Patra <kalyanipatra2003@gmail.com>
> ---
Please keep in mint that when submitting a patch you need to start with version 1,
saying [PATCH]... it is enough for people to understand is v1.
Now, even if we did an internal review until v2 community doesn't know that and you need
to reset your counting.
Otherwise, people will ask you where is v1 (plus where is the changelog for v1->v2).
As now this is clear, I hope community can ignore [PATCH v2] in the subject as git tools will do
when applying the patch.
With that,
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c
2026-03-11 15:20 ` Daniel Baluta
@ 2026-03-11 15:22 ` Kalyani patra
2026-03-17 8:31 ` Sakari Ailus
0 siblings, 1 reply; 6+ messages in thread
From: Kalyani patra @ 2026-03-11 15:22 UTC (permalink / raw)
To: Daniel Baluta
Cc: Hans de Goede, Mauro Carvalho Chehab, Sakari Ailus,
Andy Shevchenko, Greg Kroah-Hartman, Simona Toaca, d-gole,
linux-media, linux-kernel, linux-staging
Hi Daniel,
Thank you for the review and for the clarification about patch versioning.
I will keep that in mind for future submissions.
Thanks,
Kalyani
On Wed, Mar 11, 2026 at 8:47 PM Daniel Baluta <daniel.baluta@nxp.com> wrote:
>
> On 3/11/26 17:13, Kalyani Patra wrote:
> > Fix checkpatch errors related to brace placement and remove trailing
> > whitespace in isp_param.c.
> >
> > Reported by scripts/checkpatch.pl.
> >
> > Signed-off-by: Kalyani Patra <kalyanipatra2003@gmail.com>
> > ---
>
> Please keep in mint that when submitting a patch you need to start with version 1,
> saying [PATCH]... it is enough for people to understand is v1.
>
> Now, even if we did an internal review until v2 community doesn't know that and you need
>
> to reset your counting.
>
> Otherwise, people will ask you where is v1 (plus where is the changelog for v1->v2).
>
> As now this is clear, I hope community can ignore [PATCH v2] in the subject as git tools will do
>
> when applying the patch.
>
> With that,
>
> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c
2026-03-11 15:22 ` Kalyani patra
@ 2026-03-17 8:31 ` Sakari Ailus
[not found] ` <CACjYBvir9vnXqH4HVXKqMs-pmqTWjs3wA92WH9_KUpwSr3KD8Q@mail.gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Sakari Ailus @ 2026-03-17 8:31 UTC (permalink / raw)
To: Kalyani patra
Cc: Daniel Baluta, Hans de Goede, Mauro Carvalho Chehab,
Andy Shevchenko, Greg Kroah-Hartman, Simona Toaca, d-gole,
linux-media, linux-kernel, linux-staging
Hi Kalyani,
On Wed, Mar 11, 2026 at 08:52:20PM +0530, Kalyani patra wrote:
> Hi Daniel,
> Thank you for the review and for the clarification about patch versioning.
> I will keep that in mind for future submissions.
Applied this one... please use "media: staging: atomisp: " prefix in the
future. It's usually a good idea to check what others have used in git log.
--
Regards,
Sakari Ailus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c
[not found] ` <CACjYBvir9vnXqH4HVXKqMs-pmqTWjs3wA92WH9_KUpwSr3KD8Q@mail.gmail.com>
@ 2026-03-17 9:33 ` Sakari Ailus
2026-03-17 17:09 ` Kalyani patra
0 siblings, 1 reply; 6+ messages in thread
From: Sakari Ailus @ 2026-03-17 9:33 UTC (permalink / raw)
To: Kalyani patra
Cc: Daniel Baluta, Hans de Goede, Mauro Carvalho Chehab,
Andy Shevchenko, Greg Kroah-Hartman, Simona Toaca, d-gole,
linux-media, linux-kernel, linux-staging
Hi Kalyani,
On Tue, Mar 17, 2026 at 02:12:20PM +0530, Kalyani patra wrote:
> Hi Sakari,
> Noted. I’ll keep both of that in kind going forward.
> Thanks!
I first applied the patch to a different branch and it seems the issue the
patch addressed was already fixed by another patch in the atomisp branch.
Thanks.
--
Kind regards,
Sakari Ailus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c
2026-03-17 9:33 ` Sakari Ailus
@ 2026-03-17 17:09 ` Kalyani patra
0 siblings, 0 replies; 6+ messages in thread
From: Kalyani patra @ 2026-03-17 17:09 UTC (permalink / raw)
To: Sakari Ailus
Cc: Daniel Baluta, Hans de Goede, Mauro Carvalho Chehab,
Andy Shevchenko, Greg Kroah-Hartman, Simona Toaca, d-gole,
linux-media, linux-kernel, linux-staging
On Tue, Mar 17, 2026 at 03:03:00PM +0530, Sakari Ailus wrote:
> I first applied the patch to a different branch and it seems the
> issue the patch addressed was already fixed by another patch in
> the atomisp branch.
Understood, thank you for checking.
--
Kalyani Patra
On Tue, Mar 17, 2026 at 3:03 PM Sakari Ailus
<sakari.ailus@linux.intel.com> wrote:
>
> Hi Kalyani,
>
> On Tue, Mar 17, 2026 at 02:12:20PM +0530, Kalyani patra wrote:
> > Hi Sakari,
> > Noted. I’ll keep both of that in kind going forward.
> > Thanks!
>
> I first applied the patch to a different branch and it seems the issue the
> patch addressed was already fixed by another patch in the atomisp branch.
>
> Thanks.
>
> --
> Kind regards,
>
> Sakari Ailus
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-03-17 17:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 15:13 [PATCH v2] staging: atomisp: fix brace style and trailing whitespace in isp_param.c Kalyani Patra
2026-03-11 15:20 ` Daniel Baluta
2026-03-11 15:22 ` Kalyani patra
2026-03-17 8:31 ` Sakari Ailus
[not found] ` <CACjYBvir9vnXqH4HVXKqMs-pmqTWjs3wA92WH9_KUpwSr3KD8Q@mail.gmail.com>
2026-03-17 9:33 ` Sakari Ailus
2026-03-17 17:09 ` Kalyani patra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox