lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 12 Nov 2020 09:02:02 +0100
From:   Thomas Petazzoni <thomas.petazzoni@...tlin.com>
To:     Chris Packham <chris.packham@...iedtelesis.co.nz>
Cc:     akpm@...ux-foundation.org, rppt@...nel.org,
        thomas.petazzoni@...e-electrons.com, arnd@...db.de,
        jason@...edaemon.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with
 ioremap()

On Thu, 12 Nov 2020 16:21:49 +1300
Chris Packham <chris.packham@...iedtelesis.co.nz> 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 <chris.packham@...iedtelesis.co.nz>

Acked-by: Thomas Petazzoni <thomas.petazzoni@...tlin.com>

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ