20 Apr, 2011

4 commits

  • remove invalid location line in each file header after location
    moved from driver/char to driver/tty

    Signed-off-by: Jovi Zhang
    Signed-off-by: Greg Kroah-Hartman

    Jovi Zhang
     
  • Used the newly introduced deinitialize_tty_struct to properly shut
    down ldisc.

    It is intended to fix the Julian's reported problem. He reports that
    kmemleak checker warns about memory leak:
    unreferenced object 0xc0e19860 (size 8):
    comm cat, pid 1226, jiffies 4294919464 (age 287.476s)
    hex dump (first 8 bytes):
    44 de 2d c1 01 00 00 00 D.-.....
    backtrace:
    [] create_object+0x109/0x1ad
    [] kmem_cache_alloc+0x60/0x68
    [] tty_ldisc_get+0x54/0x76
    [] tty_ldisc_init+0xa/0x20
    [] initialize_tty_struct+0x2d/0x1ac
    [] tty_init_dev+0x59/0x10d
    [] tty_open+0x24a/0x3a2
    ...

    Signed-off-by: Jiri Slaby
    Cc: Alan Cox
    Reported-by: Julian Anastasov
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • Change it so that we call the deinit functions at one place at the end
    of the function (by gotos). And while at it use some sane label names.

    This is a preparation for the deinitialization of tty in the next
    patch.

    Signed-off-by: Jiri Slaby
    Cc: Alan Cox
    Cc: Julian Anastasov
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • Change it so that we call the deinit functions at one place at the end
    of the function (by gotos). And while at it use some sane label names.

    This is a preparation for the deinitialization of tty in the next
    patch.

    Signed-off-by: Jiri Slaby
    Cc: Alan Cox
    Cc: Julian Anastasov
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     

17 Mar, 2011

1 commit


02 Mar, 2011

1 commit


18 Feb, 2011

1 commit


05 Nov, 2010

1 commit