From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [patch] ASoC: checking kzalloc() for IS_ERR() instead of NULL Date: Sun, 10 Oct 2010 14:36:37 +0100 Message-ID: <1286717797.3429.20.camel@odin> References: <20101009193131.GA5851@bicker> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f179.google.com (mail-wy0-f179.google.com [74.125.82.179]) by alsa0.perex.cz (Postfix) with ESMTP id 40E25244C8 for ; Sun, 10 Oct 2010 15:36:42 +0200 (CEST) Received: by wyb32 with SMTP id 32so1179810wyb.38 for ; Sun, 10 Oct 2010 06:36:42 -0700 (PDT) In-Reply-To: <20101009193131.GA5851@bicker> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Dan Carpenter Cc: Dimitris Papastamos , alsa-devel@alsa-project.org, Takashi Iwai , Mark Brown , kernel-janitors@vger.kernel.org, Ian Lartey List-Id: alsa-devel@alsa-project.org 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 > Acked-by: Liam Girdwood -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Date: Sun, 10 Oct 2010 13:36:37 +0000 Subject: Re: [patch] ASoC: checking kzalloc() for IS_ERR() instead of NULL Message-Id: <1286717797.3429.20.camel@odin> 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: Dimitris Papastamos , alsa-devel@alsa-project.org, Takashi Iwai , Mark Brown , kernel-janitors@vger.kernel.org, Ian Lartey 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 > Acked-by: Liam Girdwood -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk