23 Mar, 2011

1 commit


25 May, 2010

1 commit

  • Add __must_check to error pointer handlers to have the compiler warn about
    mistakes like:

    if (err)
    ERR_PTR(err);

    It found two bugs:

    Mar 12 Nikula Jani [PATCH] enclosure: fix error path - actually return ERR_PTR() on error
    Mar 12 Nikula Jani [PATCH] sunrpc: fix error path - actually return ERR_PTR() on error

    Signed-off-by: Jani Nikula
    Cc: Phil Carmody
    Cc: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jani Nikula
     

16 Dec, 2009

1 commit

  • There are quite a few instances in the kernel of checks of pointers both
    against NULL and against the errno range, handling both cases identically.
    This additional helper function would simplify such code.

    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Phil Carmody
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Phil Carmody
     

08 Feb, 2008

1 commit

  • Add an ERR_CAST() function to complement ERR_PTR and co. for the purposes
    of casting an error entyped as one pointer type to an error of another
    pointer type whilst making it explicit as to what is going on.

    This provides a replacement for the ERR_PTR(PTR_ERR(p)) construct.

    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     

27 Sep, 2006

1 commit


02 Jul, 2006

1 commit

  • o Raise the maximum error number in IS_ERR_VALUE to 4095.
    o Make that number available as a new constant MAX_ERRNO.

    Signed-off-by: Ralf Baechle
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     

20 May, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds