Re: bcma_bus_scan/bcma_bus_scan_early: missing iounmap

From: Hauke Mehrtens
Date: Thu Jul 26 2012 - 11:48:41 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/