]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/boot/dts: Fix dtc "pciex" warnings
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 23 Jun 2020 13:03:20 +0000 (23:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 30 Jun 2020 04:38:00 +0000 (14:38 +1000)
commit352b1f924892eb44d4d9ee5e6e8eafb05fe4a71e
tree51fae554573658b8fa31e92c16f004d189a0947b
parentdc49c717621b66d3487815ec0d828bd62bf09600
powerpc/boot/dts: Fix dtc "pciex" warnings

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@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@ellerman.id.au>
Link: https://lore.kernel.org/r/20200623130320.405852-1-mpe@ellerman.id.au
arch/powerpc/boot/dts/akebono.dts
arch/powerpc/boot/dts/bluestone.dts
arch/powerpc/boot/dts/canyonlands.dts
arch/powerpc/boot/dts/currituck.dts
arch/powerpc/boot/dts/glacier.dts
arch/powerpc/boot/dts/haleakala.dts
arch/powerpc/boot/dts/icon.dts
arch/powerpc/boot/dts/katmai.dts
arch/powerpc/boot/dts/kilauea.dts
arch/powerpc/boot/dts/makalu.dts
arch/powerpc/boot/dts/redwood.dts