From: Ian Campbell Subject: Re: [PATCH v2] xen/serial: Don't leak memory mapping if the serial initialization has failed Date: Fri, 21 Mar 2014 14:14:22 +0000 Message-ID: <1395411262.19839.98.camel@kazak.uk.xensource.com> References: <1392833230-28706-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WR0DL-0006wB-IE for xen-devel@lists.xenproject.org; Fri, 21 Mar 2014 14:14:27 +0000 In-Reply-To: <1392833230-28706-1-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-02-19 at 18:07 +0000, Julien Grall wrote: > The memory mapping is leaking when the serial driver failed to retrieve "leaked" > the IRQ. We can safely move the call to ioremap after. > > Also use ioremap_cache instead of ioremap_attr in some serial drivers. > > Signed-off-by: Julien Grall > > --- > > Ian, I have dropped your ack because the patch fundamentaly changed. Apart from the grammar nit you can reinstate it now, I've rereviewed. You didn't CC Keir BTW.