Messages in this thread | | | Date | Sat, 20 Sep 2008 13:03:59 +0200 | From | Pierre Ossman <> | Subject | Re: [PATCH] mmc_test: initialize mmc_test_lock statically |
| |
On Sat, 13 Sep 2008 19:03:32 +0900 Akinobu Mita <akinobu.mita@gmail.com> wrote:
> The mutex mmc_test_lock is initialized at every time mmc_test device > is probed. Probing another mmc_test device may break the mutex, if > the probe function is called while the mutex is locked. > > This patch fixes it by statically initializing mmc_test_lock. > > Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> > Cc: Pierre Ossman <drzeus-mmc@drzeus.cx> > ---
Also applied.
-- -- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.
| |