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
 
