Re: [GIT pull] irq fixes for .39.rc
From: Thomas Gleixner
Date: Wed Mar 30 2011 - 12:46:22 EST
On Wed, 30 Mar 2011, Thomas Gleixner wrote:
> On Wed, 30 Mar 2011, Linus Torvalds wrote:
> >
> > which just makes me go "Somebody is really really confused".
> >
> > The whole thing may mean that both handler_data and chip_data contains
> > the right thing, but it still makes me go "WTF?".
> >
> > Which way should I resolve it?
>
> get_irq_desc_data() maps to irq_desc_get_handler_data() so Richards
> resolution is correct even if the other might work as well.
Older code which was not using any accessors has:
desc->handler_data
But yeah, the init stuff is confusing as hell.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/