[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1e7ee2f56f044e50acacf9481a9ee746@EMAIL.axentia.se>
Date: Thu, 16 Apr 2015 13:08:11 +0000
From: Peter Rosin <peda@...ntia.se>
To: "weiyj_lk@....com" <weiyj_lk@....com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>
CC: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] ASoC: tfa9879: Fix return value check in
tfa9879_i2c_probe()
Wei Yongjun wrote:
> In case of error, the function devm_kzalloc() returns NULL not ERR_PTR().
> The IS_ERR() test in the return value check should be replaced with NULL
> test.
Acked-by: Peter Rosin <peda@...ntia.se>
Thanks,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists