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

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Oct 11 13:38:49 CEST 2010


On Sat, Oct 09, 2010 at 09:31:31PM +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 at gmail.com>

Applied, thanks.


More information about the Alsa-devel mailing list