Skip to contentSkip to conversation

staging: media: atomisp: fix block comment coding style

PATCH In review Karthikey D Kadati 2 participants 2 messages Dec 27, 2025 – Apr 18

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: media: atomisp: fix block comment coding style

Fix the checkpatch.pl warning:
WARNING: Block comments use a trailing */ on a separate line

This change aligns the block comment at line 1384 with the standard Linux kernel coding style for better readability.

---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +4 -2
index 3a4eb4f6d..327836372 100644
@@ -1380,8 +1380,10 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd,
 	if (atomisp_css_get_grid_info(asd, pipe_id))
 		return;
 
-	/* We must free all buffers because they no longer match
-	   the grid size. */
+	/*
+	 * We must free all buffers because they no longer match
+	 * the grid size.
+	 */
 	atomisp_css_free_stat_buffers(asd);
 
 	err = atomisp_alloc_css_stat_bufs(asd, ATOMISP_INPUT_STREAM_GENERAL);
Signature · 1 line
2.43.0
#1 lore raw

Hi Kerthikey,

Quoted 7 lines · Karthikey D Kadati

Fix the checkpatch.pl warning:
WARNING: Block comments use a trailing */ on a separate line

This change aligns the block comment at line 1384 with the standard Linux kernel coding style for better readability.

Thanks for the patch.

It no longer applies to my atomisp branch. In general, it'd be good to fix a few more issues of the same kind.

Quoted 21 lines
---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/atomisp_cmd.c +4 -2
index 3a4eb4f6d..327836372 100644
@@ -1380,8 +1380,10 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd,
 	if (atomisp_css_get_grid_info(asd, pipe_id))
 		return;
 
-	/* We must free all buffers because they no longer match
-	   the grid size. */
+	/*
+	 * We must free all buffers because they no longer match
+	 * the grid size.
+	 */
 	atomisp_css_free_stat_buffers(asd);
 
 	err = atomisp_alloc_css_stat_bufs(asd, ATOMISP_INPUT_STREAM_GENERAL);
Signature · 3 lines
Kind regards,

Sakari Ailus