Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4388807pxb; Tue, 26 Jan 2021 21:59:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMRJWtNC4/1K1yTEfVY+c3usIGISEClP3SHZDY0W5yC8A16wBFcjN6N8WN9erPLc3iA1ME X-Received: by 2002:a05:6402:10ce:: with SMTP id p14mr5407052edu.261.1611727174609; Tue, 26 Jan 2021 21:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611727174; cv=none; d=google.com; s=arc-20160816; b=oHM8cr/Tpm75IV0WE0VCUaAH15KtEDs1I0ZTnzYGJNWV/New3PpEtaIls0iDWQJFdM OV0UzzCzfe87ZcQuRjHtPSi0e1nO7snft6RW/6zMoAVjahp3tRNSxJ7Eg8VbxE/pPh5n eaCIJ5IxLZAcfNHAm8pk2TfTq6B7zPIQYrKa8Wc5tVqNCWXDpI4FfzbztmqVqogCL3Jf xW0e5y1ds30HQ9oG3ADhdjTm/8KVTmDaQH8oWvtHV1EPda1Kdun3Mhf1XqJ7u8HuJzoh khIc3H1JYa5Py6XLn5KOYqXhvuG+OrXIuzZi3ajaxfjpHZyO7DzeQ53TSTGFuHk0KY7u 2ziA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=85oaiR+uZ0iPz1DmC2QzXWXpTOuXSzGiWvjxjYfBEIU=; b=ypJ15ZG4BvPAtBBBl3xv5Bb3ij8486B/svqjwEff2qy5/c/Ksr8FXAxYdFCS5LFMnT 11w022MxTsycjf+VfMoyWiWhYmN0by7Efy3sYQonehSopdZRtg5qkUmotlcqP3fzRwvM XcEb8x/R+EjTMo1fp/44p5jNToKqBBsuehWPYbJ59+nD60DlXvdj6NIHj/cy25OkGmgE zH+27qsWMH58wcNSc8cCf028dPjRuWDUytuAVIHz+becSB86FyUbAkkzEv3xyq/X/Vn+ bCf2QCISwrYkR1ubzrJ+SsCWilMiQZu+kfoZkuDnWp/nbMj5p9BVjv6GZC2RatorcW4Z XkCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si451841edi.144.2021.01.26.21.59.08; Tue, 26 Jan 2021 21:59:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392972AbhAZRlg (ORCPT + 99 others); Tue, 26 Jan 2021 12:41:36 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:3367 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728661AbhAZIHF (ORCPT ); Tue, 26 Jan 2021 03:07:05 -0500 X-Originating-IP: 90.2.82.147 Received: from windsurf.home (aputeaux-654-1-223-147.w90-2.abo.wanadoo.fr [90.2.82.147]) (Authenticated sender: thomas.petazzoni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 8D4A8240016; Tue, 26 Jan 2021 08:05:25 +0000 (UTC) Date: Tue, 26 Jan 2021 09:05:25 +0100 From: Thomas Petazzoni To: Chris Packham Cc: "akpm@linux-foundation.org" , "rppt@kernel.org" , "arnd@arndb.de" , "jason@lakedaemon.net" , "linux-kernel@vger.kernel.org" , =?UTF-8?B?R3LDqWdvcnk=?= Clement Subject: Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap() Message-ID: <20210126090525.4d085080@windsurf.home> In-Reply-To: <7c0fd747-3ea1-2aa1-0c05-12ae4477a860@alliedtelesis.co.nz> References: <20201112032149.21906-1-chris.packham@alliedtelesis.co.nz> <20201112090202.638c0c13@windsurf> <7c0fd747-3ea1-2aa1-0c05-12ae4477a860@alliedtelesis.co.nz> Organization: Bootlin X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Jan 2021 01:48:23 +0000 Chris Packham wrote: > Hi All, > > On 12/11/20 9:02 pm, Thomas Petazzoni wrote: > > On Thu, 12 Nov 2020 16:21:49 +1300 > > Chris Packham wrote: > > > >> make coccicheck complains: > >> > >> ./drivers/bus/mvebu-mbus.c:1113:2-8: ERROR: missing iounmap; ioremap on line 1106 and execution via conditional on line 1111 > >> > >> It took some staring but I don't think there is a problem because the > >> file global `mbus_state` is passed mvebu_mbus_common_init() as the > >> `mbus` parameter so `mbus_state.mbuswins_base` and `mbus->mbuswins_base` > >> are the same thing. But this is confusing for anyone reading the code > >> and one less complaint from coccicheck would be nice so lets fix it. > >> > >> Signed-off-by: Chris Packham > > Acked-by: Thomas Petazzoni > > Just going through some old branches. This doesn't seem to have been > picked up. Have I missed a maintainer? +Gregory Clement in Cc. Greg, the original patch from Chris is touching drivers/bus/mvebu-mbus.c, so I think you should be taking that patch. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com