Re: [PATCH] Driver core: Don't ignore bus_attach_device() retval

From: Cornelia Huck
Date: Fri Oct 13 2006 - 02:37:17 EST


On Thu, 12 Oct 2006 17:41:46 -0400 (EDT),
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> I don't care too much one way or another. Although missing symlinks might
> cause problems for certain user programs.

Hm, yes, that might happen. I'll give it some more thought.

> No, I meant device_bind_driver(). Try to create the symlinks first, and
> if that succeeds (or if you don't care when it fails) then call
> driver_bound(). This confusion may be a result of looking at different
> source trees.

Ah, ok, I was looking at current git.

> Do you want to write another patch?

I'll see what I can come up with.

--
Cornelia Huck
Linux for zSeries Developer
Tel.: +49-7031-16-4837, Mail: cornelia.huck@xxxxxxxxxx
-
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/