staging: media: atomisp: fix block comment coding style
Subsystems (4)
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.
Signed-off-by Karthikey D Kadati <[email protected]>
--- 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
@@ -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
Hi Kerthikey,
Quoted 7 lines · Karthikey D Kadati
Fix the checkpatch.pl warning:
WARNING: Block comments use a trailing */ on a separate lineThis change aligns the block comment at line 1384 with the standard Linux kernel coding style for better readability.
Signed-off-by Karthikey D Kadati <[email protected]>
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@@ -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