Re: [PATCH 1/5] HDQ Driver for OMAP2430/3430

From: Evgeniy Polyakov
Date: Tue Oct 14 2008 - 10:53:59 EST


On Tue, Oct 14, 2008 at 07:30:58AM -0700, Andrew Morton (akpm@xxxxxxxxxxxxxxxxxxxx) wrote:
> > Why not just skipping the waiting and returning error pretending user
> > really sent a signal?
>
> Better than nothing, but because signal_pending() isn't actually true,
> upper layers wil behave differently.

If they check...

For example omap_hdq_break() can be interrupted and omap_hdq_probe()
does not check its return value.

--
Evgeniy Polyakov
--
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/