Re: [PATCH] twl6040: fix wrong kfree in twl6040_remove andtwl6040_codec_remove

From: Mark Brown
Date: Fri Jul 16 2010 - 05:36:35 EST


On Fri, Jul 16, 2010 at 05:26:48PM +0800, Axel Lin wrote:
> Memory allocation part:
> We allocate a memory in twl6040_codec_probe():
> priv = kzalloc(sizeof(struct twl6040_data), GFP_KERNEL);
> twl6040_codec = codec = &priv->codec;

Could you please try to take on board the feedback you were given
yesterday about this sort of stuff? Both the feedback about formatting
your patch so it's easy to apply and the collisions with other, more
substantial, work that's going on?
--
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/