Subject: Re: linux-next: build warnings in Linus' tree

From: Rob Herring <[email-masked]>
Date: Wed, 13 Oct 2021 18:22:13 -0500

On Wed, Oct 13, 2021 at 5:28 PM Anatolij Gustschin <[email-masked]> wrote:
>
> On Wed, 13 Oct 2021 17:17:25 -0500
> Rob Herring [email-masked] wrote:
> ...
> >In general, you shouldn't need to be changing the drivers. Can you
> >tell me which warnings need driver changes?
>
> ethernet and mdio drivers share registers, so they use same unit-address:
>
> arch/powerpc/boot/dts/tqm5200.dts:127.17-133.5: Warning (unique_unit_address): /soc5200@f0000000/ethernet@3000: duplicate unit-address (also used in node /soc5200@f0000000/mdio@3000)
>
> arch/powerpc/boot/dts/mpc5200b.dtsi:218.23-223.5: Warning (unique_unit_address): /soc5200@f0000000/ethernet@3000: duplicate unit-address (also used in node /soc5200@f0000000/mdio@3000)
>   also defined at arch/powerpc/boot/dts/digsy_mtc.dts:60.17-62.5

Those are W=1 warnings and off by default. You shouldn't fix them if
it breaks compatibility with the driver.

Rob