Re: [PATCH 1/4] V4L: cx231xx, fix lock imbalance

From: Devin Heitmueller
Date: Wed Oct 27 2010 - 08:28:59 EST


On Wed, Oct 27, 2010 at 7:47 AM, Jiri Slaby <jslaby@xxxxxxx> wrote:
> Stanse found that there is mutex_lock in a fail path of
> cx231xx_i2c_xfer instead of mutex_unlock (i.e. double lock + leaving a
> function in locked state). So fix that.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Cc: Devin Heitmueller <dheitmueller@xxxxxxxxxxxxx>

This was already reported and a patch was submitted by Dan Carpenter
on October 21. See mail on that day with subject line: "[patch]
V4L/DVB: cx231xx: fix double lock typo".

Cheers,

Devin

--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
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/