public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* question about arch/arm/mach-s3c24xx/irq.c
@ 2013-02-24 11:45 Julia Lawall
  2013-02-24 12:38 ` Russell King - ARM Linux
  0 siblings, 1 reply; 6+ messages in thread
From: Julia Lawall @ 2013-02-24 11:45 UTC (permalink / raw)
  To: linux-arm-kernel

The function s3c24xx_irq_map in arch/arm/mach-s3c24xx/irq.c contains the
code:

                parent_irq_data = &parent_intc->irqs[irq_data->parent_irq];
		if (!irq_data) {
                        pr_err("irq-s3c24xx: no irq data found for hwirq %lu\n",
                               hw);
                        goto err;
		}

At this point irq_data has already been tested, so the null test on
irq_data does not look correct.  But I wonder if parent_irq_data could
ever be null here?

julia

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

end of thread, other threads:[~2013-02-24 17:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24 11:45 question about arch/arm/mach-s3c24xx/irq.c Julia Lawall
2013-02-24 12:38 ` Russell King - ARM Linux
2013-02-24 13:39   ` Julia Lawall
2013-02-24 15:11     ` Heiko Stübner
2013-02-24 15:45       ` Julia Lawall
2013-02-24 17:49         ` Heiko Stübner

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