[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080920130359.61c6a916@mjolnir.drzeus.cx>
Date: Sat, 20 Sep 2008 13:03:59 +0200
From: Pierre Ossman <drzeus-mmc@...eus.cx>
To: Akinobu Mita <akinobu.mita@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mmc_test: initialize mmc_test_lock statically
On Sat, 13 Sep 2008 19:03:32 +0900
Akinobu Mita <akinobu.mita@...il.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@...il.com>
> Cc: Pierre Ossman <drzeus-mmc@...eus.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists