lkml.org 
[lkml]   [2008]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2008-09-20 13:07    [W:0.252 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site