From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Date: Tue, 24 Jan 2012 20:36:17 +0000 Subject: Re: [PATCH 1/15] sound/soc/mxs/mxs-saif.c: add missing iounmap Message-Id: List-Id: References: <1326362117-29371-1-git-send-email-Julia.Lawall@lip6.fr> <7FE21149F4667147B645348EC605788508FBDB@039-SN2MPN1-013.039d.mgd.msft.net> <20120124202203.GD1135@opensource.wolfsonmicro.com> In-Reply-To: <20120124202203.GD1135@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Mark Brown Cc: "alsa-devel@alsa-project.org" , Takashi Iwai , "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Julia Lawall , Dong Aisheng-B29396 , Liam Girdwood On Tue, 24 Jan 2012, Mark Brown wrote: > On Tue, Jan 24, 2012 at 06:29:13PM +0100, Julia Lawall wrote: > >> if (IS_ERR(saif->clk)) { >> - ret = PTR_ERR(saif->clk); >> dev_err(&pdev->dev, "Cannot get the clock: %d\n", >> ret); >> - goto failed_clk; >> + return PTR_ERR(saif->clk); > > Looks like the transformation is overly enthusiastic here - the > assignment to ret is removed but ret is used in the log message. Uh, no, I did that stupid thing by hand. I'll fix it. Thanks. julia