Re: [patch -next] power/gpio-charger: check for kzalloc() failure

From: Dan Carpenter
Date: Mon Dec 20 2010 - 15:30:33 EST


On Mon, Dec 20, 2010 at 09:04:54PM +0100, Lars-Peter Clausen wrote:
> This is now the 4th patch or so fixing this issue.

Haha. No one can resist the easy one liners. If I had had to kfree() a
single variable before returning then you can know for a fact I'd be too
lazy to fix it. :P

regards,
dan carpenter

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