Re: [PATCH] staging: media: atomisp: fix indentation to use tabs instead of spaces
From: Dan Carpenter
Date: Sat Apr 11 2026 - 06:51:47 EST
On Fri, Apr 10, 2026 at 05:55:12PM -0700, Michael Ugrin wrote:
> Fix whitespace issue where a continuation line used spaces
> instead of tabs for indentation.
>
> Signed-off-by: Michael Ugrin <mugrinphoto@xxxxxxxxx>
> ---
> .../staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c b/drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
> index b411ca2f415e0..966d4efb200c5 100644
> --- a/drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
> +++ b/drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
> @@ -1257,7 +1257,7 @@ ia_css_debug_pipe_graph_dump_stage(
> p--;
> /* Last comma found, copy till that comma */
> strscpy(enable_info1, ei,
> - p > sizeof(enable_info1) ? sizeof(enable_info1) : p);
> + p > sizeof(enable_info1) ? sizeof(enable_info1) : p);
Better to use:
strscpy(enable_info1, ei, umin(p, sizeof(enable_info1)));
Same for the other strscpy() calls as well.
regards,
dan carpenter