[PATCH] media: atomisp: fix block comment style in sh_css_sp.c
From: Gobi Durairaj
Date: Thu Nov 05 2026 - 01:55:18 EST
Convert block comments to the preferred kernel style with a leading
"*" on each line and the closing "*/" on its own line, as reported
by checkpatch.
Signed-off-by: Gobi Durairaj <gobidurairaj@xxxxxxxxx>
---
drivers/staging/media/atomisp/pci/sh_css_sp.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/sh_css_sp.c b/drivers/staging/media/atomisp/pci/sh_css_sp.c
index 2beb7168517f..bb916de3dce3 100644
--- a/drivers/staging/media/atomisp/pci/sh_css_sp.c
+++ b/drivers/staging/media/atomisp/pci/sh_css_sp.c
@@ -266,8 +266,10 @@ sh_css_sp_start_raw_copy(struct ia_css_frame *out_frame,
pipe->copy.raw.max_input_width = max_input_width;
pipe->num_stages = 1;
pipe->pipe_id = pipe_id;
- /* TODO: next indicates from which queues parameters need to be
- sampled, needs checking/improvement */
+ /*
+ * TODO: next indicates from which queues parameters need to be
+ * sampled, needs checking/improvement
+ */
if (pipe_conf_override == SH_CSS_PIPE_CONFIG_OVRD_NO_OVRD)
pipe->pipe_config =
(SH_CSS_PIPE_CONFIG_SAMPLE_PARAMS << thread_id);
@@ -702,8 +704,10 @@ sh_css_sp_write_frame_pointers(const struct sh_css_binary_args *args)
err = set_output_frame_buffer(args->out_frame[i], i);
}
- /* we don't pass this error back to the upper layer, so we add a assert here
- because we actually hit the error here but it still works by accident... */
+ /*
+ * we don't pass this error back to the upper layer, so we add a assert here
+ * because we actually hit the error here but it still works by accident...
+ */
if (err)
assert(false);
return err;
@@ -1233,8 +1237,10 @@ sh_css_sp_init_pipeline(struct ia_css_pipeline *me,
sh_css_sp_group.pipe[thread_id].port_id = port_id;
sh_css_sp_group.pipe[thread_id].dvs_frame_delay = (uint32_t)me->dvs_frame_delay;
- /* TODO: next indicates from which queues parameters need to be
- sampled, needs checking/improvement */
+ /*
+ * TODO: next indicates from which queues parameters need to be
+ * sampled, needs checking/improvement
+ */
if (ia_css_pipeline_uses_params(me)) {
sh_css_sp_group.pipe[thread_id].pipe_config =
SH_CSS_PIPE_CONFIG_SAMPLE_PARAMS << thread_id;
--
2.53.0