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] [day] [month] [year] [list]
Message-ID: <CACRpkdZ97=TuKLa-UOSfCiCGdK7JAkb_GH8g_RTU_-yeh8bwhg@mail.gmail.com>
Date:	Tue, 31 May 2016 10:33:24 +0200
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc:	"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: return -ENOMEM instead of -EINVAL for
 kasprintf() failure

On Wed, May 25, 2016 at 1:14 PM, Masahiro Yamada
<yamada.masahiro@...ionext.com> wrote:

> -ENOMEM is more suitable error code because kasprintf() fails
> in case of memory shortage.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>

Obviously correct.

Patch applied.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ