From: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Serge Semin
<Sergey.Semin-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org>
Cc: Krzysztof Kozlowski
<krzysztof.kozlowski+dt-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Serge Semin
<fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Alexey Malahov
<Alexey.Malahov-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org>,
Pavel Parkhomenko
<Pavel.Parkhomenko-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org>,
Krzysztof Kozlowski
<krzysztof.kozlowski-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] meta-schemas: Allow 'not' keyword
Date: Thu, 23 Mar 2023 11:13:21 -0500 [thread overview]
Message-ID: <CAL_Jsq+nSSMSuOqRzfBiNL4LkxCpcuuNRMOHLeF_LoMO8EYH6w@mail.gmail.com> (raw)
In-Reply-To: <20230323150947.947-1-Sergey.Semin-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org>
On Thu, Mar 23, 2023 at 10:12 AM Serge Semin
<Sergey.Semin-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org> wrote:
>
> Root- and sub-node schemas are supposed to be allowed to use the 'not'
> keyword directly to express a schema against which the instance isn't
> supposed to be successfully validated. It shall work in the same way as
> the allOf, anyOf, oneOf-based validation except the keyword implies a
> single sub-schema against which an instance will be anti-evaluated.
>
> Signed-off-by: Serge Semin <Sergey.Semin-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org>
>
> ---
>
> Please see the next email message for the patch context:
> Link: https://lore.kernel.org/netdev/20230313225103.30512-16-Sergey.Semin@baikalelectronics.ru
> ---
> dtschema/meta-schemas/base.yaml | 2 +-
> dtschema/meta-schemas/nodes.yaml | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
prev parent reply other threads:[~2023-03-23 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-23 15:09 [PATCH] meta-schemas: Allow 'not' keyword Serge Semin
[not found] ` <20230323150947.947-1-Sergey.Semin-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org>
2023-03-23 16:13 ` Rob Herring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAL_Jsq+nSSMSuOqRzfBiNL4LkxCpcuuNRMOHLeF_LoMO8EYH6w@mail.gmail.com \
--to=robh+dt-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=Alexey.Malahov-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org \
--cc=Pavel.Parkhomenko-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org \
--cc=Sergey.Semin-UN2wsyeM1qLJ45LvJ/SUn8gurn75+9Lz@public.gmane.org \
--cc=devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=fancer.lancer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=krzysztof.kozlowski+dt-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=krzysztof.kozlowski-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).