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: <alpine.DEB.2.10.1510211332080.31868@chino.kir.corp.google.com>
Date:	Wed, 21 Oct 2015 13:32:20 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Alexandru Moise <00moses.alexander00@...il.com>
cc:	cl@...ux.com, penberg@...nel.org, iamjoonsoo.kim@....com,
	akpm@...ux-foundation.org, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: initialize kmem_cache pointer to NULL

On Tue, 20 Oct 2015, Alexandru Moise wrote:

> The assignment to NULL within the error condition was written
> in a 2014 patch to suppress a compiler warning.
> However it would be cleaner to just initialize the kmem_cache
> to NULL and just return it in case of an error condition.
> 
> Signed-off-by: Alexandru Moise <00moses.alexander00@...il.com>

Acked-by: David Rientjes <rientjes@...gle.com>
--
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