[alsa-devel] [patch] ASoC: checking kzalloc() for IS_ERR() instead of NULL

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Mon Oct 11 13:16:03 CEST 2010

On Sat, 2010-10-09 at 21:31 +0200, Dan Carpenter wrote:
> There is a typo here that got copy and pasted to several probe
> functions.  kzalloc() returns NULL on allocation failures and not an
> Signed-off-by: Dan Carpenter <error27 at gmail.com>

Thanks for noticing this.

Acked-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>

More information about the Alsa-devel mailing list