* [PATCH v3] media: atomisp: fix block comment formatting style
@ 2026-06-30 16:04 Bohdan D. Marcus
2026-07-01 8:30 ` Andy Shevchenko
0 siblings, 1 reply; 4+ messages in thread
From: Bohdan D. Marcus @ 2026-06-30 16:04 UTC (permalink / raw)
To: hansg, mchehab, gregkh
Cc: andy, sakari.ailus, linux-media, linux-staging, linux-kernel,
Bohdan D. Marcus
Fix a block comment formatting warning reported by
checkpatch.pl in atomisp_cmd.c to conform to the
Linux kernel coding style.
Signed-off-by: Bohdan D. Marcus <bohdandmarcus@gmail.com>
---
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 6cd500d9fd26..20abc2c0de80 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -2520,9 +2520,12 @@ int atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd,
if (sizeof(*cur) != sizeof(dvs2_coefs.grid) ||
memcmp(&dvs2_coefs.grid, cur, sizeof(dvs2_coefs.grid))) {
dev_err(asd->isp->dev, "dvs grid mismatch!\n");
- /* If the grid info in the argument differs from the current
- grid info, we tell the caller to reset the grid size and
- try again. */
+ /*
+ * If the grid info in the argument differs
+ * from the current grid info, we tell the
+ * caller to reset the grid size and try
+ * again.
+ */
return -EAGAIN;
}
--
2.55.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3] media: atomisp: fix block comment formatting style
2026-06-30 16:04 [PATCH v3] media: atomisp: fix block comment formatting style Bohdan D. Marcus
@ 2026-07-01 8:30 ` Andy Shevchenko
[not found] ` <CANqab03_SQFDb38wkXBMUiJ1Xk-g9_ZpqvOUo+nQyR+SsVnsFQ@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2026-07-01 8:30 UTC (permalink / raw)
To: Bohdan D. Marcus
Cc: hansg, mchehab, gregkh, andy, sakari.ailus, linux-media,
linux-staging, linux-kernel
On Tue, Jun 30, 2026 at 7:06 PM Bohdan D. Marcus
<bohdandmarcus@gmail.com> wrote:
>
> Fix a block comment formatting warning reported by
> checkpatch.pl in atomisp_cmd.c to conform to the
> Linux kernel coding style.
Almost the same comments as per v2. Please, slow down, read other
comments and act accordingly.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] media: atomisp: fix block comment formatting style
[not found] ` <CANqab03_SQFDb38wkXBMUiJ1Xk-g9_ZpqvOUo+nQyR+SsVnsFQ@mail.gmail.com>
@ 2026-07-01 8:51 ` Bohdan Derkach
2026-07-01 9:30 ` Andy Shevchenko
0 siblings, 1 reply; 4+ messages in thread
From: Bohdan Derkach @ 2026-07-01 8:51 UTC (permalink / raw)
To: Andy Shevchenko
Cc: hansg, mchehab, gregkh, andy, sakari.ailus, linux-media,
linux-staging, linux-kernel
Hi Andy,
Thank you for the review.
You are completely right about the indentation and line wraps. Dan
Carpenter also pointed this out to me yesterday, and I have already
prepared a v4 that fixes all of these issues perfectly. I am strictly
following the rule to wait a full 24 hours between sending versions,
so I will send v4 later today.
Regarding your question about whether this is the only issue in the driver:
I understand that sending a patch for a single block comment in a 100k
LoC driver is a very small contribution. Since this is my very first
patch to the Linux kernel, my main goal was to learn the correct
workflow (git send-email, formatting versions, acting on feedback)
before sending larger patch series.
Once this v4 is accepted and I am confident that my setup is correct,
my next step is to grep through the rest of atomisp to fix similar
block comments and submit them as a proper patch series.
Thank you for your patience and for guiding a newcomer!
Regards,
Bohdan
On Wed, Jul 1, 2026 at 11:42 AM Bohdan Derkach <bohdandmarcus@gmail.com> wrote:
>
> Hi Andy,
>
> Thank you for the review.
>
> You are completely right about the indentation and line wraps. Dan Carpenter also pointed this out to me yesterday, and I have already prepared a v4 that fixes all of these issues perfectly. I am strictly following the rule to wait a full 24 hours between sending versions, so I will send v4 later today.
>
> Regarding your question about whether this is the only issue in the driver:
> I understand that sending a patch for a single block comment in a 100k LoC driver is a very small contribution. Since this is my very first patch to the Linux kernel, my main goal was to learn the correct workflow (git send-email, formatting versions, acting on feedback) before sending larger patch series.
>
> Once this v4 is accepted and I am confident that my setup is correct, my next step is to grep through the rest of atomisp to fix similar block comments and submit them as a proper patch series.
>
> Thank you for your patience and for guiding a newcomer!
>
> Regards,
> Bohdan
>
> On Wed, Jul 1, 2026 at 11:31 AM Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
>>
>> On Tue, Jun 30, 2026 at 7:06 PM Bohdan D. Marcus
>> <bohdandmarcus@gmail.com> wrote:
>> >
>> > Fix a block comment formatting warning reported by
>> > checkpatch.pl in atomisp_cmd.c to conform to the
>> > Linux kernel coding style.
>>
>> Almost the same comments as per v2. Please, slow down, read other
>> comments and act accordingly.
>>
>> --
>> With Best Regards,
>> Andy Shevchenko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] media: atomisp: fix block comment formatting style
2026-07-01 8:51 ` Bohdan Derkach
@ 2026-07-01 9:30 ` Andy Shevchenko
0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2026-07-01 9:30 UTC (permalink / raw)
To: Bohdan Derkach
Cc: Andy Shevchenko, hansg, mchehab, gregkh, andy, sakari.ailus,
linux-media, linux-staging, linux-kernel
On Wed, Jul 01, 2026 at 11:51:43AM +0300, Bohdan Derkach wrote:
First of all, do not top-post!
Second, do not send HTML, the only plain text is what is considered.
> On Wed, Jul 1, 2026 at 11:42 AM Bohdan Derkach <bohdandmarcus@gmail.com> wrote:
> > You are completely right about the indentation and line wraps. Dan
> > Carpenter also pointed this out to me yesterday, and I have already
> > prepared a v4 that fixes all of these issues perfectly. I am strictly
> > following the rule to wait a full 24 hours between sending versions, so I
> > will send v4 later today.
> >
> > Regarding your question about whether this is the only issue in the driver:
> > I understand that sending a patch for a single block comment in a 100k LoC
> > driver is a very small contribution. Since this is my very first patch to
> > the Linux kernel, my main goal was to learn the correct workflow (git
> > send-email, formatting versions, acting on feedback) before sending larger
> > patch series.
> >
> > Once this v4 is accepted and I am confident that my setup is correct, my
> > next step is to grep through the rest of atomisp to fix similar block
> > comments and submit them as a proper patch series.
It really doesn't matter if this is a single place fix or not, the part of
the process is to try to fix the whole class of the problems at once.
Also check that your code is based on latest and greatest maintainer's tip.
(It's located somewhere on git.linuxtv.org with atomisp in the tree name.)
> > Thank you for your patience and for guiding a newcomer!
You're welcome.
> > On Wed, Jul 1, 2026 at 11:31 AM Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> >>
> >> On Tue, Jun 30, 2026 at 7:06 PM Bohdan D. Marcus
> >> <bohdandmarcus@gmail.com> wrote:
> >> >
> >> > Fix a block comment formatting warning reported by
> >> > checkpatch.pl in atomisp_cmd.c to conform to the
> >> > Linux kernel coding style.
> >>
> >> Almost the same comments as per v2. Please, slow down, read other
> >> comments and act accordingly.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-07-01 9:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 16:04 [PATCH v3] media: atomisp: fix block comment formatting style Bohdan D. Marcus
2026-07-01 8:30 ` Andy Shevchenko
[not found] ` <CANqab03_SQFDb38wkXBMUiJ1Xk-g9_ZpqvOUo+nQyR+SsVnsFQ@mail.gmail.com>
2026-07-01 8:51 ` Bohdan Derkach
2026-07-01 9:30 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox