From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: tlv320aic3x - fix variable may be used uninitialized warning Date: Thu, 25 Nov 2010 21:47:41 +0000 Message-ID: <20101125214741.GB26792@opensource.wolfsonmicro.com> References: <1290609659.2749.2.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 82284103C7E for ; Thu, 25 Nov 2010 22:47:32 +0100 (CET) Content-Disposition: inline In-Reply-To: <1290609659.2749.2.camel@phoenix> 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: Axel Lin Cc: vbarinov@embeddedalley.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Liam Girdwood List-Id: alsa-devel@alsa-project.org On Wed, Nov 24, 2010 at 10:40:59PM +0800, Axel Lin wrote: > If aic3x_read failed , val is used uninitialized. > Fix it by initializing val to 0. I applied this one too after Liam's ack (via IM), thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828Ab0KYVre (ORCPT ); Thu, 25 Nov 2010 16:47:34 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:60928 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752311Ab0KYVrc (ORCPT ); Thu, 25 Nov 2010 16:47:32 -0500 Date: Thu, 25 Nov 2010 21:47:41 +0000 From: Mark Brown To: Axel Lin Cc: linux-kernel@vger.kernel.org, Liam Girdwood , vbarinov@embeddedalley.com, alsa-devel@alsa-project.org Subject: Re: [PATCH] ASoC: tlv320aic3x - fix variable may be used uninitialized warning Message-ID: <20101125214741.GB26792@opensource.wolfsonmicro.com> References: <1290609659.2749.2.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290609659.2749.2.camel@phoenix> X-Cookie: Bridge ahead. Pay troll. 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 On Wed, Nov 24, 2010 at 10:40:59PM +0800, Axel Lin wrote: > If aic3x_read failed , val is used uninitialized. > Fix it by initializing val to 0. I applied this one too after Liam's ack (via IM), thanks.