[PATCH 1/9] utils: gen-debug-controls: Remove line number from control description
Kieran Bingham
kieran.bingham at ideasonboard.com
Mon Mar 31 18:34:35 CEST 2025
Quoting Stefan Klug (2025-03-31 15:43:40)
> 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>
> ---
> 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