[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231006080039.1955914d@kernel.org>
Date: Fri, 6 Oct 2023 08:00:39 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, pabeni@...hat.com, davem@...emloft.net,
edumazet@...gle.com, donald.hunter@...il.com
Subject: Re: [patch net-next v3 1/2] tools: ynl-gen: lift type requirement
for attribute subsets
On Fri, 6 Oct 2023 13:44:35 +0200 Jiri Pirko wrote:
> + # type property is only required if not in subset definition
> + if:
> + properties:
> + subset-of:
> + not:
> + type: string
> + then:
> + properties:
> + attributes:
> + items:
> + required: [ type ]
Nice!
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists