Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753297Ab0HDHze (ORCPT ); Wed, 4 Aug 2010 03:55:34 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:36546 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750699Ab0HDHzd (ORCPT ); Wed, 4 Aug 2010 03:55:33 -0400 Date: Wed, 4 Aug 2010 08:55:30 +0100 From: Mark Brown To: Axel Lin Cc: linux-kernel , Samuel Ortiz Subject: Re: [PATCH] wm8994-core: fix wm8994_device_init() return value Message-ID: <20100804075530.GB22446@rakim.wolfsonmicro.main> References: <1280886287.31990.1.camel@mola> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1280886287.31990.1.camel@mola> X-Cookie: Colorless green ideas sleep furiously. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 542 Lines: 13 On Wed, Aug 04, 2010 at 09:44:47AM +0800, Axel Lin wrote: > wm8994_device_init() will return 0 in the case of kzalloc fail > in current implementation. > This patch fixes the return value. > Signed-off-by: Axel Lin Acked-by: Mark Brown -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/