* [PATCH] media: atomisp: fix block comment formatting style
@ 2026-06-30 13:12 Bohdan D. Marcus
2026-06-30 13:29 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Bohdan D. Marcus @ 2026-06-30 13:12 UTC (permalink / raw)
To: hansg, mchehab, gregkh
Cc: andy, sakari.ailus, linux-media, linux-staging, linux-kernel,
Bohdan D. Marcus, 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 <bohdanmarcus@tutanota.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] 2+ messages in thread
* Re: [PATCH] media: atomisp: fix block comment formatting style
2026-06-30 13:12 [PATCH] media: atomisp: fix block comment formatting style Bohdan D. Marcus
@ 2026-06-30 13:29 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2026-06-30 13:29 UTC (permalink / raw)
To: Bohdan D. Marcus
Cc: hansg, mchehab, gregkh, andy, sakari.ailus, linux-media,
linux-staging, linux-kernel, Bohdan D. Marcus
On Tue, Jun 30, 2026 at 04:12:26PM +0300, Bohdan D. Marcus wrote:
> 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 <bohdanmarcus@tutanota.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.
> + */
Why did you indent it so far to the right? Something went wrong?
regards,
dan carpenter
> return -EAGAIN;
> }
>
> --
> 2.55.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-30 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 13:12 [PATCH] media: atomisp: fix block comment formatting style Bohdan D. Marcus
2026-06-30 13:29 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox