Re: [patch] ASoC: checking kzalloc() for IS_ERR() instead of NULL

Dimitris Papastamos
2010-10-11T11:16:03Z

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
> ERR_PTR.
>
> Signed-off-by: Dan Carpenter <error27@gmail.com>
>

Thanks for noticing this.

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