Re: [PATCH] [media] stv090x: do not unlock unheld mutex in stv090x_sleep()

From: Manu Abraham
Date: Wed Feb 20 2013 - 01:58:19 EST


Hi,

On Wed, Feb 20, 2013 at 12:28 AM, Alexey Khoroshilov
<khoroshilov@xxxxxxxxx> wrote:
> goto err and goto err_gateoff before mutex_lock(&state->internal->demod_lock)
> lead to unlock of unheld mutex in stv090x_sleep().

Out of curiosity, what happens when you try to unlock an unlocked mutex ?

Regards,
Manu
--
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/