[PATCH net-next 0/2] tools: ynl-gen: fix parse multi-attr enum attribute

From: Arkadiusz Kubalewski
Date: Thu Jul 13 2023 - 05:08:39 EST


Fix the issues with parsing enums in ynl.py script.

v1->v2:
Initially this was one patch, but review shown there is need to fix also
leftover issues with indexing in _decode_enum(..) function
("tools: ynl-gen: fix enum index in _decode_enum(..)").

Arkadiusz Kubalewski (2):
tools: ynl-gen: fix enum index in _decode_enum(..)
tools: ynl-gen: fix parse multi-attr enum attribute

tools/net/ynl/lib/ynl.py | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

--
2.37.3