Re: [patch net-next v2 3/3] tools: ynl-gen: raise exception when subset attribute contains more than "name" key
From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-10-05 00:13:51
From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-10-05 00:13:51
On Fri, 29 Sep 2023 15:47:42 +0200 Jiri Pirko wrote:
From: Jiri Pirko <redacted> The only key used in the elem dictionary is "name" to lookup the real attribute of a set. Raise exception in case there are other keys present.
Mm, there are definitely other things that can be set. I'm not fully sold that type can't change but even if - checks can easily be adjusted or nested-attributes, based on the parsing path.