mbox series

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

Message ID 20230713090550.132858-1-arkadiusz.kubalewski@intel.com (mailing list archive)
Headers show
Series tools: ynl-gen: fix parse multi-attr enum attribute | expand

Message

Arkadiusz Kubalewski July 13, 2023, 9:05 a.m. UTC
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(-)