[PATCH] powerpc/boot/dts: Fix dtc "pciex" warnings

Stephen Rothwell sfr at canb.auug.org.au
Wed Jun 24 09:06:21 AEST 2020


Hi Michael,

On Tue, 23 Jun 2020 23:03:20 +1000 Michael Ellerman <mpe at ellerman.id.au> wrote:
>
> With CONFIG_OF_ALL_DTBS=y, as set by eg. allmodconfig, we see lots of
> warnings about our dts files, such as:
> 
>   arch/powerpc/boot/dts/glacier.dts:492.26-532.5:
>   Warning (pci_bridge): /plb/pciex at d00000000: node name is not "pci"
>   or "pcie"
> 
> The node name should not particularly matter, it's just a name, and
> AFAICS there's no kernel code that cares whether nodes are *named*
> "pciex" or "pcie". So shutup these warnings by converting to the name
> dtc wants.
> 
> As always there's some risk this could break something obscure that
> does rely on the name, in which case we can revert.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Thanks for that.  I have applied it to my "fixes" tree until it turns
up elsewhere.

-- 
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200624/7a475b43/attachment.sig>


More information about the Linuxppc-dev mailing list