Re: Bug or feature? /somenode overwrites /somenode@17 in fdt-overlay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux