Re: [PATCH] mmc: at91_mci: reorder timer setup and mmc_add_host() call

From: Marc Pignat
Date: Fri Nov 28 2008 - 02:29:15 EST


On Thursday 27 November 2008, Nicolas Ferre wrote:
> As said in function comment mmc_add_host() requires that:
> "The host must be prepared to start servicing requests
> before this function completes."
>
> During this function, at91_mci_request() can be invoqued
> without timer beeing setup leading to a kernel Oops.
> This has been reported inserting this driver as a module.
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> Reported-by: Wu Xuan <wux@xxxxxxxxxxxxx>

Bug introduced by me ;)

Ack

Best regards

Marc
--
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/