Messages in this thread | | | Date | Tue, 14 Oct 2008 07:30:58 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 1/5] HDQ Driver for OMAP2430/3430 |
| |
> On Tue, 14 Oct 2008 17:42:49 +0400 Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote: > Hi. > > On Tue, Oct 14, 2008 at 05:50:02AM -0700, Andrew Morton (akpm@linux-foundation.org) wrote: > > I think it's reasonable to permit the driver's operations to be interrupted > > in this manner. It's done in quite a few other places. But the problem is > > actually *testing* it. > > 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.
| |