lkml.org 
[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/9] ldisc: debug aids
    Date
    From: Alan Cox <alan@linux.intel.com>


    ---

    drivers/char/tty_ldisc.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)


    diff --git a/drivers/char/tty_ldisc.c b/drivers/char/tty_ldisc.c
    index 874c248..a19e935 100644
    --- a/drivers/char/tty_ldisc.c
    +++ b/drivers/char/tty_ldisc.c
    @@ -207,6 +207,7 @@ static void tty_ldisc_put(struct tty_ldisc *ld)
    ldo->refcount--;
    module_put(ldo->owner);
    spin_unlock_irqrestore(&tty_ldisc_lock, flags);
    + WARN_ON(ld->refcount);
    kfree(ld);
    }



    \
     
     \ /
      Last update: 2009-06-16 17:05    [W:0.028 / U:30.744 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site