From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga01.intel.com ([192.55.52.88]:37851 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756523Ab2GYLnn (ORCPT ); Wed, 25 Jul 2012 07:43:43 -0400 Date: Wed, 25 Jul 2012 19:05:23 +0800 From: Fengguang Wu To: Hauke Mehrtens Cc: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , LKML , linux-wireless@vger.kernel.org Subject: bcma_bus_scan/bcma_bus_scan_early: missing iounmap Message-ID: <20120725110523.GA24514@localhost> (sfid-20120725_134416_395413_82346E21) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: 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