Re: [PATCH] of/irq: init struct resource to 0 in of_irq_to_resource()

2013-07-20 Thread Grant Likely
On Thu, 18 Jul 2013 21:49:27 -0500, Rob Herring wrote: > On 07/18/2013 05:24 AM, Sebastian Andrzej Siewior wrote: > > It almost does not matter because most users use only the ->start member > > of the struct. However if this struct is passed to a platform device > > which is then added via platfo

Re: [PATCH] of/irq: init struct resource to 0 in of_irq_to_resource()

2013-07-19 Thread Rob Herring
On Fri, Jul 19, 2013 at 1:57 AM, Sebastian Andrzej Siewior wrote: > On 07/19/2013 04:49 AM, Rob Herring wrote: >> On 07/18/2013 05:24 AM, Sebastian Andrzej Siewior wrote: >>> It almost does not matter because most users use only the ->start member >>> of the struct. However if this struct is passe

Re: [PATCH] of/irq: init struct resource to 0 in of_irq_to_resource()

2013-07-18 Thread Sebastian Andrzej Siewior
On 07/19/2013 04:49 AM, Rob Herring wrote: > On 07/18/2013 05:24 AM, Sebastian Andrzej Siewior wrote: >> It almost does not matter because most users use only the ->start member >> of the struct. However if this struct is passed to a platform device >> which is then added via platform_device_add()

Re: [PATCH] of/irq: init struct resource to 0 in of_irq_to_resource()

2013-07-18 Thread Rob Herring
On 07/18/2013 05:24 AM, Sebastian Andrzej Siewior wrote: > It almost does not matter because most users use only the ->start member > of the struct. However if this struct is passed to a platform device > which is then added via platform_device_add() then the ->parent member is > also used. Most u

[PATCH] of/irq: init struct resource to 0 in of_irq_to_resource()

2013-07-18 Thread Sebastian Andrzej Siewior
It almost does not matter because most users use only the ->start member of the struct. However if this struct is passed to a platform device which is then added via platform_device_add() then the ->parent member is also used. Signed-off-by: Sebastian Andrzej Siewior --- drivers/of/irq.c | 1 +