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
| ||
|
Date: Thu, 11 Feb 2016 09:44:09 -0500 (EST) From: David Miller <davem@...emloft.net> To: amitoj1606@...il.com Cc: j.vosburgh@...il.com, vfalico@...il.com, gospo@...ulusnetworks.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, julia.lawall@...6.fr Subject: Re: [PATCH] bonding: Return correct error code From: Amitoj Kaur Chawla <amitoj1606@...il.com> Date: Sun, 7 Feb 2016 10:56:25 +0530 > The return value of kzalloc on failure of allocation of memory should > be -ENOMEM and not -1. > > Found using Coccinelle. A simplified version of the semantic patch > used is: ... > The single call site only checks that the return value is not 0, > hence no change is required at the call site. > > Signed-off-by: Amitoj Kaur Chawla <amitoj1606@...il.com> Applied, thanks.
Powered by blists - more mailing lists