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

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Nov 22 19:55:09 EST 2013


On Fri, Nov 22, 2013 at 04:43:35PM -0800, Tony Lindgren wrote:
> +		/* 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.



More information about the linux-arm-kernel mailing list