Re: 2.6.23-rc6-mm1: atomic counter underflow

From: Mariusz Kozlowski
Date: Thu Sep 20 2007 - 13:27:57 EST


Hello,

> > -ECONFUSED. Perhaps DEBUG_DRIVER may help some more. Or /me getting
> > some sleep.
>
> Sleeping helped (improved reading abilities).
>
> From: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
>
> mmc: Avoid double sdio_unregister_bus() on module unload.
>
> Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>

Ok - I can confirm that this patch fixes the problem.

Thanks,

Mariusz

> ---
> drivers/mmc/core/core.c | 1 -
> 1 files changed, 1 deletion(-)
>
> --- linux-2.6.orig/drivers/mmc/core/core.c
> +++ linux-2.6/drivers/mmc/core/core.c
> @@ -820,7 +820,6 @@ static void __exit mmc_exit(void)
> {
> sdio_unregister_bus();
> mmc_unregister_key_type();
> - sdio_unregister_bus();
> mmc_unregister_host_class();
> mmc_unregister_bus();
> destroy_workqueue(workqueue);
-
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/