Re: [PATCH] staging: media: atomisp: fix block comment coding style
From: Sakari Ailus
Date: Sat Apr 18 2026 - 18:13:20 EST
Hi Kerthikey,
On Sat, Dec 27, 2025 at 04:25:20PM +0530, Karthikey D Kadati wrote:
> 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 <karthikey3608@xxxxxxxxx>
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.
> ---
> drivers/staging/media/atomisp/pci/atomisp_cmd.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> index 3a4eb4f6d..327836372 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> @@ -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);
--
Kind regards,
Sakari Ailus