On Mon, Dec 26, 2011 at 05:17:26PM +0100, Julia Lawall wrote: > And I guess that eg using kfree to free something allocated using > devm_kzalloc would be completely wrong, leading to a dangling > pointer? I'd expect that matching kfree() with devm_kzalloc() would lead to an attempt to double free whenever the devm_ mechanism kicks in. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html