Re: irq/manage.c wrong comment( ? )

From: Thomas Gleixner
Date: Wed Oct 24 2012 - 05:28:12 EST


On Sun, 21 Oct 2012, anish kumar wrote:

> ping...

Oh well.

> On Sat, 2012-10-13 at 00:32 +0900, anish kumar wrote:?
> > Hello tglx,
> >
> > I just found the below inconsistency while going through the code.
> >
> >
> > kernel/irq/manage.c
> >
> > if (new->flags & IRQF_ONESHOT) {
> > /*
> > * The thread_mask for the action is or'ed to
> > * desc->thread_active to indicate that the
> > * IRQF_ONESHOT thread handler has been woken, but not
> > * yet finished. The bit is cleared when a thread
> > * completes. When all threads of a shared interr
> >
> > Shouldn't this "desc->thread_active" be desc->threads_active ??

That's obvious, right? Please send a proper patch if you think it's
really that important.

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/