]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools: ynl-gen: support uint in multi-attr
authorJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 17:04:31 +0000 (10:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Sep 2025 21:57:09 +0000 (14:57 -0700)
commit4436b2b324cec38caa876b11e521d270240a9986
tree9badb9b7232589ba364b8d744eba18b75e9daa2a
parent5e87fdc37f8dc619549d49ba5c951b369ce7c136
tools: ynl-gen: support uint in multi-attr

The ethtool FEC histogram series run into a build issue with
type: uint + multi-attr: True. Auto scalars use 64b types,
we need to convert them explicitly when rendering the types.

No current spec needs this, and the ethtool FEC histogram
doesn't need this either any more, so not posting as a fix.

Link: https://lore.kernel.org/8f52c5b8-bd8a-44b8-812c-4f30d50f63ff@redhat.com
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/pyynl/ynl_gen_c.py