From: Takashi Iwai Subject: Re: [GIT PULL] ASoC updates for v3.18 Date: Tue, 07 Oct 2014 20:07:38 +0200 Message-ID: References: <20141006115105.GL4609@sirena.org.uk> <20141007171436.GA23707@sirena.org.uk> 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 mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 05E5526041B for ; Tue, 7 Oct 2014 20:07:40 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Fabio Estevam Cc: Fabio Estevam , "alsa-devel@alsa-project.org" , Liam Girdwood , Xiubo Li , Sachin Kamat , Timur Tabi , Nicolin Chen , Mark Brown , Sean Cross List-Id: alsa-devel@alsa-project.org At Tue, 7 Oct 2014 14:53:12 -0300, Fabio Estevam wrote: > > Hi Mark/Takashi, > > On Tue, Oct 7, 2014 at 2:14 PM, Mark Brown wrote: > > On Mon, Oct 06, 2014 at 02:37:53PM +0200, Takashi Iwai wrote: > >> Mark Brown wrote: > > > >> However, this resulted in a few new build warnings, and some of them > >> look correctly reported. > > > >> * sound/soc/codecs/mc13783.c:787:13: warning: 'np' may be used uninitialized in this function [-Wuninitialized] > > > >> The call of_node_put(np) is done unconditionally even for non-NULL > >> pdata where np isn't initialized. This may lead to a real crash. > > Calling of_node_put() with NULL as an argument does not cause crashes. > Please check: > http://patchwork.ozlabs.org/patch/377930/ Unless np is uninitialized, it points to a random address. Takashi