lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100923154407.GA17807@core.coreip.homeip.net>
Date:	Thu, 23 Sep 2010 08:44:07 -0700
From:	Dmitry Torokhov <dmitry.torokhov@...il.com>
To:	Davidlohr Bueso <dave@....org>
Cc:	LKML <linux-kernel@...r.kernel.org>, linux-input@...r.kernel.org
Subject: Re: [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@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ