Re: [PATCH] checks: Do not check overlays for alias paths

David Gibson <[email protected]> Mon, 25 Aug 2025 11:56:56 +1000
Newsgroups org.kernel.vger.devicetree-compiler
Message-ID <aKvC6Puxv8mGEE4w@zatzit>
On Fri, Aug 22, 2025 at 12:10:38PM -0500, Andrew Davis wrote:
> The path given as an alias inside an overlay can be a path to a node
> in the base DT. The path check searches only the overlay as that is
> the only tree available leading to false check failures.
> 
> Skip this check when checking an overlay.
> 
> Signed-off-by: Andrew Davis <[email protected]>

Applied, thanks.  If you have a chance, adding a testcase for this
would be nice.

-- 
David Gibson (he or they)	| 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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmirwucACgkQzQJF27ox
2Gf+tg//cWfZMRdubZMLFq51MSjmtAre0BOnUDTADdtbttU8yamBtaGF4nDqOzfP
KKBOfKq7F4+MrEBJzdFycPkUFuprUXfHFEvZ8/tsGrbeqNT3CgBmrPT4t+shin6s
5sSvpPCJWIK+HDH8S5VzNlCZzyvfEZ6mEc1ULGzewOzP6fJS8awnyBLQXigoiYEv
n4oxUS1yGFiXjSs926hJdxJjhRMKmW14BcJOGYFxv4J50V50mgKbMxNTljYUBS/v
RlagXUw7vBw3J44EmvaFg6Q3E1iO+4WktJsKP/S0PR2P8qaca21rgJ9VR96xskUj
x5TlmOvcm0ih2YUhkEGGpHgPddfuOiCG+/d3kGvIG7fDUGoEXhdT4Ov0xRcQgU9k
NIgWbXYNiNUb2voXbzhufPyf1Mie+k/AthbAwoP/G6dPuzbPiQJLaNlBByoMYmeT
MynsEwiy8B9EaF4lkSq1WqFhZ2gyCXYCQbbCkIWqF0N7XTwD2ccUtCB0qawFw/S5
F5duNH5WlEs85h761fug70JNJ0LxoWJUco5sTn9AhOC9vJxjJowo6VXlyfmgwa0D
xAOsrRub6LXCO6QRmTQYkZvLbr9Jj4Vd2sCgAqcch4IZYP5+rKG6G4BmpQLYwVnv
9LUDRPjb+AI+Kw5j6tTZZEhaIE1VO/0aduAxONuG3gqIwDp3fGw=
=mxuM
-----END PGP SIGNATURE-----