lkml.org 
[lkml]   [2010]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[65/91] isdn: gigaset: add missing unlock
    2.6.34-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Dan Carpenter <error27@gmail.com>

    commit 7e27a0aeb98d53539bdc38384eee899d6db62617 upstream.

    We should unlock here. This is the only place where we return from the
    function with the lock held. The caller isn't expecting it.

    Signed-off-by: Dan Carpenter <error27@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Tilman Schmidt <tilman@imap.cc>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/isdn/gigaset/capi.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/isdn/gigaset/capi.c
    +++ b/drivers/isdn/gigaset/capi.c
    @@ -1055,6 +1055,7 @@ static inline void remove_appl_from_chan
    do {
    if (bcap->bcnext == ap) {
    bcap->bcnext = bcap->bcnext->bcnext;
    + spin_unlock_irqrestore(&bcs->aplock, flags);
    return;
    }
    bcap = bcap->bcnext;



    \
     
     \ /
      Last update: 2010-08-25 01:03    [W:4.133 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site