]> www.infradead.org Git - users/willy/xarray.git/commit
tools: ynl-gen: respect attr-cnt-name at the attr set level
authorJakub Kicinski <kuba@kernel.org>
Wed, 25 Oct 2023 18:27:39 +0000 (11:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Oct 2023 02:42:47 +0000 (19:42 -0700)
commiteb9df668381d350e462fdf840907388e0a9b80fe
tree4db3c026674ba9c17a1a0fb3b021295066d0a4fb
parentbc30bb88ff3153fba7693557d15733179adf7492
tools: ynl-gen: respect attr-cnt-name at the attr set level

Davide reports that we look for the attr-cnt-name in the wrong
object. We try to read it from the family, but the schema only
allows for it to exist at attr-set level.

Reported-by: Davide Caratti <dcaratti@redhat.com>
Link: https://lore.kernel.org/all/CAKa-r6vCj+gPEUKpv7AsXqM77N6pB0evuh7myHq=585RA3oD5g@mail.gmail.com/
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20231025182739.184706-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py