From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dimitris Papastamos Date: Mon, 11 Oct 2010 11:16:03 +0000 Subject: Re: [patch] ASoC: checking kzalloc() for IS_ERR() instead of NULL Message-Id: <1286795763.4614.3.camel@dplaptop> List-Id: References: <20101009193131.GA5851@bicker> In-Reply-To: <20101009193131.GA5851@bicker> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: alsa-devel@alsa-project.org, Takashi Iwai , Mark Brown , kernel-janitors@vger.kernel.org, Ian Lartey , Liam Girdwood 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 > Thanks for noticing this. Acked-by: Dimitris Papastamos