From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752634Ab2GZPst (ORCPT ); Thu, 26 Jul 2012 11:48:49 -0400 Received: from server19320154104.serverpool.info ([193.201.54.104]:60866 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005Ab2GZPss (ORCPT ); Thu, 26 Jul 2012 11:48:48 -0400 Message-ID: <501166D5.2040007@hauke-m.de> Date: Thu, 26 Jul 2012 17:48:37 +0200 From: Hauke Mehrtens User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Fengguang Wu CC: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , LKML , linux-wireless@vger.kernel.org Subject: Re: bcma_bus_scan/bcma_bus_scan_early: missing iounmap References: <20120725110523.GA24514@localhost> In-Reply-To: <20120725110523.GA24514@localhost> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/25/2012 01:05 PM, Fengguang Wu wrote: > Hi Hauke, > > The coccinelle static checker emits these warnings: > > drivers/bcma/scan.c:466:3-9: ERROR: missing iounmap; ioremap on line 451 and execution via conditional on line 465 > drivers/bcma/scan.c:540:3-9: ERROR: missing iounmap; ioremap on line 515 and execution via conditional on line 539 > > It seems we need to change the return statements to goto/break statements. > > Thanks, > Fengguang Hi Fengguang, Thanks for the hint on this problem, I just sent a patch to fix this to John Linville and the linux-wireless mailing list. Hauke