[PATCH v2 1/9] utils: gen-debug-controls: Remove line number from control description
Isaac Scott
isaac.scott at ideasonboard.com
Thu May 15 15:08:01 CEST 2025
Hi Stefan,
Thank you for the patch.
Quoting Stefan Klug (2025-04-11 13:36:29)
> The line numbers change so often that including them in the description
> creates too much noise in control_ids_debug.yaml. Output the path only.
>
> Signed-off-by: Stefan Klug <stefan.klug at ideasonboard.com>
> Acked-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
>
Reviewed-by: Isaac Scott <isaac.scott at ideasonboard.com>
> ---
>
> Changes in v2:
> - Collected tag
> ---
> utils/gen-debug-controls.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/utils/gen-debug-controls.py b/utils/gen-debug-controls.py
> index 272597f4874f..53c8fa70d76d 100755
> --- a/utils/gen-debug-controls.py
> +++ b/utils/gen-debug-controls.py
> @@ -107,7 +107,7 @@ def main(argv):
> p = m.file.relative_to(root_dir)
> desc = {'type': m.type,
> 'direction': 'out',
> - 'description': f'Debug control {m.name} found in {p}:{m.line}'}
> + 'description': f'Debug control {m.name} found in {p}'}
> if m.size is not None:
> desc['size'] = m.size
>
> --
> 2.43.0
>
More information about the libcamera-devel
mailing list