Messages in this thread | | | Date | Tue, 20 Oct 2015 15:06:19 -0500 (CDT) | From | Christoph Lameter <> | 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.
Acked-by: Christoph Lameter <cl@linux.com>
| |