Re: [PATCH RESEND] jz4740-hwmon: check kmalloc() result

From: Ralf Baechle
Date: Sun Aug 01 2010 - 21:52:21 EST


On Mon, Aug 02, 2010 at 09:16:35AM +0800, Axel Lin wrote:

> From: Axel Lin <axel.lin@xxxxxxxxx>
> Date: Mon, 2 Aug 2010 09:02:26 +0800
> Subject: [PATCH] jz4740-hwmon: check kmalloc() result
>
> If kmalloc() fails exit with -ENOMEM.

Thanks, folded into the existing patch.

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