lkml.org 
[lkml]   [2010]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] input: for best practices, return -ENOMEM instead of -1 when returning on mem allocation errors
    On Thu, Sep 23, 2010 at 10:14:05AM -0400, Davidlohr Bueso wrote:
    > input: for best practices, return -ENOMEM instead of -1 when returning on mem allocation errors.
    >
    > Signed-off-by: Davidlohr Bueso <dave@gnu.org>

    Applied, thank you Davidlohr.

    FWIW there are more code in drivers/input/serio and drivers/input/mouse/
    that return -1 instead of a proper error codes.

    --
    Dmitry


    \
     
     \ /
      Last update: 2010-09-27 20:09    [W:0.022 / U:0.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site