Re: [Patch] [mm] More driver core fixes for -mm

From: Cornelia Huck
Date: Tue Jul 25 2006 - 04:44:22 EST

On Tue, 25 Jul 2006 01:08:52 -0700,
Andrew Morton <akpm@xxxxxxxx> wrote:

> Removing symlinks seems like a good idea. Leaving them around might cause
> a subsequent driver load to fail due to EEXIST (assuming that the caller
> checks error codes, as if).
> I assume you're referring to error paths here?

Yes, that was my reasoning.

> But I made bus_attach_device() convert the positive return value to zero.
> See

Missed that, sorry.

> Is there a reason to propagate this irritating "1" back out of
> bus_attach_device() as well?

Probably not. Nobody cares whether the device was bound to a driver or

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
Please read the FAQ at