Re: [patch] slub: remove impossible condition

From: Christoph Lameter
Date: Fri Jan 15 2010 - 18:39:14 EST


On Fri, 15 Jan 2010, David Rientjes wrote:

> `s' cannot be NULL if kmalloc_caches is not NULL.
>
> This conditional would trigger a NULL pointer on `s', anyway, since it is
> immediately derefernced if true.

Ok that was caused by the patches for the dma kmalloc in the -next tree.

Acked-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>

--
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/