From: Takashi Iwai Subject: Re: [PATCH][ASoC V2] Fix null-pointer dereference in soc_create_pcm() Date: Wed, 21 May 2008 12:36:40 +0200 Message-ID: References: <1211237159-26546-1-git-send-email-timur@freescale.com> <20080520113130.GA32249@rakim.wolfsonmicro.main> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 50C7324501 for ; Wed, 21 May 2008 12:36:41 +0200 (CEST) In-Reply-To: <20080520113130.GA32249@rakim.wolfsonmicro.main> 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: Mark Brown Cc: alsa-devel@alsa-project.org, Timur Tabi List-Id: alsa-devel@alsa-project.org At Tue, 20 May 2008 12:31:30 +0100, Mark Brown wrote: > > On Mon, May 19, 2008 at 05:45:59PM -0500, Timur Tabi wrote: > > When soc_create_pcm() finds all four components it needs, it displays a status > > message. This message references the local variables 'codec_dai' and > > 'cpu_dai', but these variables are initialized only when the codec DAI and the > > cpu DAI are the last to be registered. This patch changes the code to use the > > stored values instead of the local variables. > > Thanks, applied. This looks applicable to the upstream tree... Shouldn't it be fixed as well? thanks, Takashi