summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGabriele Monaco <gmonaco@redhat.com>2025-11-26 11:42:38 +0100
committerGabriele Monaco <gmonaco@redhat.com>2026-01-12 07:43:50 +0100
commit3d2bfeeef340c8494eba80e7a005159cac69c2f7 (patch)
tree6210348959bfae362603bbc977be93243407f757 /include/linux
parent0d2405a086a035cce1e0ba1aa0849bd2104a4d6b (diff)
verification/dot2c: Remove superfluous enum assignment and add last comma
The header files generated by dot2c currently create enums for states and events assigning the first element to 0. This is superfluous as it happens automatically if no value is specified. Also it doesn't add a comma to the last enum elements, which slightly complicates the diff if states or events are added. Remove the assignment to 0 and add a comma to last elements, this simplifies the logic for the code generator. Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://lore.kernel.org/r/20251126104241.291258-8-gmonaco@redhat.com Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions