Re: [PATCH] Driver core: fix error handling in device_bind_driver()

From: Andrew Morton
Date: Thu Oct 12 2006 - 14:53:08 EST


On Thu, 12 Oct 2006 01:05:55 -0400
Dmitry Torokhov <dtor@xxxxxxxxxxxxx> wrote:

> Subject: Driver core: fix error handling in device_bind_driver()
> From: Dmitry Torokhov <dtor@xxxxxxxxxxxxx>
>
> When link creation fails we not only need to signal error
> but also remove device from driver's list of bound devices.
>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
> ---
>
> drivers/base/dd.c | 29 ++++++++++++++++++-----------
> 1 files changed, 18 insertions(+), 11 deletions(-)
>
> Index: work/drivers/base/dd.c
> ===================================================================
> --- work.orig/drivers/base/dd.c
> +++ work/drivers/base/dd.c

This code has undergone basic restructuring in Greg's development tree. A
patch against rc1-mm1 would apply.
-
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/