Re: device_for_each_child() before device_add() doesn't work

From: Greg KH
Date: Wed Apr 15 2009 - 23:06:33 EST


On Wed, Apr 15, 2009 at 03:51:03PM +0100, David Vrabel wrote:
> Greg KH wrote:
> >
> > So the problem is for the first device being added, right? Can't you
> > just have a flag for this?
>
> It's trivial to fix in the UWB stack.

I'd recommend doing that :)

> >> This address must be assigned during initialization and during normal
> >> operation and in the past we didn't need to special case the address
> >> assignment during initialization.
> >
> > Does the patch below fix the problem for you?
>
> Yes.

Thanks for testing, I've now added the patch to my tree.

greg k-h
--
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/