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@xxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html