Thread (40 messages) 40 messages, 7 authors, 2014-01-08

[PATCH] of/platform: Fix no irq domain found errors when populating interrupts

From: tony@atomide.com (Tony Lindgren)
Date: 2013-11-23 01:09:00
Also in: linux-devicetree, lkml

* Russell King - ARM Linux [off-list ref] [131122 16:56]:
On Fri, Nov 22, 2013 at 04:43:35PM -0800, Tony Lindgren wrote:
quoted
+		/* See of_device_resource_notify for populating interrupts */
+		for (i = 0; i < num_irq; i++, res++) {
+			res->flags = IORESOURCE_IRQ;
+			res->start = -EPROBE_DEFER;
+			res->end = -EPROBE_DEFER;
NAK.  Definitely a bad idea to start introducing magic values other into
resources.  Please don't do this.
Do you have any better ideas on how to sort out this issue then?

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help