public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] misc: Silence warning when building the LAN966x device tree overlay
@ 2024-10-25 16:17 Philipp Zabel
  2024-10-25 16:38 ` Herve Codina
  2024-10-25 16:53 ` Philipp Zabel
  0 siblings, 2 replies; 5+ messages in thread
From: Philipp Zabel @ 2024-10-25 16:17 UTC (permalink / raw)
  To: Stephen Rothwell, Herve Codina, Rob Herring
  Cc: linux-kernel, linux-next, Arnd Bergmann, Greg Kroah-Hartman,
	Philipp Zabel

Silence the following warning when building the LAN966x device tree overlay:

drivers/misc/lan966x_pci.dtso:34.23-40.7: Warning (interrupts_property): /fragment@0/__overlay__/pci-ep-bus@0/oic@e00c0120: Missing interrupt-parent

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/all/20241025110919.64b1cffb@canb.auug.org.au/
Fixes: 185686beb464 ("misc: Add support for LAN966x PCI device")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
The referenced commit is in the reset tree.
Changes in v2:
- Do not handle W=1 warnings.
- Link to v1: https://lore.kernel.org/all/20241025145353.1620806-1-p.zabel@pengutronix.de/
---
 drivers/misc/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 885b22989580..196fb730817e 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -72,6 +72,7 @@ obj-$(CONFIG_TPS6594_PFSM)	+= tps6594-pfsm.o
 obj-$(CONFIG_NSM)		+= nsm.o
 obj-$(CONFIG_MARVELL_CN10K_DPI)	+= mrvl_cn10k_dpi.o
 lan966x-pci-objs		:= lan966x_pci.o
+DTC_FLAGS_lan966x_pci		:= -Wno-interrupts_property
 lan966x-pci-objs		+= lan966x_pci.dtbo.o
 obj-$(CONFIG_MCHP_LAN966X_PCI)	+= lan966x-pci.o
 obj-y				+= keba/
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-26 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 16:17 [PATCH v2] misc: Silence warning when building the LAN966x device tree overlay Philipp Zabel
2024-10-25 16:38 ` Herve Codina
2024-10-25 16:53 ` Philipp Zabel
2024-10-25 17:21   ` Herve Codina
2024-10-26 11:34     ` Herve Codina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox