devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
To: "Uwe Kleine-König"
	<u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Bug or feature? /somenode overwrites /somenode@17 in fdt-overlay
Date: Sat, 29 Apr 2023 16:22:11 +1000	[thread overview]
Message-ID: <ZEy3k++MQmQ++hbu@yekko> (raw)
In-Reply-To: <20230428184007.56cwbzk5fe5trb4z-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

On Fri, Apr 28, 2023 at 08:40:07PM +0200, Uwe Kleine-König wrote:
> Hello David,
> 
> On Fri, Apr 28, 2023 at 08:04:49PM +0200, Uwe Kleine-König wrote:
> > Still adding the strict flavour variants of the affected functions is a
> > good idea. Then future usages can consciously choose which semantic is
> > intended.
> 
> Another surprising instance is fdt_get_alias() which might behave in
> strange ways if there is a node at /aliases@12345.

Technically true, but having /aliases@anything is something that
should never happen anyway.  We should probably add a check for that,
if we don't have one yet.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2023-04-29  6:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25 14:55 Bug or feature? /somenode overwrites /somenode@17 in fdt-overlay Uwe Kleine-König
     [not found] ` <20230425145504.tswuitufzikuhmnz-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2023-04-25 16:25   ` Rob Herring
2023-04-28  7:01   ` David Gibson
2023-04-28 18:04     ` Uwe Kleine-König
     [not found]       ` <20230428180441.hn34wlwevuj75zml-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2023-04-28 18:40         ` Uwe Kleine-König
     [not found]           ` <20230428184007.56cwbzk5fe5trb4z-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2023-04-29  6:22             ` David Gibson [this message]
2023-04-29  6:21         ` David Gibson

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=ZEy3k++MQmQ++hbu@yekko \
    --to=david-xt8fgy+axnrb3ne2bgzf6laj5h9x9tb+@public.gmane.org \
    --cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@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).