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]
Message-ID: <CAL_JsqLvUygPQYhsaCuRjwPXJrKR9sASWWLvrSTsBdR44SBbuA@mail.gmail.com>
Date: Fri, 25 Oct 2024 08:44:26 -0500
From: Rob Herring <robh@...nel.org>
To: Herve Codina <herve.codina@...tlin.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>, Philipp Zabel <p.zabel@...gutronix.de>, 
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the reset tree

On Fri, Oct 25, 2024 at 1:28 AM Herve Codina <herve.codina@...tlin.com> wrote:
>
> Hi all,
>
> On Fri, 25 Oct 2024 11:09:19 +1100
> Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> > Hi all,
> >
> > After merging the reset tree, today's linux-next build (x86_64
> > allmodconfig) produced this warning:
> >
> > drivers/misc/lan966x_pci.dtso:34.23-40.7: Warning (interrupts_property): /fragment@..._overlay__/pci-ep-bus@...ic@...c0120: Missing interrupt-parent
> >
> > Introduced by commit
> >
> >   185686beb464 ("misc: Add support for LAN966x PCI device")
> >
>
> This warning is normal.
> interrupt-parent is not present in the oic node. This was discussed in
> https://lore.kernel.org/all/CAL_Jsq+je7+9ATR=B6jXHjEJHjn24vQFs4Tvi9=vhDeK9n42Aw@mail.gmail.com/

We can't have warnings especially in things outside of arch/. Doesn't
matter why.

The choices to fix are:

- Override DTC_FLAGS in drivers/misc/. You can set DTC_FLAGS_lan966x_pci

- Disable the check in dtc for overlays. We've done this for other cases.

- Add enough info into the overlay to avoid the warnings. This might
mean the overlay has to be applied up one node level. It is
duplicating a few things which are in the base tree. This is my
preference because it makes the overlay stand on its own. We'll have
the same issue with dtschema checks too if we don't do this.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ