Re: [PATCH] tlclk: fix platform_device_register_simple() error check

From: Mark Gross
Date: Wed Jan 03 2007 - 12:01:20 EST


On Tue, Dec 05, 2006 at 10:25:43AM -0800, Mark Gross wrote:
> On Sat, Dec 02, 2006 at 01:03:32PM +0900, Akinobu Mita wrote:
> > On Wed, Nov 29, 2006 at 01:17:57PM -0800, Mark Gross wrote:
> > > > We expect platform_device_register_simple() returns proper errno as pointer
> > > > when it fails.
> > >
> > > What's wrong with EBUSY?
> >
> > -ENOMEM or -EINVAL could be returned by platform_device_register_simple()
> > logically. And we don't know what kind of change will be made into driver
> > core in future.
>
> Ok, would you like me to ack your earlier patch or will you send a new
> one?

I'm working on an update to the tlclk driver to avoid a race in the open
and read functions. Do you have any changes I should roll into the
driver?

--mgross
-
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/