19 Aug, 2011

1 commit


22 Mar, 2011

13 commits


26 Jan, 2011

1 commit

  • The -rt patches change the console_semaphore to console_mutex. As a
    result, a quite large chunk of the patches changes all
    acquire/release_console_sem() to acquire/release_console_mutex()

    This commit makes things use more neutral function names which dont make
    implications about the underlying lock.

    The only real change is the return value of console_trylock which is
    inverted from try_acquire_console_sem()

    This patch also paves the way to switching console_sem from a semaphore to
    a mutex.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: make console_trylock return 1 on success, per Geert]
    Signed-off-by: Torben Hohn
    Cc: Thomas Gleixner
    Cc: Greg KH
    Cc: Ingo Molnar
    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Torben Hohn
     

01 Apr, 2009

1 commit


24 Aug, 2008

1 commit


06 Aug, 2008

1 commit

  • commit 20e061fb750d36ec0ffcb2e44ed7dafa9018223b
    Author: Ondrej Zajicek
    Date: Mon Apr 28 02:15:18 2008 -0700

    fbdev: framebuffer_alloc() fixes

    Correct the dev arg of framebuffer_alloc() in arkfb, s3fb and vt8623fb.

    causes a null-pointer deref because "info->dev is NULL, info was just
    kzallocated".

    Signed-off-by: Ondrej Zajicek
    Reported-by: "MadLoisae@gmx.net"
    Tested-by: "MadLoisae@gmx.net"
    Cc: Alexey Dobriyan
    Cc: "Antonino A. Daplas"
    Cc: Krzysztof Helt
    Cc: [2.6.26.x]
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     

31 Jul, 2008

1 commit

  • The mutex is released on a successful return, so it would seem that it
    should be released on an error return as well.

    The semantic patch finds this problem is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    expression l;
    @@

    mutex_lock(l);
    ... when != mutex_unlock(l)
    when any
    when strict
    (
    if (...) { ... when != mutex_unlock(l)
    + mutex_unlock(l);
    return ...;
    }
    |
    mutex_unlock(l);
    )
    //

    Signed-off-by: Julia Lawall
    Acked-by: Krzysztof Helt
    Acked-by: Ondrej Zajicek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Julia Lawall
     

28 Apr, 2008

2 commits


01 Jun, 2007

1 commit


10 May, 2007

2 commits