[PATCH] staging: gdm72xx: Fix spinlock recursion on gdm_usb_send_complete

Dan Carpenter dan.carpenter at oracle.com
Tue Jun 12 19:23:59 UTC 2012


On Wed, Jun 06, 2012 at 11:01:26PM -0700, Ben Chan wrote:
> This patch fixes a spinlock recursion bug on several call sites of
> gdm_usb_send_complete by not calling spin_lock_irqsave on
> urb->context->tx_cxt->lock when the lock has already been acquired.
> 
> Signed-off-by: Ben Chan <benchan at chromium.org>
> Cc: Sage Ahn <syahn at gctsemi.com>
> ---

Ben doesn't want this patch appied.  He sent a version 2 in a later
thread.

regards,
dan carpenter



More information about the devel mailing list