From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754460AbdLLNeG (ORCPT ); Tue, 12 Dec 2017 08:34:06 -0500 Received: from foss.arm.com ([217.140.101.70]:44002 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753729AbdLLNeE (ORCPT ); Tue, 12 Dec 2017 08:34:04 -0500 Date: Tue, 12 Dec 2017 13:34:00 +0000 From: Mark Rutland To: Cornelia Huck Cc: linux-kernel@vger.kernel.org, "Michael S . Tsirkin" , weiping zhang , virtualization@lists.linux-foundation.org Subject: Re: [PATCH] virtio_mmio: fix devm cleanup Message-ID: <20171212133400.4qzfkp5wcrtuwxz6@lakrids.cambridge.arm.com> References: <20171212125302.6846-1-mark.rutland@arm.com> <20171212140952.64d7908a.cohuck@redhat.com> <20171212132902.t5vxs2yujsth2v2h@lakrids.cambridge.arm.com> <20171212143148.4a022816.cohuck@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171212143148.4a022816.cohuck@redhat.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 12, 2017 at 02:31:48PM +0100, Cornelia Huck wrote: > On Tue, 12 Dec 2017 13:29:02 +0000 > Mark Rutland wrote: > > > On Tue, Dec 12, 2017 at 02:09:52PM +0100, Cornelia Huck wrote: > > > > Shouldn't the cleanup in _remove() then be removed as well? > > > > Ah, I'd missed that. > > > > I believe that can be removed, yes. > > > > Should I spin a v2 with that folded in? > > I think it has the same devm_ioremap vs. iounmap discrepancy, so it > should probably be folded in. Ah, yes. I'll spin a v2 now. Thanks, Mark.