Re: [PATCH] mm: initialize kmem_cache pointer to NULL
From: Christoph Lameter
Date: Tue Oct 20 2015 - 16:06:26 EST
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@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/