lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 13 May 2022 11:18:10 +0200
From:   Arnd Bergmann <arnd@...db.de>
To:     Stephen Rothwell <sfr@...b.auug.org.au>
Cc:     Olof Johansson <olof@...om.net>, Arnd Bergmann <arnd@...db.de>,
        ARM <linux-arm-kernel@...ts.infradead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Arınç ÜNAL <arinc.unal@...nc9.com>,
        Rafał Miłecki <rafal@...ecki.pl>,
        Florian Fainelli <f.fainelli@...il.com>,
        bcm-kernel-feedback-list <bcm-kernel-feedback-list@...adcom.com>
Subject: Re: linux-next: build warnings after merge of the arm-soc tree

On Fri, May 13, 2022 at 9:29 AM Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> On Fri, 6 May 2022 08:58:15 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> >
> > After merging the arm-soc tree, today's linux-next build (arm
> > multi_v7_defconfig) produced these warnings:
> >
> > arch/arm/boot/dts/bcm953012hr.dts:57.3-33: Warning (reg_format): /nand-controller@...28000/nand@...artition@0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
> > arch/arm/boot/dts/bcm953012hr.dts:62.3-33: Warning (reg_format): /nand-controller@...28000/nand@...artition@...000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
> > arch/arm/boot/dts/bcm953012hr.dts:66.3-33: Warning (reg_format): /nand-controller@...28000/nand@...artition@...000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
> > arch/arm/boot/dts/bcm953012hr.dts:70.3-33: Warning (reg_format): /nand-controller@...28000/nand@...artition@...0000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
> > arch/arm/boot/dts/bcm953012hr.dtb: Warning (pci_device_reg): Failed prerequisite 'reg_format'
> > arch/arm/boot/dts/bcm953012hr.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
> > arch/arm/boot/dts/bcm953012hr.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
> > arch/arm/boot/dts/bcm953012hr.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
> > arch/arm/boot/dts/bcm953012hr.dts:55.14-59.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@0: Relying on default #address-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:55.14-59.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@0: Relying on default #size-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:60.19-63.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@...000: Relying on default #address-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:60.19-63.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@...000: Relying on default #size-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:64.19-67.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@...000: Relying on default #address-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:64.19-67.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@...000: Relying on default #size-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:68.20-71.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@...0000: Relying on default #address-cells value
> > arch/arm/boot/dts/bcm953012hr.dts:68.20-71.4: Warning (avoid_default_addr_size): /nand-controller@...28000/nand@...artition@...0000: Relying on default #size-cells value
> >
> > I don't know what caused this now.
>
> I am still getting these warnings.

Thank you for the reminder, I have now reverted commit 90103611d573 ("ARM: dts:
BCM5301X: Fix DTC warning for NAND node"), which caused the problem.

The patch was meant to fix a different warning

Warning (avoid_unnecessary_addr_size):
/nand-controller@...28000/nand@0: unnecessary
#address-cells/#size-cells without "ranges" or child "reg" property

but I don't see that here, so I don't know if it was actually required.

Arınç, Rafał, Florian: if the original problem comes back now, please
send a follow-up patch
that addresses all the warnings.

      Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ