]> git.ipfire.org Git - thirdparty/linux.git/commit
verification/dot2c: Remove __buff_to_string() and cleanup
authorGabriele Monaco <gmonaco@redhat.com>
Wed, 26 Nov 2025 10:42:37 +0000 (11:42 +0100)
committerGabriele Monaco <gmonaco@redhat.com>
Mon, 12 Jan 2026 06:43:50 +0000 (07:43 +0100)
commit0d2405a086a035cce1e0ba1aa0849bd2104a4d6b
treeddf589326ab73697df66ab16cc6f1987ac4531bf
parent3c5720b9ba3ee9b3ae238aeaf0340e4c9666330e
verification/dot2c: Remove __buff_to_string() and cleanup

str.join() can do what __buff_to_string() does. Therefore replace
__buff_to_string() to make the scripts more pythonic.

Also clean and remove some intermediate functions.

Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20251126104241.291258-7-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
tools/verification/rvgen/rvgen/dot2c.py