Re: slob: Check for NULL pointer before calling ctor()

From: Christoph Lameter
Date: Thu Jan 17 2013 - 16:16:39 EST


On Thu, 17 Jan 2013, Steven Rostedt wrote:

> The solution is to only call the ctor() method if allocation succeeded.

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/